:orphan: # 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 - ***pStart -*** 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 src/vec/is/utils/isltog.c --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)