petsc-3.4.4 2014-03-13

DMPlexGetDimension

Return the topological mesh dimension

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexGetDimension(DM dm, PetscInt *dim)
Not collective

Input Parameter

mesh -The DMPlex

Output Parameter

dim -The topological mesh dimension

See Also

DMPlexCreate()

Level:beginner
Location:
src/dm/impls/plex/plex.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex31.c.html
src/ts/examples/tutorials/ex11.c.html