MFEM
v4.6.0
Finite element discretization library
|
A simple convenience class based on the Mpi singleton class above. Preserved for backward compatibility. New code should use Mpi::Init() and other Mpi methods instead. More...
#include <communication.hpp>
Public Member Functions | |
MPI_Session () | |
MPI_Session (int &argc, char **&argv) | |
int | WorldRank () const |
Return MPI_COMM_WORLD's rank. More... | |
int | WorldSize () const |
Return MPI_COMM_WORLD's size. More... | |
bool | Root () const |
Return true if WorldRank() == 0. More... | |
A simple convenience class based on the Mpi singleton class above. Preserved for backward compatibility. New code should use Mpi::Init() and other Mpi methods instead.
Definition at line 93 of file communication.hpp.
|
inline |
Definition at line 96 of file communication.hpp.
|
inline |
Definition at line 97 of file communication.hpp.
|
inline |
Return true if WorldRank() == 0.
Definition at line 103 of file communication.hpp.
|
inline |
Return MPI_COMM_WORLD's rank.
Definition at line 99 of file communication.hpp.
|
inline |
Return MPI_COMM_WORLD's size.
Definition at line 101 of file communication.hpp.