X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fmpiworld.h;h=2889821708a0770f44dc58cdd1d3e03db0487258;hp=74042b3fea6706d23fd9692591b0b7a4ea0a8d68;hb=031437896d0dc6cac70c16e5604b10f5aa4d0767;hpb=c481fbf2890e6e3a0a5479a9e53e685634ce411a diff --git a/include/mpiworld.h b/include/mpiworld.h index 74042b3..2889821 100644 --- a/include/mpiworld.h +++ b/include/mpiworld.h @@ -60,7 +60,7 @@ class MPIWorld int getMyLocalWorkUnits (void) const { return m_vLocalWorkUnits [m_myRank]; } - MPI::Intracomm getComm() + MPI::Intracomm& getComm() { return m_comm; } private: @@ -72,4 +72,3 @@ private: MPI::Intracomm m_comm; }; -