#include "petscts.h" PetscErrorCode TSAdaptSetStepLimits(TSAdapt adapt,PetscReal hmin,PetscReal hmax)Logically collective on TSAdapt
adapt | - time step adaptivity context, usually gotten with TSGetAdapt() | |
hmin | - minimum time step | |
hmax | - maximum time step |
-ts_adapt_dt_min <min> | - to set minimum time step | |
-ts_adapt_dt_max <max> | - to set maximum time step |