ISCreateStride

Creates a data structure for an index set containing a list of evenly spaced integers.

Synopsis

int ISCreateStride(MPI_Comm comm,int n,int first,int step,IS *is)
Collective on MPI_Comm

Input Parameters

comm - the MPI communicator
n - the length of the index set
first - the first element of the index set
step - the change to the next index

Output Parameter

is -the new index set

Notes

When the communicator is not MPI_COMM_SELF, the operations on IS are NOTconceptually the same as MPI_Group operations. The IS are thedistributed sets of indices.

Keywords

IS, index set, create, stride

See Also

ISCreateGeneral(), ISCreateBlock()

Examples

src/is/examples/tutorials/ex2f.F
src/is/examples/tutorials/ex2.c

Location: src/is/impls/seq/stride/stride.c
IS and DA Index
Table of Contents