# TSPseudoVerifyTimeStepDefault
Default code to verify the quality of the last timestep. 
## Synopsis
```
#include "petscts.h"   
PetscErrorCode TSPseudoVerifyTimeStepDefault(TS ts, Vec update, void *dtctx, PetscReal *newdt, PetscBool *flag)
```
Collective


## Input Parameters

- ***ts -*** the timestep context
- ***dtctx -*** unused timestep context
- ***update -*** latest solution vector



## Output Parameters

- ***newdt -*** the timestep to use for the next step
- ***flag -*** flag indicating whether the last time step was acceptable





## Note
This routine always returns a flag of 1, indicating an acceptable
timestep.


## See Also
 [](chapter_ts), `TSPSEUDO`, `TSPseudoSetVerifyTimeStep()`, `TSPseudoVerifyTimeStep()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/pseudo/posindep.c.html#TSPseudoVerifyTimeStepDefault">src/ts/impls/pseudo/posindep.c</A>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
