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