[This is preliminary documentation and is subject to change.]
Creates a new Cartesian communicator from another communicator.
Namespace:
MPIAssembly: MPI (in MPI.dll)
Version: 0.8.0.0 (0.8.0.0)
Syntax
| C# |
|---|
public static int MPI_Cart_create( int comm, int ndims, int* dims, int* periods, int reorder, int* newcomm ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function MPI_Cart_create ( _ comm As Integer, _ ndims As Integer, _ dims As Integer*, _ periods As Integer*, _ reorder As Integer, _ newcomm As Integer* _ ) As Integer |
| Visual C++ |
|---|
public: static int MPI_Cart_create( int comm, int ndims, int* dims, int* periods, int reorder, int* newcomm ) |
Parameters
- comm
- Type: System..::.Int32
Existing communicator from which the new communicator will be created.
- ndims
- Type: System..::.Int32
Number of dimensions for Cartesian communicator's grid to have.
- dims
- Type:
System..::.Int32
*
Array to specify sizes in each dimension.
- periods
- Type:
System..::.Int32
*
Array of logical values (0s and 1s) indicating whether grid should be periodic in each dimension (i.e. if the last communicator and the first in each dimension are directly connected).
- reorder
- Type: System..::.Int32
Logical value indicating whether ranks may be reordered or not.
- newcomm
- Type:
System..::.Int32
*
Output parameter for new communicator.