SNESSetNGS#
Sets the user nonlinear Gauss-Seidel routine for use with composed nonlinear solvers.
Synopsis#
#include "petscsnes.h"
PetscErrorCode SNESSetNGS(SNES snes, SNESNGSFn *f, void *ctx)
Input Parameters#
Note#
The SNESNGS
routines are used by the composed nonlinear solver to generate
a problem appropriate update to the solution, particularly SNESFAS
.
See Also#
SNES: Nonlinear Solvers, SNESNGS
, SNESGetNGS()
, SNESNCG
, SNESGetFunction()
, SNESComputeNGS()
, SNESNGSFn
Level#
intermediate
Location#
Examples#
src/snes/tutorials/ex19.c
src/snes/tutorials/ex15.c
src/snes/tutorials/ex55.c
src/snes/tutorials/ex5.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages