TSGetSNESFailures#
Gets the total number of failed SNESSolve() calls over all previous timesteps
Synopsis#
#include "petscts.h"
PetscErrorCode TSGetSNESFailures(TS ts, PetscInt *fails)
Not Collective
Input Parameter#
ts -
TScontext
Output Parameter#
fails - number of failed nonlinear solves
Notes#
This counter is reset to zero when TSSolve() starts at step number zero and when TSAdjointSolve() starts.
It accumulates over successive TSSolve() calls that continue a run, for example with TSSetRunSteps().
Except with TSGLLE, it does not count SNESSolve() failures with reason SNES_DIVERGED_FUNCTION_DOMAIN.
See Also#
TS: Scalable ODE and DAE Solvers, TS, TSSolve(), TSGetSNESIterations(), TSGetKSPIterations(), TSSetMaxStepRejections(), TSGetStepRejections(), TSSetMaxSNESFailures()
Level#
intermediate
Location#
Examples#
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages