:orphan:
# DMPlexSetChart
Set the interval for all mesh points [`pStart`, `pEnd`)
## Synopsis
```
#include "petscdmplex.h"
PetscErrorCode DMPlexSetChart(DM dm, PetscInt pStart, PetscInt pEnd)
```
Not Collective
## Input Parameters
- ***mesh -*** The `DMPLEX`
- ***pStart -*** The first mesh point
- ***pEnd -*** The upper bound for mesh points
## See Also
[](ch_unstructured), `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexGetChart()`
## Level
beginner
## Location
src/dm/impls/plex/plex.c
## Examples
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)