TSSetTimeStep#
Allows one to reset the timestep at any time.
Synopsis#
#include "petscts.h"
PetscErrorCode TSSetTimeStep(TS ts, PetscReal time_step)
Logically Collective
Input Parameters#
Options Database Key#
-ts_time_step
- -
provide the initial time step
Notes#
This is only a suggestion, the actual initial time step used may differ
If this is called after TSSetUp(), it will not change the initial time step value printed by TSView()
See Also#
TS: Scalable ODE and DAE Solvers, TS, TSPSEUDO, TSGetTimeStep(), TSSetTime()
Level#
intermediate
Location#
Examples#
src/ts/tutorials/ex22f.F90
src/ts/tutorials/ex3.c
src/ts/tutorials/ex35.cxx
src/ts/tutorials/ex22.c
src/ts/tutorials/ex13.c
src/ts/tutorials/ex17.c
src/tao/unconstrained/tutorials/spectraladjointassimilation.c
src/ts/tutorials/ex19.c
src/tao/unconstrained/tutorials/burgers_spectral.c
src/ts/tutorials/ex9.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages