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/ksp/ksp/tutorials/ex73.c
src/snes/tutorials/ex12.c
src/snes/tutorials/ex13.c
src/snes/tutorials/ex17.c
src/snes/tutorials/ex20.c
src/snes/tutorials/ex23.c
src/snes/tutorials/ex24.c
src/snes/tutorials/ex26.c
src/snes/tutorials/ex36.c
src/snes/tutorials/ex62.c
src/snes/tutorials/ex63.c


Edit on GitLab

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