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

Retrieves the primary topological information on a Cartesian communicator: the number of dimensions, the size in each dimension, the periodicity in each dimension. Also gives the coordinates of the calling process.

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

Syntax

C#
public static int MPI_Cart_get(
	int comm,
	int ndims,
	int* dims,
	int* periods,
	int* coords
)
Visual Basic (Declaration)
Public Shared Function MPI_Cart_get ( _
	comm As Integer, _
	ndims As Integer, _
	dims As Integer*, _
	periods As Integer*, _
	coords As Integer* _
) As Integer
Visual C++
public:
static int MPI_Cart_get(
	int comm, 
	int ndims, 
	int* dims, 
	int* periods, 
	int* coords
)

Parameters

comm
Type: System..::.Int32
The communicator.
ndims
Type: System..::.Int32
The number of dimensions.
dims
Type: System..::.Int32 *
Output parameter for size of each dimension. Should be as long as ndims.
periods
Type: System..::.Int32 *
Output parameter for periodicity in each dimension. 0 for false, 1 for true. Should be as long as ndims.
coords
Type: System..::.Int32 *
Output parameter for coordinates of calling process. Should be as long as ndims.

See Also