Funktionsübersicht
. .
Abgeleitete Datentypen
Hilfesystem für den Message Passing Interface Standard MPI
MPI_Type_contiguous
Liefert ein handle für einen abgeleiteten Datentyp, der entsteht, indem
eine Anzahl gleichartiger Elemente eines vorhandenen Datentyps
hintereinander im Speicher angeordnet wird
Syntax:
MPI_Type_contiguous( count, oldtype, newtype )
Input Parameter:
count - Anzahl der Wiederholungen (integer, nichtnegativ)
oldtype - alter Datentyp (handle)
Output Parameter:
newtyp - neuer Datentyp (handle)
Aufruf:
#include "mpi.h"
int count;
MPI_Datatype oldtype, newtype;
...
MPI_Type_contiguous(count, oldtype, &newtype);
MPI_Type_commit(&newtype);
...
MPI_Type_free(&newtype);
Beispiel