# 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
 [](chapter_unstructured), `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexGetChart()`

## Level
beginner

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