SNESSolve
Solves a nonlinear system. Call SNESSolve after calling SNESCreate() and optional routines of the form SNESSetXXX().
Synopsis
int SNESSolve(SNES snes,Vec x,int *its)
Collective on
SNES
Input Parameters
snes | - the SNES context
|
x | - the solution vector
|
Output Parameter
its -number of iterations until termination
Notes
The user should initialize the vector, x, with the initial
guessfor the nonlinear solve prior to calling SNESSolve. In particular,
to employ an initial guess of zero, the user should explicitly
setthis vector to zero by calling VecSet().
Keywords
SNES, nonlinear, solve
See Also
SNESCreate(), SNESDestroy()
Examples
src/snes/examples/tutorials/ex1f.F
src/snes/examples/tutorials/ex4f.F
src/snes/examples/tutorials/ex5f.F
src/snes/examples/tutorials/ex5f90.F
src/snes/examples/tutorials/ex4.c
src/snes/examples/tutorials/ex1.c
src/snes/examples/tutorials/ex2.c
src/snes/examples/tutorials/ex5.c
src/snes/examples/tutorials/ex3.c
src/snes/examples/tutorials/ex6.c
src/snes/examples/tutorials/ex5s.c
src/snes/examples/tutorials/ex7.c
src/snes/examples/tutorials/ex8.c
src/snes/examples/tutorials/ex9.c
src/gvec/examples/tutorials/ex3.c
src/gvec/examples/tutorials/ex4.c
Location: src/snes/interface/snes.c
SNES Index
Table of Contents