X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=include%2Fmpiworld.h;h=e0b8d04ed8c8875b1c92d72220812415b2c910e0;hb=bb09705ec0a20bf5b41b4248cf7800b000bc3fcb;hp=a791f17380e18e97b395d3f7ab51258dcc2123de;hpb=9f29c8b32c972db1178d6f8551d5cd57ceb67083;p=ctsim.git diff --git a/include/mpiworld.h b/include/mpiworld.h index a791f17..e0b8d04 100644 --- a/include/mpiworld.h +++ b/include/mpiworld.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: mpiworld.h,v 1.5 2001/01/28 19:10:18 kevin Exp $ +** $Id$ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -37,30 +37,30 @@ class MPIWorld void setTotalWorkUnits (int totalUnits); int getRank (void) const - { return m_myRank; } + { return m_myRank; } int getNumProcessors (void) const - { return m_nProcessors; } + { return m_nProcessors; } int getStartWorkUnit (int rank) const - { return m_vStartWorkUnit [rank]; } + { return m_vStartWorkUnit [rank]; } int getEndWorkUnit (int rank) const { return m_vEndWorkUnit [rank]; } int getLocalWorkUnits (int rank) const - { return m_vLocalWorkUnits [rank]; } + { return m_vLocalWorkUnits [rank]; } int getMyStartWorkUnit (void) const - { return m_vStartWorkUnit [m_myRank]; } + { return m_vStartWorkUnit [m_myRank]; } int getMyEndWorkUnit (void) const - { return m_vEndWorkUnit [m_myRank]; } + { return m_vEndWorkUnit [m_myRank]; } int getMyLocalWorkUnits (void) const - { return m_vLocalWorkUnits [m_myRank]; } + { return m_vLocalWorkUnits [m_myRank]; } - MPI::Intracomm& getComm() + MPI::Intracomm& getComm() { return m_comm; } void BcastString (string& str);