Creates a CartesianCommunicator.
Namespace:
MPIAssembly: MPI (in MPI.dll)
Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public CartesianCommunicator( Intracommunicator oldComm, int ndims, int[] dims, bool[] periods, bool reorder ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ oldComm As Intracommunicator, _ ndims As Integer, _ dims As Integer(), _ periods As Boolean(), _ reorder As Boolean _ ) |
| Visual C++ |
|---|
public: CartesianCommunicator( Intracommunicator^ oldComm, int ndims, array<int>^ dims, array<bool>^ periods, bool reorder ) |
Parameters
- oldComm
- Type: MPI..::.Intracommunicator
An existing Intracommunicator from which to create the new communicator (e.g. world).
- ndims
- Type: System..::.Int32
The number of dimensions for the Cartesian grid.
- dims
- Type: array<
System..::.Int32
>[]()[]
An array of length ndims indicating the size of the grid in each dimension.
- periods
- Type: array<
System..::.Boolean
>[]()[]
A logical array of length ndims indicating whether the grid is periodic in any given dimension.
- reorder
- Type: System..::.Boolean
Logical indicating whether ranks may be reordered or not.