TSPseudoDefaultVerifyTimeStep

Default code to verify the quality of the last timestep.

Synopsis

#include "ts.h"   
int TSPseudoDefaultVerifyTimeStep(TS ts,Vec update,void *dtctx,double *newdt,int *flag)
Collective on TS

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.

Keywords

timestep, pseudo, default, verify

See Also

TSPseudoSetVerifyTimeStep(), TSPseudoVerifyTimeStep()

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