TSPseudoVerifyTimeStep

Verifies whether the last timestep was acceptable.

Synopsis

int TSPseudoVerifyTimeStep(TS ts,Vec update,double *dt,int *flag)

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

Collective on TS

Notes

The routine to be called here to compute the timestep should beset by calling TSPseudoSetVerifyTimeStep().

Keywords

timestep, pseudo, verify

See Also

TSPseudoSetVerifyTimeStep(), TSPseudoDefaultVerifyTimeStep()

Location: src/ts/impls/pseudo/posindep.c
Time Stepping
Table of Contents