Class documentation of Concepts

Loading...
Searching...
No Matches

#include <communicators.hh>

Inheritance diagram for parallel::ComMPI:
parallel::Communicator concepts::OutputOperator

Public Member Functions

 ComMPI (int *argc, char ***argv)
 
int rank () const
 
int nrank () const
 
int receive (void *rbuf, uint cnt, uint src)
 
int receive (uint *rbuf, uint cnt, uint src)
 
int receive (Real *rbuf, uint cnt, uint src)
 
int nbsend (void *sbuf, uint cnt, uint *dest, uint ndest)
 
int nbsend (uint *sbuf, uint cnt, uint *dest, uint ndest)
 
int nbsend (Real *sbuf, uint cnt, uint *dest, uint ndest)
 
int waitall ()
 
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 (void *sndbuf, int *sndcounts, int *sdispls, void *recvbuf, int *recvcounts, int *rdispls)
 
int alltoallV (uint *sndbuf, int *sndcounts, int *sdispls, uint *recvbuf, int *recvcounts, int *rdispls)
 
int barrier ()
 

Protected Member Functions

std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

Communication with MPI

Definition at line 74 of file communicators.hh.

Member Function Documentation

◆ allgather() [1/3]

int parallel::ComMPI::allgather ( Real *  sbuf,
uint  cnt,
Real *  rbuf 
)
virtual

◆ allgather() [2/3]

int parallel::ComMPI::allgather ( uint *  sbuf,
uint  cnt,
uint *  rbuf 
)
virtual

◆ allgather() [3/3]

int parallel::ComMPI::allgather ( void *  sbuf,
uint  cnt,
void *  rbuf 
)
virtual

◆ alltoallV() [1/2]

int parallel::ComMPI::alltoallV ( uint *  sndbuf,
int *  sndcounts,
int *  sdispls,
uint *  recvbuf,
int *  recvcounts,
int *  rdispls 
)
virtual

◆ alltoallV() [2/2]

int parallel::ComMPI::alltoallV ( void *  sndbuf,
int *  sndcounts,
int *  sdispls,
void *  recvbuf,
int *  recvcounts,
int *  rdispls 
)
virtual

◆ barrier()

int parallel::ComMPI::barrier ( )
virtual

◆ info()

std::ostream & parallel::ComMPI::info ( std::ostream &  os) const
inlineprotectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 98 of file communicators.hh.

◆ nbsend() [1/3]

int parallel::ComMPI::nbsend ( Real *  sbuf,
uint  cnt,
uint *  dest,
uint  ndest 
)
virtual

◆ nbsend() [2/3]

int parallel::ComMPI::nbsend ( uint *  sbuf,
uint  cnt,
uint *  dest,
uint  ndest 
)
virtual

◆ nbsend() [3/3]

int parallel::ComMPI::nbsend ( void *  sbuf,
uint  cnt,
uint *  dest,
uint  ndest 
)
virtual

◆ nrank()

int parallel::ComMPI::nrank ( ) const
inlinevirtual

Implements parallel::Communicator.

Definition at line 107 of file communicators.hh.

◆ rank()

int parallel::ComMPI::rank ( ) const
inlinevirtual

Implements parallel::Communicator.

Definition at line 106 of file communicators.hh.

◆ receive() [1/3]

int parallel::ComMPI::receive ( Real *  rbuf,
uint  cnt,
uint  src 
)
virtual

◆ receive() [2/3]

int parallel::ComMPI::receive ( uint *  rbuf,
uint  cnt,
uint  src 
)
virtual

◆ receive() [3/3]

int parallel::ComMPI::receive ( void *  rbuf,
uint  cnt,
uint  src 
)
virtual

◆ waitall()

int parallel::ComMPI::waitall ( )
virtual

The documentation for this class was generated from the following file: