# ISGetPointSubrange
Configures the input `IS` to be a subrange for the traversal information given 
## Synopsis
```
#include "petscis.h"  
PetscErrorCode ISGetPointSubrange(IS subpointIS, PetscInt pStart, PetscInt pEnd, const PetscInt *points)
```
Not collective


## Input Parameters

- ***subpointIS -*** The `IS` object to be configured
- ***pStar   t  -*** The first index of the subrange
- ***pEnd       -*** One past the last index for the subrange
- ***points     -*** The indices for the entire range, from `ISGetPointRange()`



## Output Parameters

- ***subpointIS -*** The `IS` object now configured to be a subrange





## Note
The input `IS` will now respond properly to calls to `ISGetPointRange()` and return the subrange.


## See Also
 [](sec_scatter), `IS`, `ISGetPointRange()`, `ISRestorePointRange()`, `ISGetIndices()`, `ISCreateStride()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/utils/isltog.c.html#ISGetPointSubrange">src/vec/is/utils/isltog.c</A>


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


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