DMMGSetFromOptions

Sets various options associated with the DMMG object

Synopsis

#include "petscda.h"    
#include "petscmg.h"    
#include "petscdmmg.h"  
#include "petscmat.h" 
PetscErrorCode PETSCSNES_DLLEXPORT DMMGSetFromOptions(DMMG *dmmg)
Collective on DMMG

Input Parameter

dmmg - the context

Notes: this is currently only supported for use with DMMGSetSNES() NOT DMMGSetKSP()

Most options are checked in DMMGSetSNES(); this does call SNESSetFromOptions()

See Also

DMMGCreate(), DMMGDestroy, DMMGSetKSP(), DMMGSetSNESLocal(), DMMGSetSNES()

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

Examples

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/ex27.c.html
src/snes/examples/tutorials/ex29.c.html
src/snes/examples/tutorials/ex30.c.html
src/snes/examples/tutorials/ex31.c.html