Defines data structures for MPIData in swSim. More...
#include "include/MPIData.hpp"
Public Member Functions | |
MPIData () | |
Create the MPIData object with mpi_comm_world. More... | |
MPIData (MPI_Comm l_mpi_comm) | |
Create the MPIData object with a specific communicator. More... | |
~MPIData () | |
Destroy the MPIData object. More... | |
Public Attributes | |
MPI_Comm | mComm |
An MPI Communicator. More... | |
int | rank |
This processes rank int he communicator. More... | |
int | size |
The total number of processes in the communicator. More... | |
swSim::MPIData::MPIData | ( | ) |
Create the MPIData object with mpi_comm_world.
swSim::MPIData::MPIData | ( | MPI_Comm | l_mpi_comm | ) |
Create the MPIData object with a specific communicator.
swSim::MPIData::~MPIData | ( | ) |
Destroy the MPIData object.
MPI_Comm swSim::MPIData::mComm |
An MPI Communicator.
int swSim::MPIData::rank |
This processes rank int he communicator.
int swSim::MPIData::size |
The total number of processes in the communicator.