:orphan:
# DMPlexGetSupport
Return the points on the out-edges for this point in the DAG
## Synopsis
```
#include "petscdmplex.h"
PetscErrorCode DMPlexGetSupport(DM dm, PetscInt p, const PetscInt *support[])
```
Not Collective
## Input Parameters
- ***mesh -*** The `DMPLEX`
- ***p -*** The point, which must lie in the chart set with `DMPlexSetChart()`
## Output Parameter
- ***support -*** An array of points which are on the out-edges for point `p`
## Fortran Note
You must also call `DMPlexRestoreSupport()` after you finish using the returned array.
`DMPlexRestoreSupport()` is not needed/available in C.
## See Also
[](ch_unstructured), `DM`, `DMPLEX`, `DMPlexGetSupportSize()`, `DMPlexSetSupport()`, `DMPlexGetCone()`, `DMPlexSetChart()`
## Level
beginner
## Location
src/dm/impls/plex/plex.c
## Examples
src/snes/tutorials/ex7.c
src/ts/tutorials/ex11.c
src/ts/tutorials/ex11_sa.c
src/ts/tutorials/ex52.c
---
[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)