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/ex71.c
src/tao/tutorials/ex1.c
src/snes/tutorials/ex63.c
src/snes/tutorials/ex17.c
src/snes/tutorials/ex20.c
src/tao/tutorials/ex2.c
src/snes/tutorials/ex34.c
src/snes/tutorials/ex64.c
src/snes/tutorials/ex27.c
src/snes/tutorials/ex23.c


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