:orphan:
# DMPlexGetNumFaceVertices
Returns the number of vertices on a face 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexGetNumFaceVertices(DM dm, PetscInt cellDim, PetscInt numCorners, PetscInt *numFaceVertices)
```
Not Collective


## Input Parameters

- ***dm         -*** The `DMPLEX`
- ***cellDim    -*** The cell dimension
- ***numCorners -*** The number of vertices on a cell



## Output Parameter

- ***numFaceVertices -*** The number of vertices on a face





## Note
Of course this can only work for a restricted set of symmetric shapes


## See Also
 [](ch_unstructured), `DM`, `DMPLEX`, `DMPlexGetCone()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plex.c.html#DMPlexGetNumFaceVertices">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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
