TSGetTolerances

Get tolerances for local truncation error when using adaptive controller

Synopsis

#include "petscts.h"  
PetscErrorCode TSGetTolerances(TS ts,PetscReal *atol,Vec *vatol,PetscReal *rtol,Vec *vrtol)
Logically Collective

Input Arguments

ts - time integration context

Output Arguments

atol - scalar absolute tolerances, NULL to ignore
vatol - vector of absolute tolerances, NULL to ignore
rtol - scalar relative tolerances, NULL to ignore
vrtol - vector of relative tolerances, NULL to ignore

Level: beginner

See Also

TS, TSAdapt, TSErrorWeightedNorm(), TSSetTolerances()

Location:ts.c