:orphan:
# DMPlexSetCone
Set the points on the in-edges for this point in the DAG; that is these are the points that cover the specific point
## Synopsis
```
#include "petscdmplex.h"
PetscErrorCode DMPlexSetCone(DM dm, PetscInt p, const PetscInt cone[])
```
Not Collective
## Input Parameters
- ***mesh -*** The `DMPLEX`
- ***p -*** The point, which must lie in the chart set with `DMPlexSetChart()`
- ***cone -*** An array of points which are on the in-edges for point `p`
## Note
This should be called after all calls to `DMPlexSetConeSize()` and `DMSetUp()`.
## See Also
[](ch_unstructured), `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexGetCone()`, `DMPlexSetChart()`, `DMPlexSetConeSize()`, `DMSetUp()`, `DMPlexSetSupport()`, `DMPlexSetSupportSize()`
## Level
beginner
## Location
src/dm/impls/plex/plex.c
## Examples
src/ts/tutorials/ex11_sa.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)