DMMGSetDM

Sets the coarse grid information for the grids

Synopsis

#include "petscda.h"     
#include "petscsles.h"    
#include "petscmg.h"    
int DMMGSetDM(DMMG *dmmg,DM dm)
Collective on DMMG

Input Parameter

dmmg - the context
dm - the DA or VecPack object

See Also

DMMGCreate(), DMMGDestroy()

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