#include <EsysMPI.h>
◆ ~JMPI_()
escript::JMPI_::~JMPI_ |
( |
| ) |
|
◆ JMPI_()
escript::JMPI_::JMPI_ |
( |
MPI_Comm | comm, |
|
|
bool | owncomm ) |
|
private |
◆ appendRankToFileName()
std::string escript::JMPI_::appendRankToFileName |
( |
const std::string & | fileName | ) |
const |
|
inline |
appends MPI rank to a file name if MPI size > 1
◆ counter()
int escript::JMPI_::counter |
( |
| ) |
const |
|
inline |
returns the current value of the message tag counter
◆ incCounter()
void escript::JMPI_::incCounter |
( |
int | i = 1 | ) |
|
|
inline |
increments the message tag counter by i
◆ isValid()
bool escript::JMPI_::isValid |
( |
| ) |
const |
|
inline |
returns true if this has a valid MPI communicator
References MPI_COMM_NULL.
◆ mod_rank()
int escript::JMPI_::mod_rank |
( |
int | k | ) |
const |
|
inline |
N = #CPUs, k is a CPU number but out of range or even negative. Return a CPU number in 0...N-1.
◆ setCounter()
void escript::JMPI_::setCounter |
( |
int | value | ) |
|
|
inline |
sets the message tag counter to value
◆ setDistribution()
◆ split()
◆ makeInfo
creates a JMPI shared pointer from MPI communicator if owncom is true, the communicator is freed when mpi info is destroyed.
◆ comm
◆ msg_tag_counter
int escript::JMPI_::msg_tag_counter |
|
private |
◆ ownscomm
bool escript::JMPI_::ownscomm |
|
private |
◆ rank
◆ size
The documentation for this class was generated from the following files: