# DMPlexInsertConeOrientation
Insert a point orientation for the in-edge for the point p in the DAG 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexInsertConeOrientation(DM dm, PetscInt p, PetscInt conePos, PetscInt coneOrientation)
```
Not Collective


## Input Parameters

- ***mesh -*** The `DMPLEX`
- ***p -*** The point, which must lie in the chart set with `DMPlexSetChart()`
- ***conePos -*** The local index in the cone where the point should be put
- ***coneOrientation -*** The point orientation to insert





## Note
The meaning of coneOrientation values is detailed in `DMPlexGetConeOrientation()`.


## See Also
 [](chapter_unstructured), `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexGetCone()`, `DMPlexSetChart()`, `DMPlexSetConeSize()`, `DMSetUp()`

## Level
beginner

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


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