Skip to main content
Ctrl+K
PETSc 3.24.0 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
  • DMGetCoordinateDim

DMGetCoordinateDim#

Retrieve the dimension of the embedding space for coordinate values. For example a mesh on the surface of a sphere would have a 3 dimensional embedding space

Synopsis#

#include "petscdm.h"          
PetscErrorCode DMGetCoordinateDim(DM dm, PetscInt *dim)

Not Collective

Input Parameter#

  • dm - The DM object

Output Parameter#

  • dim - The embedding dimension

See Also#

DM, DMSetCoordinateDim(), DMGetCoordinateSection(), DMGetCoordinateDM(), DMGetLocalSection(), DMSetLocalSection()

Level#

intermediate

Location#

src/dm/interface/dmcoordinates.c

Examples#

src/snes/tutorials/ex13.c
src/dm/impls/plex/tutorials/ex8.c
src/ts/tutorials/ex30.c
src/snes/tutorials/ex71.c
src/snes/tutorials/ex76.c
src/dm/impls/plex/tutorials/ex11.c
src/snes/tutorials/ex17.c
src/ts/tutorials/ex11.c
src/dm/impls/plex/tutorials/dmplexgetrestoreclosureindices.F90
src/dm/impls/plex/tutorials/ex15.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-10-10T04:22:34-0500 (v3.24.0-38-g00831a1e5ecf).