SNESSetCountersReset#
Sets whether or not the counters for linear iterations and function evaluations are reset every time SNESSolve() is called.
Synopsis#
#include "petscsnes.h"
PetscErrorCode SNESSetCountersReset(SNES snes, PetscBool reset)
Logically Collective
Input Parameters#
snes -
SNEScontextreset - whether to reset the counters or not, defaults to
PETSC_TRUE
See Also#
SNESGetNumberFunctionEvals(), SNESGetLinearSolveIterations(), SNESGetNPC()
Level#
developer
Location#
Examples#
src/snes/tutorials/ex5.c.html
src/snes/tutorials/ex55.c.html
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages