petsc-3.9.2 2018-05-20
Report Typos and Errors

TSSetMaxSteps

Sets the maximum number of steps to use.

Synopsis

#include "petscts.h"  
PetscErrorCode TSSetMaxSteps(TS ts,PetscInt maxsteps)
Logically Collective on TS

Input Parameters

ts - the TS context obtained from TSCreate()
maxsteps - maximum number of steps to use

Options Database Keys

-ts_max_steps <maxsteps> -Sets maxsteps

Notes

The default maximum number of steps is 5000

Keywords

TS, timestep, set, maximum, steps

See Also

TSGetMaxSteps(), TSSetMaxTime(), TSSetExactFinalTime()

Level

intermediate

Location

src/ts/interface/ts.c

Examples

src/ts/examples/tutorials/ex1.c.html
src/ts/examples/tutorials/ex2.c.html
src/ts/examples/tutorials/ex3.c.html
src/ts/examples/tutorials/ex4.c.html
src/ts/examples/tutorials/ex5.c.html
src/ts/examples/tutorials/ex6.c.html
src/ts/examples/tutorials/ex11.c.html
src/ts/examples/tutorials/ex21.c.html
src/ts/examples/tutorials/ex24.c.html
src/ts/examples/tutorials/ex26.c.html
src/ts/examples/tutorials/ex31.c.html

Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages