X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fmpiworld.h;h=e0b8d04ed8c8875b1c92d72220812415b2c910e0;hp=5f2568f6ca43fb5eaf3eeb1de5d75f602b84ca49;hb=1a050c98763fbbc0662731b0b76953acede6f5d7;hpb=4d4c9ac74d67bfa694404db2ced52363a93e8d93 diff --git a/include/mpiworld.h b/include/mpiworld.h index 5f2568f..e0b8d04 100644 --- a/include/mpiworld.h +++ b/include/mpiworld.h @@ -7,9 +7,9 @@ ** Date Started: June 6, 2000 ** ** This is part of the CTSim program -** Copyright (C) 1983-2000 Kevin Rosenberg +** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $id$ +** $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);