petsc-3.14.5 2021-03-03
Report Typos and Errors

# SNESSetFunctionNorm

Sets the last computed residual norm.

### Synopsis

    #include "petscsnes.h"
    PetscErrorCode SNESSetFunctionNorm(SNES snes, PetscReal norm)

Logically Collective on SNES

### Input Parameters

| snes | - the SNES context

| normschedule | - the frequency of norm computation

### See Also

SNESGetNormSchedule(), 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