MPIDefaultAllToAllCommunicator Class Reference

A specialization of MPIAllToAllCommunicator which implements the all-to-all exchange algorithm which uses the MPI_Alltoallv function for the exchange. More...

#include <MPIDefaultAllToAllCommunicator.h>

Inheritance diagram for MPIDefaultAllToAllCommunicator:

Inheritance graph
[legend]
Collaboration diagram for MPIDefaultAllToAllCommunicator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MPIDefaultAllToAllCommunicator (MPIInputBufferVector &mpiInputBuffers, MPIOutputBufferVector &mpiOutputBuffers, MPI::Intracomm &comm, vector< bool > &incomingConnections, vector< bool > &outgoingConnections)
 Constructor.
virtual ~MPIDefaultAllToAllCommunicator ()
virtual void doExchangeAlgorithm ()
 The actual implementation of the exchange algorithm.
virtual void prepare ()
 Setup of the needstosend and needstoreceive flags at the beginning of the all-to-all exchange procedure.


Detailed Description

A specialization of MPIAllToAllCommunicator which implements the all-to-all exchange algorithm which uses the MPI_Alltoallv function for the exchange.

Definition at line 9 of file MPIDefaultAllToAllCommunicator.h.


Constructor & Destructor Documentation

MPIDefaultAllToAllCommunicator::MPIDefaultAllToAllCommunicator ( MPIInputBufferVector mpiInputBuffers,
MPIOutputBufferVector mpiOutputBuffers,
MPI::Intracomm &  comm,
vector< bool > &  incomingConnections,
vector< bool > &  outgoingConnections 
)

virtual MPIDefaultAllToAllCommunicator::~MPIDefaultAllToAllCommunicator (  )  [inline, virtual]

Definition at line 19 of file MPIDefaultAllToAllCommunicator.h.


Member Function Documentation

void MPIDefaultAllToAllCommunicator::doExchangeAlgorithm (  )  [virtual]

void MPIDefaultAllToAllCommunicator::prepare (  )  [virtual]

Setup of the needstosend and needstoreceive flags at the beginning of the all-to-all exchange procedure.

Implements MPIAllToAllCommunicator.

Definition at line 25 of file MPIDefaultAllToAllCommunicator.cpp.

References MPIAllToAllCommunicator::hasNextToSend, MPIAllToAllCommunicator::mpi_comm, MPIAllToAllCommunicator::needsToReceive, and MPIAllToAllCommunicator::needsToSend.


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

Generated on Wed Jul 9 16:34:51 2008 for PCSIM by  doxygen 1.5.5