: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 src/ts/interface/ts.c --- [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)