:orphan: # TSPseudoVerifyTimeStep Verifies whether the last timestep was acceptable. ## Synopsis ``` #include "petscts.h" PetscErrorCode TSPseudoVerifyTimeStep(TS ts, Vec update, PetscReal *dt, PetscBool *flag) ``` Collective ## Input Parameters - ***ts -*** timestep context - ***update -*** latest solution vector ## Output Parameters - ***dt -*** newly computed timestep (if it had to shrink) - ***flag -*** indicates if current timestep was ok ## Notes The routine to be called here to compute the timestep should be set by calling `TSPseudoSetVerifyTimeStep()`. ## See Also [](ch_ts), `TSPSEUDO`, `TSPseudoSetVerifyTimeStep()`, `TSPseudoVerifyTimeStepDefault()` ## Level advanced ## Location src/ts/impls/pseudo/posindep.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)