petsc-3.7.1 2016-05-15
Report Typos and Errors

TSAdaptCheckStage

checks whether to accept a stage, (e.g. reject and change time step size if nonlinear solve fails)

Synopsis

#include "petscts.h" 
PetscErrorCode TSAdaptCheckStage(TSAdapt adapt,TS ts,PetscReal t,Vec Y,PetscBool *accept)
Collective Many br

Input Arguments

adapt - adaptive controller context Many br
ts - time stepper Many br
t - Current simulation time Many br
Y - Current solution vector Many br

Output Arguments

accept -PETSC_TRUE to accept the stage, PETSC_FALSE to reject Many br

Many br

See Also


Level:developer
Location:
src/ts/adapt/interface/tsadapt.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages