# 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
 [](chapter_ts), `TSAdapt`, `TSGetAdapt()`, `TSAdaptSetType()`, `TSAdaptDestroy()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/adapt/interface/tsadapt.c.html#TSAdaptCreate">src/ts/adapt/interface/tsadapt.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/adapt/impls/basic/adaptbasic.c.html#TSAdaptCreate_Basic">TSAdaptCreate_Basic in src/ts/adapt/impls/basic/adaptbasic.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/adapt/impls/cfl/adaptcfl.c.html#TSAdaptCreate_CFL">TSAdaptCreate_CFL in src/ts/adapt/impls/cfl/adaptcfl.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/adapt/impls/dsp/adaptdsp.c.html#TSAdaptCreate_DSP">TSAdaptCreate_DSP in src/ts/adapt/impls/dsp/adaptdsp.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/adapt/impls/glee/adaptglee.c.html#TSAdaptCreate_GLEE">TSAdaptCreate_GLEE in src/ts/adapt/impls/glee/adaptglee.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/adapt/impls/history/adapthist.c.html#TSAdaptCreate_History">TSAdaptCreate_History in src/ts/adapt/impls/history/adapthist.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/adapt/impls/none/adaptnone.c.html#TSAdaptCreate_None">TSAdaptCreate_None in src/ts/adapt/impls/none/adaptnone.c</A><BR>


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