# 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
 [](chapter_ts), `TS`, `TSTrajectory`, `TSTrajectoryCreate()`, `TSTrajectorySetUp()`

## Level
developer

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

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/trajectory/impls/memory/trajmemory.c.html#TSTrajectoryReset_Memory">TSTrajectoryReset_Memory in src/ts/trajectory/impls/memory/trajmemory.c</A><BR>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
