X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=include%2Fmpiworld.h;h=5f2568f6ca43fb5eaf3eeb1de5d75f602b84ca49;hb=100160988c5bd211bdbc4c6d7340426d8c6408c8;hp=2889821708a0770f44dc58cdd1d3e03db0487258;hpb=031437896d0dc6cac70c16e5604b10f5aa4d0767;p=ctsim.git diff --git a/include/mpiworld.h b/include/mpiworld.h index 2889821..5f2568f 100644 --- a/include/mpiworld.h +++ b/include/mpiworld.h @@ -27,12 +27,12 @@ #include #include - +#include class MPIWorld { public: - MPIWorld (int& argc, char**& argv); + MPIWorld (int& argc, char* const *& argv); void setTotalWorkUnits (int totalUnits); @@ -62,7 +62,9 @@ class MPIWorld MPI::Intracomm& getComm() { return m_comm; } - + + void BcastString (string& str); + private: int m_myRank; int m_nProcessors;