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

TSSetMaxSNESFailures

Sets the maximum number of failed SNES solves

Synopsis

#include "petscts.h"  
PetscErrorCode TSSetMaxSNESFailures(TS ts,PetscInt fails)
Not Collective Many br

Input Parameter

ts - TS context Many br
fails - maximum number of failed nonlinear solves, pass -1 for unlimited Many br

Notes

The counter is reset to zero for each successive call to TSSolve(). Many br

Options Database Key

. -ts_max_snes_failures - Maximum number of nonlinear solve failures Many br

Many br

Keywords

TS, set, maximum, number

See Also

TSGetSNESIterations(), TSGetKSPIterations(), TSSetMaxStepRejections(), TSGetStepRejections(), TSGetSNESFailures(), SNESGetConvergedReason(), TSGetConvergedReason()

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
src/ts/examples/tutorials/extchem.c.html