#include "petscts.h" PetscErrorCode TSAdaptSetCheckStage(TSAdapt adapt,PetscErrorCode (*func)(TSAdapt,TS,PetscReal,Vec,PetscBool*))Logically collective on TSAdapt
adapt | - adaptive controller context | |
func | - stage check function |
PetscErrorCode func(TSAdapt adapt,TS ts,PetscBool *accept)
adapt | - adaptive controller context | |
ts | - time stepping context | |
accept | - pending choice of whether to accept, can be modified by this routine |