:orphan:
# TSTrajectoryReset
Resets a trajectory context
## Synopsis
```
#include "petscts.h"
PetscErrorCode TSTrajectoryReset(TSTrajectory tj)
```
Collective
## Input Parameter
- ***tj -*** the `TSTrajectory` context obtained from `TSGetTrajectory()`
## See Also
[](ch_ts), `TS`, `TSTrajectory`, `TSTrajectoryCreate()`, `TSTrajectorySetUp()`
## Level
developer
## Location
src/ts/trajectory/interface/traj.c
## Implementations
TSTrajectoryReset_Memory in src/ts/trajectory/impls/memory/trajmemory.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/trajectory/interface/traj.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)