petsc-3.7.1 2016-05-15
Report Typos and Errors

TSGetConvergedReason

Gets the reason the TS iteration was stopped.

Synopsis

#include "petscts.h"  
PetscErrorCode  TSGetConvergedReason(TS ts,TSConvergedReason *reason)
Not Collective Many br

Input Parameter

ts -the TS context Many br

Output Parameter

reason -negative value indicates diverged, positive value converged, see TSConvergedReason or the Many brmanual pages for the individual convergence tests for complete lists Many br

Many br

Notes

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

Keywords

TS, nonlinear, set, convergence, test

See Also

TSSetConvergenceTest(), TSConvergedReason

Level:beginner
Location:
src/ts/interface/ts.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ts/examples/tutorials/ex11.c.html
src/ts/examples/tutorials/ex22.c.html
src/ts/examples/tutorials/ex25.c.html
src/ts/examples/tutorials/ex26.c.html
src/ts/examples/tutorials/ex34.c.html
src/ts/examples/tutorials/ex35.cxx.html
src/ts/examples/tutorials/extchem.c.html
src/ts/examples/tutorials/ex1f.F.html