DMPlexGetCellType#
Get the polytope type of a given cell
Synopsis#
#include "petscdmplex.h"
PetscErrorCode DMPlexGetCellType(DM dm, PetscInt cell, DMPolytopeType *celltype)
Not Collective
Input Parameters#
dm - The
DMPLEXobjectcell - The cell
Output Parameter#
celltype - The polytope type of the cell
See Also#
DMPlex: Unstructured Grids, DM, DMPLEX, DMPolytopeType, DMPlexGetCellTypeLabel(), DMPlexGetDepthLabel(), DMPlexGetDepth()
Level#
intermediate
Location#
Examples#
src/dm/impls/plex/tutorials/ex11.c
src/dm/impls/plex/tutorials/ex16.c
src/dm/impls/swarm/tutorials/ex1.c
src/dm/impls/plex/tests/ex97.c
src/dm/dt/dualspace/impls/lagrange/tests/ex1.c
src/dm/dt/tests/ex4.c
src/dm/impls/plex/tests/ex102.c
src/dm/impls/plex/tests/ex33.c
src/dm/impls/plex/tests/ex41.c
src/dm/impls/plex/tests/ex49.c
Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages