# DMPlexGetMaxProjectionHeight
Get the maximum height (w.r.t. DAG) of mesh points used to evaluate dual bases in DMPlexProjectXXXLocal() functions. 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexGetMaxProjectionHeight(DM dm, PetscInt *height)
```

## Input Parameters

- ***dm -*** the `DMPLEX` object



## Output Parameters

- ***height -*** the maximum projection height





## See Also
 [](chapter_unstructured), `DM`, `DMPLEX`, `DMPlexSetMaxProjectionHeight()`, `DMProjectFunctionLocal()`, `DMProjectFunctionLabelLocal()`

## Level
intermediate

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexfem.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)  
