DMGetCoarseDM#
Get the coarse DMfrom which this DM was obtained by refinement
Synopsis#
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMGetCoarseDM(DM dm, DM *cdm)
Not collective
Input Parameter#
dm - The
DMobject
Output Parameter#
cdm - The coarse
DM
See Also#
DMSetCoarseDM(), DMCoarsen()
Level#
intermediate
Location#
Examples#
src/ksp/ksp/tutorials/ex73.c.html
src/snes/tutorials/ex12.c.html
src/snes/tutorials/ex13.c.html
src/snes/tutorials/ex17.c.html
src/snes/tutorials/ex20.c.html
src/snes/tutorials/ex23.c.html
src/snes/tutorials/ex24.c.html
src/snes/tutorials/ex26.c.html
src/snes/tutorials/ex36.c.html
src/snes/tutorials/ex56.c.html
src/snes/tutorials/ex62.c.html
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages