|
ESyS-Particle
2.3.4
|
#include <MpiInfo.h>
Public Member Functions | |
| MpiInfo (MPI_Comm comm=MPI_COMM_WORLD) | |
| virtual | ~MpiInfo () |
| int | rank () const |
| int | size () const |
Private Attributes | |
| MPI_Comm | m_comm |
Convenience class for obtaining rank of current process (and size of a specified MPI_Comm).
| MpiInfo::MpiInfo | ( | MPI_Comm | comm = MPI_COMM_WORLD | ) |
Rank and size for specified MPI_Comm.
|
virtual |
| int MpiInfo::rank | ( | ) | const |
References m_comm.
Referenced by CSubLatticeControler::performTiming(), and CheckPointParams::unpackFrom().

| int MpiInfo::size | ( | ) | const |
References m_comm.