:orphan:
# DMPlexGetDepthStratum
Get the bounds [`start`, `end`) for all points at a certain depth.
## Synopsis
```
#include "petscdmplex.h"
PetscErrorCode DMPlexGetDepthStratum(DM dm, PetscInt depth, PetscInt *start, PetscInt *end)
```
Not Collective
## Input Parameters
- ***dm -*** The `DMPLEX` object
- ***depth -*** The requested depth
## Output Parameters
- ***start -*** The first point at this `depth`
- ***end -*** One beyond the last point at this `depth`
## Notes
Depth indexing is related to topological dimension. Depth stratum 0 contains the lowest topological dimension points,
often "vertices". If the mesh is "interpolated" (see `DMPlexInterpolate()`), then depth stratum 1 contains the next
higher dimension, e.g., "edges".
## See Also
[](ch_unstructured), `DM`, `DMPLEX`, `DMPlexGetHeightStratum()`, `DMPlexGetDepth()`, `DMPlexGetDepthLabel()`, `DMPlexGetPointDepth()`, `DMPlexSymmetrize()`, `DMPlexInterpolate()`
## Level
developer
## Location
src/dm/impls/plex/plex.c
## Examples
src/dm/impls/plex/tutorials/ex11.c
src/dm/impls/plex/tutorials/ex7.c
src/snes/tutorials/ex13.c
src/snes/tutorials/ex17.c
src/snes/tutorials/ex7.c
src/ts/tutorials/ex11.c
src/ts/tutorials/ex11_sa.c
---
[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)