ISGetIndices
Returns a pointer to the indices. The user should call ISRestoreIndices() after having looked at the indices. The user should NOT change the indices.
Synopsis
int ISGetIndices(IS is,int **ptr)
Not
Collective
Input Parameter
is -the index set
Output Parameter
ptr -the location to put the pointer to the indices
Fortran Note
The Fortran interface is slightly different from that given below.
See the Fortran chapter of the users manual
andpetsc/src/is/examples for details.
Keywords
IS, index set, get, indices
See Also
ISRestoreIndices(), ISGetIndicesF90()
Examples
src/is/examples/tutorials/ex2f.F
src/is/examples/tutorials/ex1f.F
src/is/examples/tutorials/ex1.c
src/is/examples/tutorials/ex2.c
src/is/examples/tutorials/ex3.c
Location: src/is/interface/index.c
IS and DA Index
Table of Contents