:orphan: # TSPseudoTimeStepDefault Default code to compute pseudo-timestepping. Use with `TSPseudoSetTimeStep()`. ## Synopsis ``` #include "petscts.h" PetscErrorCode TSPseudoTimeStepDefault(TS ts, PetscReal *newdt, void *dtctx) ``` Collective ## Input Parameters - ***ts -*** the timestep context - ***dtctx -*** unused timestep context ## Output Parameter - ***newdt -*** the timestep to use for the next step ## See Also [](ch_ts), `TSPseudoSetTimeStep()`, `TSPseudoComputeTimeStep()`, `TSPSEUDO` ## Level advanced ## Location src/ts/impls/pseudo/posindep.c ## Examples src/ts/tutorials/ex1.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/impls/pseudo/posindep.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)