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 DM object

Output Parameter#

  • cdm - The coarse DM

See Also#

DM Basics, DM, DMSetCoarseDM(), DMCoarsen()

Level#

intermediate

Location#

src/dm/interface/dm.c

Examples#

src/snes/tutorials/ex11.c
src/snes/tutorials/ex69.c
src/snes/tutorials/ex36.c
src/tao/tutorials/ex2.c
src/snes/tutorials/ex23.c
src/snes/tutorials/ex76.c
src/snes/tutorials/ex17.c
src/snes/tutorials/ex26.c
src/tao/tutorials/ex1.c
src/snes/tutorials/ex63.c


Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages