SNESGetSLES
Returns the SLES context for a SNES solver.
Synopsis
#include "snes.h"
int SNESGetSLES(SNES snes,SLES *sles)
Not Collective, but if SNES object is parallel, then SLES object is parallel
Input Parameter
snes -the SNES context
Output Parameter
sles -the SLES context
Notes
The user can then directly manipulate the SLES context to set various
options, etc. Likewise, the user can then extract and manipulate the
KSP and PC contexts as well.
Keywords
SNES, nonlinear, get, SLES, context
See Also
SLESGetPC(), SLESGetKSP()
Examples
src/snes/examples/tutorials/ex1f.F
src/snes/examples/tutorials/ex1.c
src/snes/examples/tutorials/ex6.c
Level:beginner
Location:src/snes/interface/snes.c
SNES Index
Table of Contents