TSGetSolveTime#

Gets the time after a call to TSSolve()

Synopsis#

#include "petscts.h"  
PetscErrorCode TSGetSolveTime(TS ts, PetscReal *ftime)

Not Collective

Input Parameter#

  • ts - the TS context

Output Parameter#

  • ftime - the final time. This time corresponds to the final time set with TSSetMaxTime()

Note#

Can only be called after the call to TSSolve() is complete.

See Also#

TS: Scalable ODE and DAE Solvers, TS, TSSolve(), TSConvergedReason

Level#

beginner

Location#

src/ts/interface/ts.c

Examples#

src/ts/tutorials/extchemfield.c
src/ts/tutorials/ex42.c
src/ts/tutorials/ex34.c
src/ts/tutorials/ex26.c
src/ts/tutorials/ex18.c
src/ts/tutorials/ex5.c
src/ts/tutorials/ex9.c
src/ts/tutorials/ex19.c
src/ts/tutorials/ex20fwd.c
src/ts/tutorials/ex1.c


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