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

TSAdaptSetTimeStepIncreaseDelay

The number of timesteps to wait after a decrease in the timestep due to failed solver before increasing the time step.

Synopsis

#include "petscts.h" 
PetscErrorCode TSAdaptSetTimeStepIncreaseDelay(TSAdapt adapt,PetscInt cnt)
Logicially Collective on TSAdapt

Input Arguments

adapt - adaptive controller context
cnt - the number of timesteps

Options Database Key

-ts_adapt_time_step_increase_delay cnt - number of steps to delay the increase

Notes: This is to prevent an adaptor from bouncing back and forth between two nearby timesteps. The default is 0. The successful use of this option is problem dependent

Developer Note: there is no theory to support this option

See Also


Level

advanced

Location

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