:orphan: # TSTrajectorySetMaxCpsDisk Set maximum number of checkpoints on disk ## Synopsis ``` #include "petscts.h" PetscErrorCode TSTrajectorySetMaxCpsDisk(TSTrajectory tj, PetscInt max_cps_disk) ``` Logically Collective ## Input Parameter - ***tj -*** tstrajectory context ## Output Parameter - ***max_cps_disk -*** maximum number of checkpoints on disk ## See Also [](ch_ts), `TSTrajectory`, `TSTrajectorySetMaxUnitsDisk()`, `TSTrajectorySetMaxUnitsRAM()` ## Level intermediate ## Location src/ts/trajectory/impls/memory/trajmemory.c ## Implementations TSTrajectorySetMaxCpsDisk_Memory in src/ts/trajectory/impls/memory/trajmemory.c
--- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)