#include "petscdmda.h" #include "petscdmmesh.h" #include "petscpcmg.h" #include "petscdmmg.h" #include "petscmat.h" PetscErrorCode DMMGSetFromOptions(DMMG *dmmg)This is being deprecated. Use KSPSetDM() for linear problems and SNESSetDM() for nonlinear problems. See src/ksp/ksp/examples/tutorials/ex45.c and src/snes/examples/tutorials/ex57.c
Collective on DMMG
Notes: this is currently only supported for use with DMMGSetSNES() NOT DMMGSetKSP()
Most options are checked in DMMGSetSNES(); this does call SNESSetFromOptions()
Level:advanced
Location:src/snes/utils/damgsnes.c
Index of all DMMG routines
Table of Contents for all manual pages
Index of all manual pages
src/snes/examples/tutorials/ex4.c.html
src/snes/examples/tutorials/ex4tu.c.html
src/snes/examples/tutorials/ex7.c.html
src/snes/examples/tutorials/ex8.c.html
src/snes/examples/tutorials/ex18.c.html
src/snes/examples/tutorials/ex19.c.html
src/snes/examples/tutorials/ex19tu.c.html
src/snes/examples/tutorials/ex20.c.html
src/snes/examples/tutorials/ex22.c.html
src/snes/examples/tutorials/ex23.c.html