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

Suggest a shape for a new Cartesian communicator, given the number of dimensions.

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

Syntax

C#
public static int MPI_Dims_create(
	int nnodes,
	int ndims,
	int* dims
)
Visual Basic (Declaration)
Public Shared Function MPI_Dims_create ( _
	nnodes As Integer, _
	ndims As Integer, _
	dims As Integer* _
) As Integer
Visual C++
public:
static int MPI_Dims_create(
	int nnodes, 
	int ndims, 
	int* dims
)

Parameters

nnodes
Type: System..::.Int32
The number of nodes the grid will contain.
ndims
Type: System..::.Int32
The number of dimensions the grid will have.
dims
Type: System..::.Int32 *
An array indicating the size in each dimension. Any nonzero entries will be left alone; only 0 values will be changed to shape the grid.

See Also