:orphan: # TSAdaptCreate create an adaptive controller context for time stepping ## Synopsis ``` #include "petscts.h" PetscErrorCode TSAdaptCreate(MPI_Comm comm, TSAdapt *inadapt) ``` Collective ## Input Parameter - ***comm -*** The communicator ## Output Parameter - ***adapt -*** new `TSAdapt` object ## Note `TSAdapt` creation is handled by `TS`, so users should not need to call this function. ## See Also [](ch_ts), `TSAdapt`, `TSGetAdapt()`, `TSAdaptSetType()`, `TSAdaptDestroy()` ## Level developer ## Location src/ts/adapt/interface/tsadapt.c ## Implementations TSAdaptCreate_Basic in src/ts/adapt/impls/basic/adaptbasic.c
TSAdaptCreate_CFL in src/ts/adapt/impls/cfl/adaptcfl.c
TSAdaptCreate_DSP in src/ts/adapt/impls/dsp/adaptdsp.c
TSAdaptCreate_GLEE in src/ts/adapt/impls/glee/adaptglee.c
TSAdaptCreate_History in src/ts/adapt/impls/history/adapthist.c
TSAdaptCreate_None in src/ts/adapt/impls/none/adaptnone.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)