TSSetMaxSteps#
Sets the maximum number of steps to use.
Synopsis#
#include "petscts.h"
PetscErrorCode TSSetMaxSteps(TS ts, PetscInt maxsteps)
Logically Collective
Input Parameters#
Options Database Key#
-ts_max_steps
- Sets maxsteps
Note#
The default maximum number of steps is 5000
See Also#
TS: Scalable ODE and DAE Solvers, TS
, TSGetMaxSteps()
, TSSetMaxTime()
, TSSetExactFinalTime()
Level#
intermediate
Location#
Examples#
src/ts/tutorials/ex42.c
src/ts/tutorials/ex5.c
src/ts/tutorials/ex74.c
src/ts/tutorials/ex18.c
src/ts/tutorials/ex50.c
src/ts/tutorials/ex30.c
src/ts/tutorials/ex21.c
src/ts/tutorials/ex4.c
src/ts/tutorials/ex29.c
src/ts/tutorials/ex35.cxx
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages