DMMGSolve
Actually solves the (non)linear system defined with the DMMG
Synopsis
#include "petscda.h"
#include "petscsles.h"
#include "petscmg.h"
int DMMGSolve(DMMG *dmmg)
Collective on DMMG
Input Parameter
dmmg -the context
Notes: For linear (SLES) problems may be called more than once, uses the same
matrices but recomputes the right hand side for each new solve. Call DMMGSetSLES()
to generate new matrices.
See Also
DMMGCreate(), DMMGDestroy(), DMMG, DMMGSetSNES(), DMMGSetSLES(), DMMGSetUp()
Level:advanced
Location:src/sles/utils/damg.c
Index of all SLES routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/sles/examples/tutorials/ex22.c.html
src/sles/examples/tutorials/ex25.c.html
src/snes/examples/tutorials/ex18.c.html
src/snes/examples/tutorials/ex19.c.html
src/snes/examples/tutorials/ex20.c.html
src/snes/examples/tutorials/ex22.c.html
src/snes/examples/tutorials/ex23.c.html
src/snes/examples/tutorials/ex24.c.html
src/snes/examples/tutorials/ex25.c.html
src/snes/examples/tutorials/ex29.c.html