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/ts/tutorials/ex76.c
src/ts/tutorials/ex77.c
src/ts/tutorials/ex45.c
src/ts/tutorials/ex47.c
src/ts/tutorials/ex53.c
src/ksp/ksp/tutorials/ex73.c
src/ts/tutorials/ex48.c
src/ts/tutorials/ex46.c
src/ts/tutorials/ex18.c
src/ts/tutorials/ex30.c


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