#include "petscts.h" PetscErrorCode TSAdaptChoose(TSAdapt adapt,TS ts,PetscReal h,PetscInt *next_sc,PetscReal *next_h,PetscBool *accept)Collective on TSAdapt
adapt | - adaptive contoller | |
ts | - time stepper | |
h | - current step size |
next_sc | - optional, scheme to use for the next step | |
next_h | - step size to use for the next step | |
accept | - PETSC_TRUE to accept the current step, PETSC_FALSE to repeat the current step with the new step size |