:orphan:
# TSAdaptCandidatesGet
Get the list of candidate orders of accuracy and cost 
## Synopsis
```
#include "petscts.h" 
PetscErrorCode TSAdaptCandidatesGet(TSAdapt adapt, PetscInt *n, const PetscInt **order, const PetscInt **stageorder, const PetscReal **ccfl, const PetscReal **cost)
```
Not Collective


## Input Parameter

- ***adapt -*** time step adaptivity context



## Output Parameters

- ***n -*** number of candidate schemes, always at least 1
- ***order -*** the order of each candidate scheme
- ***stageorder -*** the stage order of each candidate scheme
- ***ccfl -*** the CFL coefficient of each scheme
- ***cost -*** the relative cost of each scheme





## Note
The current scheme is always returned in the first slot


## See Also
 [](ch_ts), `TSAdapt`, `TSAdaptCandidatesClear()`, `TSAdaptCandidateAdd()`, `TSAdaptChoose()`

## Level
developer

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


---
[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)  
