Next:
Array subsectioning example
Up:
MPI datatypes
Previous:
Struct datatypes
Other datatype routines
Other Datatype Routines
The size of a datatype is termed the extent.
The extent is given by:
mpi_type_extent (datatype, extent, ierr)
mpi_type_hvector
is same as
mpi_type_vector
, except stride is given in bytes.
mpi_type_hindexed
is same as
mpi_type_indexed
, except offsets in array of offsets are given in bytes.
The offsets in a datatype may be given relative to a ``base address,'' given by the MPI constant
mpi_bottom
.
The address of a location can be found thus:
mpi_address (location, address, ierr)
David W Walker
Mon Jan 20 11:10:22 GMT 1997