X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=tools%2Fmpiworld.cpp;h=cdcead769d629cbb63ee7ff5ddaf44e7e98aea03;hp=8122cf9e58c67f593f10dfb7f581bccdfd3cf541;hb=1a050c98763fbbc0662731b0b76953acede6f5d7;hpb=c8b19dfaffba9f06d8b6c40cb1bb83a8964867f7 diff --git a/tools/mpiworld.cpp b/tools/mpiworld.cpp index 8122cf9..cdcead7 100644 --- a/tools/mpiworld.cpp +++ b/tools/mpiworld.cpp @@ -41,7 +41,7 @@ MPIWorld::MPIWorld (int& argc, char* const *& argv) } -void +void MPIWorld::setTotalWorkUnits(int totalWorkUnits) { if (m_nProcessors < 1) @@ -61,7 +61,7 @@ MPIWorld::setTotalWorkUnits(int totalWorkUnits) currWorkUnits += m_vLocalWorkUnits[iProc]; } - + } void @@ -76,7 +76,7 @@ MPIWorld::BcastString (string& str) if (m_myRank == 0) strcpy (buf, str.c_str()); - + m_comm.Bcast (buf, len + 1, MPI::CHAR, 0); if (m_myRank > 0)