projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix build on multiple versions of wx-config
[ctsim.git]
/
tools
/
mpiworld.cpp
diff --git
a/tools/mpiworld.cpp
b/tools/mpiworld.cpp
index 100d516ab7f785ea0483a297d57a110790d080ba..cdcead769d629cbb63ee7ff5ddaf44e7e98aea03 100644
(file)
--- a/
tools/mpiworld.cpp
+++ b/
tools/mpiworld.cpp
@@
-9,7
+9,7
@@
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id
: mpiworld.cpp,v 1.3 2001/01/16 23:19:03 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
**
** 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
@@
-41,7
+41,7
@@
MPIWorld::MPIWorld (int& argc, char* const *& argv)
}
}
-void
+void
MPIWorld::setTotalWorkUnits(int totalWorkUnits)
{
if (m_nProcessors < 1)
MPIWorld::setTotalWorkUnits(int totalWorkUnits)
{
if (m_nProcessors < 1)
@@
-61,7
+61,7
@@
MPIWorld::setTotalWorkUnits(int totalWorkUnits)
currWorkUnits += m_vLocalWorkUnits[iProc];
}
currWorkUnits += m_vLocalWorkUnits[iProc];
}
-
+
}
void
}
void
@@
-76,7
+76,7
@@
MPIWorld::BcastString (string& str)
if (m_myRank == 0)
strcpy (buf, str.c_str());
if (m_myRank == 0)
strcpy (buf, str.c_str());
-
+
m_comm.Bcast (buf, len + 1, MPI::CHAR, 0);
if (m_myRank > 0)
m_comm.Bcast (buf, len + 1, MPI::CHAR, 0);
if (m_myRank > 0)