petsc-3.6.1 2015-08-06
Report Typos and Errors

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 defaults to PETSC_TRUE

Keywords

SNES, nonlinear, set, reset, number, linear, iterations

See Also

SNESGetNumberFunctionEvals(), SNESGetLinearSolveIterations(), 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

Examples

src/snes/examples/tutorials/ex5.c.html