[This is preliminary documentation and is subject to change.]
Returns a recommended configuration for a new Cartesian grid.
Namespace:
MPIAssembly: MPI (in MPI.dll)
Version: 0.8.0.0 (0.8.0.0)
Syntax
| C# |
|---|
public static int MPI_Cart_map( int comm, int ndims, int* dims, int* periods, out int newrank ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function MPI_Cart_map ( _ comm As Integer, _ ndims As Integer, _ dims As Integer*, _ periods As Integer*, _ <OutAttribute> ByRef newrank As Integer _ ) As Integer |
| Visual C++ |
|---|
public: static int MPI_Cart_map( int comm, int ndims, int* dims, int* periods, [OutAttribute] int% newrank ) |
Parameters
- comm
- Type: System..::.Int32
The existing communicator.
- ndims
- Type: System..::.Int32
The number of dimensions for the Cartesian grid.
- dims
- Type:
System..::.Int32
*
An array of length ndims indicating the size of the grid in each dimension.
- periods
- Type:
System..::.Int32
*
A logical array of length ndims indicating whether the grid is periodic in any given dimension.
- newrank
- Type:
System..::.Int32
%
The new rank of the calling process.