petsc-3.14.6 2021-03-30
SNESComputeNGS
Calls the Gauss-Seidel function that has been set with SNESSetNGS().
Synopsis
#include "petscsnes.h"
PetscErrorCode SNESComputeNGS(SNES snes,Vec b,Vec x)
Collective on SNES
Input Parameters
| snes | - the SNES context
|
| x | - input vector
|
| b | - rhs vector
|
Output Parameter
Notes
SNESComputeNGS() is typically used within composed nonlinear solver
implementations, so most users would not generally call this routine
themselves.
See Also
SNESSetNGS(), 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