MPI_Type_struct

MPI_Type_struct - Creates a struct datatype

SYNOPSIS

 
#include <mpi.h> 
int MPI_Type_struct(int count, int *lengths, 
      MPI_Aint *disps, MPI_Datatype *oldtypes, 
      MPI_Datatype *newtype)

INPUT PARAMETERS

count
- number of blocks (integer) -- also number of entries in arrays array_of_types, array_of_displacements and array_of_blocklengths
blocklens
- number of elements in each block (array)
indices
- byte displacement of each block (array)
old_types
- type of elements in each block (array of handles to datatype objects)

OUTPUT PARAMETER

newtype
- new datatype (handle)


NOTES

This function is deprecated. It has been replaced with an MPI-2 function (see the "See also" section, below), which provides the same functionality. This function is (or effectively is) a wrapper to the replacement function, anyway. User programs should use the MPI-2 replacement function instead of this function.

Some functions are deprecated because their names did not conform to the stricter naming conventions of MPI-2; others are deprecated because they have been replaced with more flexible functionality.


SEE ALSO

MPI_Type_create_struct



© 2009 Critical Software SA. All trademarks and copyrights on this page are owned by their respective owners.
csWMPI II II™, csWMPI II™ and PatentMPI™ are trademarks of Critical Software SA. All Rights Reserved.