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