petsc-3.14.6 2021-03-30
Report Typos and Errors

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

SNESNormSchedule, SNESSetNormSchedule(), SNES_NORM_FINAL_ONLY, SNES_NORM_INITIAL_FINAL_ONLY

Level

advanced

Location

src/snes/../../include/petscsnes.h
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages