DMGetCoordinateDim#

Retrieve the dimension of 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/dm/impls/plex/tutorials/ex11.c.html
src/dm/impls/plex/tutorials/ex8.c.html
src/snes/tutorials/ex13.c.html
src/snes/tutorials/ex17.c.html
src/snes/tutorials/ex56.c.html
src/snes/tutorials/ex71.c.html
src/snes/tutorials/ex76.c.html
src/ts/tutorials/ex11.c.html


Edit on GitLab

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