:orphan:
# TSAdaptReset
Resets a `TSAdapt` context to its defaults
## Synopsis
```
#include "petscts.h"
PetscErrorCode TSAdaptReset(TSAdapt adapt)
```
Collective
## Input Parameter
- ***adapt -*** the `TSAdapt` context obtained from `TSGetAdapt()` or `TSAdaptCreate()`
## See Also
[](ch_ts), `TSGetAdapt()`, `TSAdapt`, `TSAdaptCreate()`, `TSAdaptDestroy()`
## Level
developer
## Location
src/ts/adapt/interface/tsadapt.c
## Implementations
TSAdaptReset_GLEE in src/ts/adapt/impls/glee/adaptglee.c
TSAdaptReset_History in src/ts/adapt/impls/history/adapthist.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/adapt/interface/tsadapt.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)