ISCreateBlock
Creates a data structure for an index set containing a list of integers. The indices are relative to entries, not blocks.
Synopsis
int ISCreateBlock(MPI_Comm comm,int bs,int n,int *idx,IS *is)
Collective on
MPI_Comm
Input Parameters
n | - the length of the index set (the number of blocks)
|
bs | - number of elements in each block
|
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.
Example
If you wish to index {0,1,4,5}, then
usea block size of 2 and idx of {0,4}.
Keywords
IS, index set, create, block
See Also
ISCreateStride(), ISCreateGeneral()
Examples
src/is/examples/tutorials/ex3f90.F
src/is/examples/tutorials/ex3.c
Location: src/is/impls/seq/block/block.c
IS and DA Index
Table of Contents