petsc-3.13.6 2020-09-29
Report Typos and Errors

DMGetCoordinateDim

Retrieve the dimension of embedding space for coordinate values.

Synopsis

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

Input Parameter

dm -The DM object

Output Parameter

dim -The embedding dimension

See Also

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

Level

intermediate

Location

src/dm/interface/dm.c

Examples

src/dm/impls/plex/tutorials/ex7.c.html
src/snes/tutorials/ex56.c.html
src/ts/tutorials/ex11.c.html

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