SNESGetFunctionNorm

Gets the norm of the current function that was set with SNESSSetFunction().

Synopsis

int SNESGetFunctionNorm(SNES snes,Scalar *fnorm)
Collective on SNES

Input Parameter

snes -SNES context

Output Parameter

fnorm -2-norm of function

Note

SNESGetFunctionNorm() is valid for SNES_NONLINEAR_EQUATIONS methods only. A related routine for SNES_UNCONSTRAINED_MINIMIZATION methods isSNESGetGradientNorm().

Keywords

SNES, nonlinear, get, function, norm

See Also

SNESSetFunction()

Location: src/snes/interface/snes.c
SNES Index
Table of Contents