# DMPlexSetConeSize
Set the number of in-edges for this point in the DAG 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexSetConeSize(DM dm, PetscInt p, PetscInt size)
```
Not Collective


## Input Parameters

- ***mesh -*** The `DMPLEX`
- ***p -*** The point, which must lie in the chart set with `DMPlexSetChart()`
- ***size -*** The cone size for point p





## Note
This should be called after `DMPlexSetChart()`.


## See Also
 [](chapter_unstructured), `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexGetConeSize()`, `DMPlexSetChart()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plex.c.html#DMPlexSetConeSize">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.html</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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
