A simple convenience class that calls MPI_Init() at construction and MPI_Finalize() at destruction. It also provides easy access to MPI_COMM_WORLD's rank and size.
More...
#include <communication.hpp>
A simple convenience class that calls MPI_Init() at construction and MPI_Finalize() at destruction. It also provides easy access to MPI_COMM_WORLD's rank and size.
Definition at line 32 of file communication.hpp.
mfem::MPI_Session::MPI_Session |
( |
| ) |
|
|
inline |
mfem::MPI_Session::MPI_Session |
( |
int & |
argc, |
|
|
char **& |
argv |
|
) |
| |
|
inline |
mfem::MPI_Session::~MPI_Session |
( |
| ) |
|
|
inline |
void mfem::MPI_Session::GetRankAndSize |
( |
| ) |
|
|
protected |
bool mfem::MPI_Session::Root |
( |
| ) |
const |
|
inline |
int mfem::MPI_Session::WorldRank |
( |
| ) |
const |
|
inline |
int mfem::MPI_Session::WorldSize |
( |
| ) |
const |
|
inline |
int mfem::MPI_Session::world_rank |
|
protected |
int mfem::MPI_Session::world_size |
|
protected |
The documentation for this class was generated from the following files: