TSGetTimeStep#
Gets the current timestep size.
Synopsis#
#include "petscts.h"
PetscErrorCode TSGetTimeStep(TS ts, PetscReal *dt)
Not Collective
Input Parameter#
Output Parameter#
dt - the current timestep size
See Also#
TS: Scalable ODE and DAE Solvers, TS
, TSSetTimeStep()
, TSGetTime()
Level#
intermediate
Location#
Examples#
src/ts/tutorials/ex10.c.html
src/ts/tutorials/ex16.c.html
src/ts/tutorials/ex16fwd.c.html
src/ts/tutorials/ex19.c.html
src/ts/tutorials/ex20.c.html
src/ts/tutorials/ex20adj.c.html
src/ts/tutorials/ex20fwd.c.html
src/ts/tutorials/ex20opt_ic.c.html
src/ts/tutorials/ex20opt_p.c.html
src/ts/tutorials/ex23fwdadj.c.html
src/ts/tutorials/ex24.c.html
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages