# 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 Parameters

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





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


## See Also
 [](chapter_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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
