METHOD
serialEnv.h
Go to the documentation of this file.
1 #ifndef SERIAL_ENV_H
2 #define SERIAL_ENV_H
3 
4 #include "platformEnv.h"
5 
7 
18 class SerialEnv : public PlatformEnv
19 {
20  public:
21 
22  // TODO -- should just hard code nxRanks=nyRanks=nzRanks=1 for serialEnv
24  SerialEnv(int *argcP, char **argvP[], int nxRanks, int nyRanks, int nzRanks, int testing=0);
25 
27  virtual ~SerialEnv();
28 };
29 
30 #endif
SerialEnv(int *argcP, char **argvP[], int nxRanks, int nyRanks, int nzRanks, int testing=0)
Constructor – record that we are running on only a single process.
int nxRanks
Number of processes in each dimension of the cartesian grid of processes.
Definition: platformEnv.h:20
PlatformEnv
Definition: platformEnv.h:16
int testing
boolean flag used to disable MPI init/finalise during unit testing
Definition: platformEnv.h:20
virtual ~SerialEnv()
Destructor.
int nyRanks
Number of processes in each dimension of the cartesian grid of processes.
Definition: platformEnv.h:20
int nzRanks
Number of processes in each dimension of the cartesian grid of processes.
Definition: platformEnv.h:20
SerialEnv
Definition: serialEnv.h:18