Purpose
Returns a new datatype that represents the concatenation of count instances of oldtype.
C synopsis
#include <mpi.h> int MPI_Type_contiguous(int count,MPI_Datatype oldtype,MPI_Datatype *newtype);
C++ synopsis
#include mpi.h MPI::Datatype MPI::Datatype::Create_contiguous(int count) const;
FORTRAN synopsis
include 'mpif.h' or use mpi MPI_TYPE_CONTIGUOUS(INTEGER COUNT,INTEGER OLDTYPE,INTEGER NEWTYPE,INTEGER IERROR)
Parameters
Description
This subroutine returns a new datatype that represents the concatenation of count instances of oldtype. MPI_TYPE_CONTIGUOUS allows replication of a datatype into contiguous locations.
Notes
newtype must be committed using MPI_TYPE_COMMIT before being used for communication.
Errors
Related information