SNESTestLocalMin#

Diagnostic that probes each entry of the current SNES solution to check whether the residual norm has a local minimum along the coordinate directions

Synopsis#

#include "petscsnes.h"  
#include "petscsnes.h"  
PetscErrorCode SNESTestLocalMin(SNES snes)

Collective

Input Parameter#

  • snes - the SNES context

Note#

Currently intended for serial runs. For each degree of freedom it perturbs the solution by increasing amounts and prints the resulting SNESComputeFunction() residual norms so the user can inspect local behavior.

See Also#

SNES: Nonlinear Solvers, SNES, SNESSolve(), SNESComputeFunction()

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