MPI_Type_indexed(3) (10/24/1994) MPI_Type_indexed(3)
NAME
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
Page 1 (printed 3/8/95)