Namespace for MPI utilities. More...
Functions | |
int | comm_rank (const MPI_Comm &comm) |
int | comm_size (const MPI_Comm &comm) |
bool | barrier (const MPI_Comm &comm) |
std::pair< bool, bool > | global_logical_and (const bool local_value, const MPI_Comm &comm) |
Performs the logical 'and' operation. More... | |
std::pair< bool, bool > | global_logical_or (const bool local_value, const MPI_Comm &comm) |
Performs the logical 'or' operation. More... | |
int | determine_local_root (const MPI_Comm &comm) |
Determines a local root rank. More... | |
Namespace for MPI utilities.
|
inline |
|
inline |
|
inline |
|
inline |
Performs the logical 'and' operation.
local_value | Local bool value. |
comm | MPI communicator. |
|
inline |
Performs the logical 'or' operation.
local_value | Local bool value. |
comm | MPI communicator. |
|
inline |
Determines a local root rank.
comm | MPI communicator. |