:orphan: # SNES_NORM_INITIAL_ONLY Compute the function and its L2 at iteration 0, but do not update it. ## Notes This method is useful in composed methods, when a true solution might actually be found before `SNESSolve()` is called. This option enables the solve to abort on the zeroth iteration if this is the case. For solvers that require the computation of the L2 norm of the function as part of the method, this merely cancels the norm computation at the last iteration (if possible). ## See Also [](ch_snes), `SNESNormSchedule`, `SNES`, `SNESSetNormSchedule()`, `SNES_NORM_FINAL_ONLY`, `SNES_NORM_INITIAL_FINAL_ONLY` ## Level advanced ## Location include/petscsnes.h --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscsnes.h) [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)