[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.dll)
Version: 0.8.0.0 (0.8.0.0)

Syntax

C#
public static int MPI_Type_struct(
	int count,
	int[] array_of_blocklengths,
	IntPtr[] array_of_displacements,
	int[] array_of_types,
	out 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(), _
	<OutAttribute> ByRef newtype As Integer _
) As Integer
Visual C++
public:
static int MPI_Type_struct(
	int count, 
	array<int>^ array_of_blocklengths, 
	array<IntPtr>^ array_of_displacements, 
	array<int>^ array_of_types, 
	[OutAttribute] int% newtype
)

Parameters

count
Type: System..::.Int32
array_of_blocklengths
Type: array< System..::.Int32 >[]()[]
array_of_displacements
Type: array< System..::.IntPtr >[]()[]
array_of_types
Type: array< System..::.Int32 >[]()[]
newtype
Type: System..::.Int32 %

See Also