[This is preliminary documentation and is subject to change.]

Creates a new datatype from a structure containing discontiguous blocks of different types. This is the most general type constructor, and is used by the DatatypeCache to create MPI datatypes from .NET value types.

Namespace:  MPI
Assembly:  MPI (in MPI)
Version: 0.5.0.0 (0.5.0.0)

Syntax

C#
public static int MPI_Type_struct(
	int count,
	int* array_of_blocklengths,
	IntPtr* array_of_displacements,
	int* array_of_types,
	int* newtype
)
Visual Basic (Declaration)
Public Shared Function MPI_Type_struct ( _
	count As Integer, _
	array_of_blocklengths As Integer*, _
	array_of_displacements As IntPtr*, _
	array_of_types As Integer*, _
	newtype As Integer* _
) As Integer
Visual C++
public:
static int MPI_Type_struct(
	int count, 
	int* array_of_blocklengths, 
	IntPtr* array_of_displacements, 
	int* array_of_types, 
	int* newtype
)

Parameters

count
Type: System..::.Int32
array_of_blocklengths
Type: System..::.Int32*
array_of_displacements
Type: System..::.IntPtr*
array_of_types
Type: System..::.Int32*
newtype
Type: System..::.Int32*

See Also