Similar to Gather<(Of <(T>)>)(T, Int32) but here all values are aggregated into one large array. Use this variant at leaf group processes.

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

Syntax

C#
public void GatherFlattened<T>(
	T[] inValues,
	int root
)
Visual Basic (Declaration)
Public Sub GatherFlattened(Of T) ( _
	inValues As T(), _
	root As Integer _
)
Visual C++
public:
generic<typename T>
void GatherFlattened(
	array<T>^ inValues, 
	int root
)

Parameters

inValues
Type: array< T >[]()[]
The values to be gathered.
root
Type: System..::.Int32
Used to indicate the process gathering the data. At the root, should be Root. At leaf group processes should be the rank of the root process in the root group. At non-root processes in the root group, should be Null.

Type Parameters

T
Any serializable type.

See Also