MPI_Type_indexed
--- Creates an indexed datatype
Input Parameters
- count
- number of blocks -- also number of entries in
array_of_displacements and array_of_blocklengths (nonnegative integer)
- array_of_blocklengths
- number of elements per block
(array of nonnegative integers)
- array_of_displacements
- displacement for each block,
in multiples of oldtype extent (array of integer)
- oldtype
- old datatype (handle)
Output Parameter
- newtype
- new datatype (handle)
Synopsis
#include "mpi.h"
int MPI_Type_indexed( count, blocklens, indices, old_type, newtype )
int count;
int blocklens[];
int indices[];
MPI_Datatype old_type;
MPI_Datatype *newtype;
Location: type_ind.c