# TSTrajectoryMemorySetType
sets the software that is used to generate the checkpointing schedule. 
## Synopsis
```
#include "petscts.h"  
PetscErrorCode TSTrajectoryMemorySetType(TSTrajectory tj, TSTrajectoryMemoryType tj_memory_type)
```
Logically Collective


## Input Parameters

- ***tj -*** the `TSTrajectory` context
- ***tj_memory_type -*** Revolve or CAMS



## Options Database Key

- ***-ts_trajectory_memory_type <tj_memory_type> -*** petsc, revolve, cams





## See Also
 [](chapter_ts), `TSTrajectory`, `TSTrajectorySetMaxUnitsRAM()`, `TSTrajectoryMemoryType`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/trajectory/impls/memory/trajmemory.c.html#TSTrajectoryMemorySetType">src/ts/trajectory/impls/memory/trajmemory.c</A>

## Implementations

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/trajectory/impls/memory/trajmemory.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)  
