|
METHOD
|
#include <platformEnv.h>

Public Member Functions | |
| PlatformEnv (int testing=0) | |
| virtual | ~PlatformEnv () |
Public Attributes | |
| int | nProc |
| int | rank |
| int | testing |
| int | nxRanks |
| int | nyRanks |
| int | nzRanks |
| int | xRankId |
| int | yRankId |
| int | zRankId |
| int | leftXNeighbourRank |
| int | rightXNeighbourRank |
| int | leftYNeighbourRank |
| int | rightYNeighbourRank |
| int | leftZNeighbourRank |
| int | rightZNeighbourRank |
For a 2D problem, specify nzRanks = 1 For a 1D problem, specify nzRanks = 1, nyRanks = 1
The number of ranks in each dimension must be a factor of the number of cells in the dimension
Definition at line 16 of file platformEnv.h.
|
inline |
Constructor – Initialize global MPI communicator.
Definition at line 40 of file platformEnv.h.
|
inlinevirtual |
Destructor.
Definition at line 43 of file platformEnv.h.
| int PlatformEnv::leftXNeighbourRank |
Global ids of this process's left and right neighbours.
Definition at line 20 of file platformEnv.h.
| int PlatformEnv::leftYNeighbourRank |
Global ids of this process's front and back neighbours.
Definition at line 20 of file platformEnv.h.
| int PlatformEnv::leftZNeighbourRank |
Global ids of this process's bottom and top neighbour.
Definition at line 20 of file platformEnv.h.
| int PlatformEnv::nProc |
Number of MPI processes in total (1 for serial job)
Definition at line 20 of file platformEnv.h.
| int PlatformEnv::nxRanks |
Number of processes in each dimension of the cartesian grid of processes.
Definition at line 20 of file platformEnv.h.
| int PlatformEnv::nyRanks |
Number of processes in each dimension of the cartesian grid of processes.
Definition at line 20 of file platformEnv.h.
| int PlatformEnv::nzRanks |
Number of processes in each dimension of the cartesian grid of processes.
Definition at line 20 of file platformEnv.h.
| int PlatformEnv::rank |
Global id of this MPI process (0 for serial job)
Definition at line 20 of file platformEnv.h.
| int PlatformEnv::rightXNeighbourRank |
Global ids of this process's left and right neighbours.
Definition at line 20 of file platformEnv.h.
| int PlatformEnv::rightYNeighbourRank |
Global ids of this process's front and back neighbours.
Definition at line 20 of file platformEnv.h.
| int PlatformEnv::rightZNeighbourRank |
Global ids of this process's bottom and top neighbour.
Definition at line 20 of file platformEnv.h.
| int PlatformEnv::testing |
boolean flag used to disable MPI init/finalise during unit testing
Definition at line 20 of file platformEnv.h.
| int PlatformEnv::xRankId |
Id of this MPI process in each dimension of the cartesian grid of processes.
Definition at line 20 of file platformEnv.h.
| int PlatformEnv::yRankId |
Id of this MPI process in each dimension of the cartesian grid of processes.
Definition at line 20 of file platformEnv.h.
| int PlatformEnv::zRankId |
Id of this MPI process in each dimension of the cartesian grid of processes.
Definition at line 20 of file platformEnv.h.