# DMPlexCheckInterfaceCones
Check that points on inter-partition interfaces have conforming order of cone points. 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexCheckInterfaceCones(DM dm)
```

## Input Parameters

- ***dm -*** The `DMPLEX` object





## Notes
For example, if there is an edge (rank,index)=(0,2) connecting points cone(0,2)=[(0,0),(0,1)] in this order, and the point SF containts connections 0 <- (1,0), 1 <- (1,1) and 2 <- (1,2),
then this check would pass if the edge (1,2) has cone(1,2)=[(1,0),(1,1)]. By contrast, if cone(1,2)=[(1,1),(1,0)], then this check would fail.

This is mainly intended for debugging/testing purposes. Does not check cone orientation, for this purpose use `DMPlexCheckFaces()`.

For the complete list of DMPlexCheck* functions, see `DMSetFromOptions()`.


## Developer Note
Interface cones are expanded into vertices and then their coordinates are compared.


## See Also
 [](chapter_unstructured), `DM`, `DMPLEX`, `DMPlexGetCone()`, `DMPlexGetConeSize()`, `DMGetPointSF()`, `DMGetCoordinates()`, `DMSetFromOptions()`

## Level
developer

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexcheckinterface.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)  
