:orphan:
# DMPlexGetGhostCellStratum
Get the range of cells which are used to enforce FV boundary conditions 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexGetGhostCellStratum(DM dm, PetscInt *gcStart, PetscInt *gcEnd)
```

## Input Parameter

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



## Output Parameters

- ***gcStart -*** The first ghost cell, or `NULL`
- ***gcEnd   -*** The upper bound on ghost cells, or `NULL`





## See Also
 [](ch_unstructured), `DM`, `DMPLEX`, `DMPlexConstructGhostCells()`, `DMPlexGetGhostCellStratum()`

## Level
advanced

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