METHOD
platformEnv.h
Go to the documentation of this file.
1 #ifndef PLATFORM_ENV_H
2 #define PLATFORM_ENV_H
3 
5 
17 {
18  public:
19  int
21  rank,
22 
24 
25 
27 
28 
30 
31 
33 
34 
36 
37  testing;
38 
40  PlatformEnv(int testing=0) : testing(testing) {}
41 
43  virtual ~PlatformEnv() {}
44 };
45 
46 #endif
int leftYNeighbourRank
Global ids of this process's front and back neighbours.
Definition: platformEnv.h:20
int nxRanks
Number of processes in each dimension of the cartesian grid of processes.
Definition: platformEnv.h:20
PlatformEnv(int testing=0)
Constructor – Initialize global MPI communicator.
Definition: platformEnv.h:40
int rightYNeighbourRank
Global ids of this process's front and back neighbours.
Definition: platformEnv.h:20
virtual ~PlatformEnv()
Destructor.
Definition: platformEnv.h:43
PlatformEnv
Definition: platformEnv.h:16
int zRankId
Id of this MPI process in each dimension of the cartesian grid of processes.
Definition: platformEnv.h:20
int leftZNeighbourRank
Global ids of this process's bottom and top neighbour.
Definition: platformEnv.h:20
int rank
Global id of this MPI process (0 for serial job)
Definition: platformEnv.h:20
int testing
boolean flag used to disable MPI init/finalise during unit testing
Definition: platformEnv.h:20
int yRankId
Id of this MPI process in each dimension of the cartesian grid of processes.
Definition: platformEnv.h:20
int nyRanks
Number of processes in each dimension of the cartesian grid of processes.
Definition: platformEnv.h:20
int xRankId
Id of this MPI process in each dimension of the cartesian grid of processes.
Definition: platformEnv.h:20
int rightXNeighbourRank
Global ids of this process's left and right neighbours.
Definition: platformEnv.h:20
int nzRanks
Number of processes in each dimension of the cartesian grid of processes.
Definition: platformEnv.h:20
int leftXNeighbourRank
Global ids of this process's left and right neighbours.
Definition: platformEnv.h:20
int rightZNeighbourRank
Global ids of this process's bottom and top neighbour.
Definition: platformEnv.h:20
int nProc
Number of MPI processes in total (1 for serial job)
Definition: platformEnv.h:20