petsc-main 2021-04-20
Report Typos and Errors

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

Notes

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

See Also

ISGetPointRange(), ISRestorePointRange(), ISGetIndices(), ISCreateStride()

Level

intermediate

Location

src/vec/is/utils/isltog.c
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages