Go to the documentation of this file.
6 #ifndef OPENMPCD_MPI_HPP
7 #define OPENMPCD_MPI_HPP
77 T*
const buffer,
const std::size_t count,
78 const std::size_t root)
const;
107 MPI_Request*
const request,
108 std::size_t*
const sender = NULL)
const;
111 bool initializedByThisInstance;
119 #endif //OPENMPCD_MPI_HPP
std::size_t getRank() const
Returns the rank of the current process.
std::size_t getNumberOfProcesses() const
Returns the total number of processes.
void barrier()
Implements the MPI_BARRIER functionality.
bool test(MPI_Request *const request, std::size_t *const sender=NULL) const
Calls MPI_TEST on the given request.
void broadcast(T *const buffer, const std::size_t count, const std::size_t root) const
Implements the MPI_BCAST functionality.