:orphan:
# DMMoabIsEntityOnBoundary
Check whether a given entity is on the boundary (vertex, edge, face, element) 
## Synopsis
```
#include "petscdmmoab.h"   
PetscErrorCode DMMoabIsEntityOnBoundary(DM dm, const moab::EntityHandle ent, PetscBool *ent_on_boundary)
```
Collective


## Input Parameters

- ***dm -*** The DMMoab object
- ***ent -*** Entity handle



## Output Parameter

- ***ent_on_boundary -*** PETSC_TRUE if entity on boundary; PETSC_FALSE otherwise





## See Also
 `DMMoabCheckBoundaryVertices()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/moab/dmmoab.cxx.html#DMMoabIsEntityOnBoundary">src/dm/impls/moab/dmmoab.cxx</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex35.cxx.html">src/ksp/ksp/tutorials/ex35.cxx</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex36.cxx.html">src/ksp/ksp/tutorials/ex36.cxx</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/ex35.cxx.html">src/ts/tutorials/ex35.cxx</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/moab/dmmoab.cxx)


[Index of all DMMOAB routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
