# PetscSectionGetOffsetRange
Return the full range of offsets [start, end) 
## Synopsis
```
#include "petscsection.h"   
PetscErrorCode PetscSectionGetOffsetRange(PetscSection s, PetscInt *start, PetscInt *end)
```
Not Collective


## Input Parameter

- ***s -*** the `PetscSection`



## Output Parameters

- ***start -*** the minimum offset
- ***end   -*** one more than the maximum offset





## See Also
 [PetscSection](sec_petscsection), `PetscSection`, `PetscSectionGetOffset()`, `PetscSectionCreate()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/section/interface/section.c.html#PetscSectionGetOffsetRange">src/vec/is/section/interface/section.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/section/interface/section.c)


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