:orphan: # SNESGetUpdateNorm Gets the last computed norm of the solution update ## Synopsis ``` #include "petscsnes.h" PetscErrorCode SNESGetUpdateNorm(SNES snes, PetscReal *ynorm) ``` Not Collective ## Input Parameter - ***snes -*** the `SNES` context ## Output Parameter - ***ynorm -*** the last computed update norm ## Note The new solution is the current solution plus the update, so this norm is an indication of the size of the update ## See Also [](ch_snes), `SNES`, `SNESSetNormSchedule()`, `SNESComputeFunction()`, `SNESGetFunctionNorm()` ## Level developer ## Location src/snes/interface/snes.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/interface/snes.c) [Index of all SNES routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)