PETSc version 3.16.5
Fix/Edit manual page

# 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 DMPlex object
| cell | - The cell

### Output Parameter

| celltype | - The polytope type of the cell

### See Also

DMPlexGetCellTypeLabel(), DMPlexGetDepthLabel(), DMPlexGetDepth()

### Level

intermediate

### Location

src/dm/impls/plex/plex.c

### Examples

src/dm/impls/plex/tutorials/ex11.c.html
src/snes/tutorials/ex17.c.html
src/snes/tutorials/ex69.c.html
src/ts/tutorials/ex45.c.html
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages