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()

Level: beginner

Notes

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

See Also

TSSetConvergenceTest(), TSConvergedReason

Location:ts.c