Communication with MPI. More...
#include <communicators.hh>


Classes | |
| class | Request |
Public Member Functions | |
| int | allgather (void *sbuf, uint cnt, void *rbuf) |
| int | allgather (uint *sbuf, uint cnt, uint *rbuf) |
| int | allgather (Real *sbuf, uint cnt, Real *rbuf) |
| int | alltoallV (uint *sndbuf, int *sndcounts, int *sdispls, uint *recvbuf, int *recvcounts, int *rdispls) |
| int | alltoallV (void *sndbuf, int *sndcounts, int *sdispls, void *recvbuf, int *recvcounts, int *rdispls) |
| int | barrier () |
| ComMPI (int *argc, char ***argv) | |
| int | nbsend (void *sbuf, uint cnt, uint *dest, uint ndest) |
| int | nbsend (Real *sbuf, uint cnt, uint *dest, uint ndest) |
| int | nbsend (uint *sbuf, uint cnt, uint *dest, uint ndest) |
| int | nrank () const |
| int | rank () const |
| int | receive (Real *rbuf, uint cnt, uint src) |
| int | receive (void *rbuf, uint cnt, uint src) |
| int | receive (uint *rbuf, uint cnt, uint src) |
| int | waitall () |
| ~ComMPI () | |
Protected Member Functions | |
| std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Private Attributes | |
| int | nrnk_ |
| Request * | request_ |
| int | rnk_ |
| Processor number and number of processors. | |
Communication with MPI.
Definition at line 73 of file communicators.hh.
| parallel::ComMPI::ComMPI | ( | int * | argc, |
| char *** | argv | ||
| ) |
| parallel::ComMPI::~ComMPI | ( | ) |
| int parallel::ComMPI::allgather | ( | void * | sbuf, |
| uint | cnt, | ||
| void * | rbuf | ||
| ) | [virtual] |
Implements parallel::Communicator.
| int parallel::ComMPI::allgather | ( | uint * | sbuf, |
| uint | cnt, | ||
| uint * | rbuf | ||
| ) | [virtual] |
Implements parallel::Communicator.
| int parallel::ComMPI::allgather | ( | Real * | sbuf, |
| uint | cnt, | ||
| Real * | rbuf | ||
| ) | [virtual] |
Implements parallel::Communicator.
| int parallel::ComMPI::alltoallV | ( | uint * | sndbuf, |
| int * | sndcounts, | ||
| int * | sdispls, | ||
| uint * | recvbuf, | ||
| int * | recvcounts, | ||
| int * | rdispls | ||
| ) | [virtual] |
Implements parallel::Communicator.
| int parallel::ComMPI::alltoallV | ( | void * | sndbuf, |
| int * | sndcounts, | ||
| int * | sdispls, | ||
| void * | recvbuf, | ||
| int * | recvcounts, | ||
| int * | rdispls | ||
| ) | [virtual] |
Implements parallel::Communicator.
| int parallel::ComMPI::barrier | ( | ) | [virtual] |
Implements parallel::Communicator.
| std::ostream& parallel::ComMPI::info | ( | std::ostream & | os | ) | const [inline, protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Definition at line 97 of file communicators.hh.
| int parallel::ComMPI::nbsend | ( | Real * | sbuf, |
| uint | cnt, | ||
| uint * | dest, | ||
| uint | ndest | ||
| ) | [virtual] |
Implements parallel::Communicator.
| int parallel::ComMPI::nbsend | ( | uint * | sbuf, |
| uint | cnt, | ||
| uint * | dest, | ||
| uint | ndest | ||
| ) | [virtual] |
Implements parallel::Communicator.
| int parallel::ComMPI::nbsend | ( | void * | sbuf, |
| uint | cnt, | ||
| uint * | dest, | ||
| uint | ndest | ||
| ) | [virtual] |
Implements parallel::Communicator.
| int parallel::ComMPI::nrank | ( | ) | const [inline, virtual] |
Implements parallel::Communicator.
Definition at line 106 of file communicators.hh.
| int parallel::ComMPI::rank | ( | ) | const [inline, virtual] |
Implements parallel::Communicator.
Definition at line 105 of file communicators.hh.
| int parallel::ComMPI::receive | ( | void * | rbuf, |
| uint | cnt, | ||
| uint | src | ||
| ) | [virtual] |
Implements parallel::Communicator.
| int parallel::ComMPI::receive | ( | uint * | rbuf, |
| uint | cnt, | ||
| uint | src | ||
| ) | [virtual] |
Implements parallel::Communicator.
| int parallel::ComMPI::receive | ( | Real * | rbuf, |
| uint | cnt, | ||
| uint | src | ||
| ) | [virtual] |
Implements parallel::Communicator.
| int parallel::ComMPI::waitall | ( | ) | [virtual] |
Implements parallel::Communicator.
int parallel::ComMPI::nrnk_ [private] |
Definition at line 92 of file communicators.hh.
Request* parallel::ComMPI::request_ [private] |
Definition at line 94 of file communicators.hh.
int parallel::ComMPI::rnk_ [private] |
Processor number and number of processors.
Definition at line 91 of file communicators.hh.