:orphan:
# TSGetCFLTime
Get the maximum stable time step according to CFL criteria applied to forward Euler 
## Synopsis
```
#include "petscts.h"  
PetscErrorCode TSGetCFLTime(TS ts, PetscReal *cfltime)
```
Collective


## Input Parameter

- ***ts -*** time stepping context



## Output Parameter

- ***cfltime -*** maximum stable time step for forward Euler





## See Also
 [](ch_ts), `TSSetCFLTimeLocal()`

## Level
advanced

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


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