#include <mpi++.h>
#include <vector.h>
-
+#include <string>
class MPIWorld
{
int getMyLocalWorkUnits (void) const
{ return m_vLocalWorkUnits [m_myRank]; }
- MPI::Intracomm getComm()
+ MPI::Intracomm& getComm()
{ return m_comm; }
-
+
+ void BcastString (string& str);
+
private:
int m_myRank;
int m_nProcessors;
MPI::Intracomm m_comm;
};
-