petsc-3.9.4 2018-09-11
Report Typos and Errors

SNESGetFunctionNorm

Gets the last computed norm of the residual

Synopsis

#include "petscsnes.h"  
PetscErrorCode SNESGetFunctionNorm(SNES snes, PetscReal *norm)
Not Collective

Input Parameter

snes -the SNES context

Output Parameter

norm -the last computed residual norm

Keywords

SNES, nonlinear, set, function, norm, type

See Also

SNESSetNormSchedule(), SNESComputeFunction(), VecNorm(), SNESSetFunction(), SNESSetInitialFunction(), SNESNormSchedule

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