GLAC  1.0
parallelparameters.h
Go to the documentation of this file.
1 
13 #ifndef PARALLELPARAMETERS_H
14 #define PARALLELPARAMETERS_H
15 
16 #include <mpi.h>
17 
24 namespace Parallel {
26 public:
28  static MPI_Group WORLD_GROUP;
34  static MPI_Group ACTIVE_GROUP;
36  static MPI_Comm ACTIVE_COMM;
37 
39  static bool active;
40 
43 };
44 }
45 
46 #endif // PARALLELPARAMETERS_H
static MPI_Comm ACTIVE_COMM
The communicator ACTIVE_COMM is the communicator for the ACTIVE_GROUP.
Definition: parallelparameters.h:36
static MPI_Group WORLD_GROUP
The WORLD_GROUP is the communicator used all processors allocated to the program.
Definition: parallelparameters.h:28
static MPI_Group ACTIVE_GROUP
Definition: parallelparameters.h:34
~ParallelParameters()
Definition: parallelparameters.cpp:16
static bool active
Variable for storing if processor is active(will always seek maximum possible of cores divisible to 2...
Definition: parallelparameters.h:39
ParallelParameters()
Definition: parallelparameters.cpp:11
Definition: parallelparameters.h:25
Parallel contains all of the relevant methods for communicating between the lattices.
Definition: communicator.h:17