petsc-3.5.4 2015-05-23
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 on SNES
Input Parameter
| snes | - SNES context
|
| reset | - whether to reset the counters or not
|
Notes
This is automatically called with FALSE
Keywords
SNES, nonlinear, set, reset, number, linear, iterations
See Also
SNESGetNumberFunctionEvals(), SNESGetNumberLinearSolveIterations(), SNESGetNPC()
Level:developer
Location:src/snes/interface/snes.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages