# SNESGetFunctionNorm

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

### Synopsis

    #include "petscsnes.h"
    PetscErrorCode PETSCSNES_DLLEXPORT SNESGetFunctionNorm(SNES snes,PetscScalar *fnorm)

Collective on SNES

### Input Parameter

snes -SNES context

### Output Parameter

fnorm -2-norm of function

### Keywords

SNES, nonlinear, get, function, norm

### See Also

SNESGetFunction()

Level:intermediate
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/ex27.c.html
src/snes/examples/tutorials/ex29.c.html