TSSolve#

Steps the requested number of timesteps.

Synopsis#

#include "petscts.h"  
PetscErrorCode TSSolve(TS ts, Vec u)

Collective

Input Parameters#

Notes#

The final time returned by this function may be different from the time of the internally held state accessible by TSGetSolution() and TSGetTime() because the method may have stepped over the final time.

See Also#

TS: Scalable ODE and DAE Solvers, TS, TSCreate(), TSSetSolution(), TSStep(), TSGetTime(), TSGetSolveTime()

Level#

beginner

Location#

src/ts/interface/ts.c

Examples#

src/ts/utils/dmplexlandau/tutorials/ex1f90.F90
src/ts/tutorials/ex77.c
src/ts/utils/dmplexlandau/tutorials/ex2.c
src/ts/tutorials/ex20fwd.c
src/ts/tutorials/ex48.c
src/ts/tutorials/extchemfield.c
src/ts/tutorials/ex26.c
src/ts/utils/dmplexlandau/tutorials/ex1.c
src/ts/tutorials/ex32.c
src/ts/tutorials/ex51.c

Implementations#

TSSolve_GLLE() in src/ts/impls/implicit/glle/glle.c
TSSolve_Radau5() in src/ts/impls/implicit/radau5/radau5.c


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