00001 #ifndef MPIDEFAULTALLTOALLCOMMUNICATOR_H_ 00002 #define MPIDEFAULTALLTOALLCOMMUNICATOR_H_ 00003 00004 #include "MPIAllToAllCommunicator.h" 00005 #include "MPIInputSpikeBuffer.h" 00006 #include "MPIOutputSpikeBuffer.h" 00007 00009 class MPIDefaultAllToAllCommunicator : public MPIAllToAllCommunicator 00010 { 00011 public: 00013 MPIDefaultAllToAllCommunicator(MPIInputBufferVector & mpiInputBuffers, 00014 MPIOutputBufferVector & mpiOutputBuffers, 00015 MPI::Intracomm & comm, 00016 vector<bool> &incomingConnections, 00017 vector<bool> &outgoingConnections); 00018 00019 virtual ~MPIDefaultAllToAllCommunicator() {}; 00020 00022 00025 virtual void doExchangeAlgorithm(); 00026 00028 virtual void prepare(); 00029 00030 protected: 00031 }; 00032 00033 #endif /*MPIDEFAULTALLTOALLCOMMUNICATOR_H_*/