Skip to main content
Ctrl+K
PETSc 3.23.2 documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • DMGetCoarseDM

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/ex17.c
src/snes/tutorials/ex13.c
src/snes/tutorials/ex69.c
src/snes/tutorials/ex23.c
src/snes/tutorials/ex36.c
src/snes/tutorials/ex20.c
src/ksp/ksp/tutorials/ex73.c
src/snes/tutorials/ex63.c
src/snes/tutorials/ex11.c
src/snes/tutorials/ex77.c


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

On this page
  • Synopsis
  • Input Parameter
  • Output Parameter
  • See Also
  • Level
  • Location
  • Examples
Edit on GitLab
Show Source

© Copyright 1991-2025, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2025-05-21T04:20:19-0500 (v3.23.2-37-g023d8f284bb9).