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

Delegate describing a low-level MPI function used to copy attribute values from a communicator when the communicator is being duplicated with MPI_Comm_dup(Int32, Int32%).

Namespace:  MPI
Assembly:  MPI (in MPI.dll)
Version: 0.8.0.0 (0.8.0.0)

Syntax

C#
public delegate int MPI_Copy_function(
	int comm,
	int keyval,
	IntPtr extra_state,
	IntPtr attribute_val_in,
	IntPtr attribute_val_out,
	out int flag
)
Visual Basic (Declaration)
Public Delegate Function MPI_Copy_function ( _
	comm As Integer, _
	keyval As Integer, _
	extra_state As IntPtr, _
	attribute_val_in As IntPtr, _
	attribute_val_out As IntPtr, _
	<OutAttribute> ByRef flag As Integer _
) As Integer
Visual C++
public delegate int MPI_Copy_function(
	int comm, 
	int keyval, 
	IntPtr extra_state, 
	IntPtr attribute_val_in, 
	IntPtr attribute_val_out, 
	[OutAttribute] int% flag
)

Parameters

comm
Type: System..::.Int32
The communicator being duplicated.
keyval
Type: System..::.Int32
The attribute's key value.
extra_state
Type: System..::.IntPtr
The extra state associated with the attribute, provided by the user in MPI_Keyval_create(Unsafe..::.MPI_Copy_function, Unsafe..::.MPI_Delete_function, Int32%, IntPtr).
attribute_val_in
Type: System..::.IntPtr
The attribute value in the communicator to be duplicated.
attribute_val_out
Type: System..::.IntPtr
A pointer to the attribute value that will be copied into the new communicator. The attribute value will be no larger than an IntPtr. The user only needs to set this value if the attribute will be copied, as determined by flag.
flag
Type: System..::.Int32 %
Set this to a non-zero value to indicate that the attribute should be copied.

See Also