petsc-3.5.4 2015-05-23
Report Typos and Errors

TSGetSNESFailures

Gets the total number of failed SNES solves

Synopsis

#include "petscts.h"  
PetscErrorCode TSGetSNESFailures(TS ts,PetscInt *fails)
Not Collective

Input Parameter

ts - TS context

Output Parameter

fails - number of failed nonlinear solves

Notes

This counter is reset to zero for each successive call to TSSolve().

Keywords

TS, get, number

See Also

TSGetSNESIterations(), TSGetKSPIterations(), TSSetMaxStepRejections(), TSGetStepRejections(), TSSetMaxSNESFailures()

Level:intermediate
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/ex8.c.html