ISCreateGeneral

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

Synopsis

int ISCreateGeneral(MPI_Comm comm,int n,int *idx,IS *is)
Collective on MPI_Comm

Input Parameters

n - the length of the index set
idx - the list of integers
comm - the MPI communicator

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 thendistributed sets of indices.

Keywords

IS, general, index set, create

See Also

ISCreateStride(), ISCreateBlock()

Examples

src/is/examples/tutorials/ex1f.F
src/is/examples/tutorials/ex1f90.F
src/is/examples/tutorials/ex1.c

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