TSAdaptSetStepLimits#
Set the minimum and maximum step sizes to be considered by the controller
Synopsis#
#include "petscts.h"
PetscErrorCode TSAdaptSetStepLimits(TSAdapt adapt, PetscReal hmin, PetscReal hmax)
Logically collective on TSAdapt
Input Parameters#
adapt - time step adaptivity context, usually gotten with TSGetAdapt()
hmin - minimum time step
hmax - maximum time step
Options Database Keys#
-ts_adapt_dt_min
- to set minimum time step-ts_adapt_dt_max
- to set maximum time step
See Also#
Level#
intermediate
Location#
Examples#
src/ts/tutorials/ex40.c.html
src/ts/tutorials/ex41.c.html
src/ts/tutorials/ex44.c.html
src/ts/tutorials/extchem.c.html
src/ts/tutorials/extchemfield.c.html
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages