:orphan:
# DMPlexGetMaxSizes
Return the maximum number of in-edges (cone) and out-edges (support) for any point in the DAG 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexGetMaxSizes(DM dm, PetscInt *maxConeSize, PetscInt *maxSupportSize)
```
Not Collective


## Input Parameter

- ***mesh -*** The `DMPLEX`



## Output Parameters

- ***maxConeSize -*** The maximum number of in-edges
- ***maxSupportSize -*** The maximum number of out-edges





## See Also
 [](ch_unstructured), `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexSetConeSize()`, `DMPlexSetChart()`

## Level
beginner

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

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/ex11_sa.c.html">src/ts/tutorials/ex11_sa.c</A><BR>


---
[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)  
