petsc-3.14.6 2021-03-30
Report Typos and Errors

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 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.

See Also

TSPseudoSetVerifyTimeStep(), TSPseudoVerifyTimeStep()

Level

advanced

Location

src/ts/impls/pseudo/posindep.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages