# DMPlexGetCellTypeLabel
Get the DMLabel recording the polytope type of each cell 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexGetCellTypeLabel(DM dm, DMLabel *celltypeLabel)
```
Not Collective


## Input Parameter

- ***dm -*** The DMPlex object



## Output Parameter

- ***celltypeLabel -*** The DMLabel recording cell polytope type


Note: This function will trigger automatica computation of cell types. This can be disabled by calling
DMCreateLabel(dm, "celltype") beforehand.




## See Also
 `DMPlexGetCellType()`, `DMPlexGetDepthLabel()`, `DMCreateLabel()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plex.c.html#DMPlexGetCellTypeLabel">src/dm/impls/plex/plex.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plex.c)


[Index of all DMPlex routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
