SNESSetUp
Sets up the internal data structures for the later use of a nonlinear solver.
Synopsis
int SNESSetUp(SNES snes,Vec x)
Collective on
SNES
Input Parameters
snes | - the SNES context
|
x | - the solution vector
|
Notes
For basic use of the SNES solvers the user need not explicitly
callSNESSetUp(), since these actions will automatically occur
duringthe call to SNESSolve(). However, if one wishes to control
thisphase separately, SNESSetUp() should be called after SNESCreate()
and optional routines of the form SNESSetXXX(), but before SNESSolve().
Keywords
SNES, nonlinear, setup
See Also
SNESCreate(), SNESSolve(), SNESDestroy()
Location: src/snes/interface/snes.c
SNES Index
Table of Contents