:orphan:
# 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 Parameter

- ***ts -*** time integration context



## Output Parameters

- ***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





## See Also
 [](ch_ts), `TS`, `TSAdapt`, `TSErrorWeightedNorm()`, `TSSetTolerances()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/interface/ts.c.html#TSGetTolerances">src/ts/interface/ts.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/interface/ts.c)


[Index of all TS routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
