projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r423: Added splash screen for About box
[ctsim.git]
/
include
/
mpiworld.h
diff --git
a/include/mpiworld.h
b/include/mpiworld.h
index 2889821708a0770f44dc58cdd1d3e03db0487258..5f2568f6ca43fb5eaf3eeb1de5d75f602b84ca49 100644
(file)
--- a/
include/mpiworld.h
+++ b/
include/mpiworld.h
@@
-27,12
+27,12
@@
#include <mpi++.h>
#include <vector.h>
#include <mpi++.h>
#include <vector.h>
-
+#include <string>
class MPIWorld
{
public:
class MPIWorld
{
public:
- MPIWorld (int& argc, char**& argv);
+ MPIWorld (int& argc, char*
const
*& argv);
void setTotalWorkUnits (int totalUnits);
void setTotalWorkUnits (int totalUnits);
@@
-62,7
+62,9
@@
class MPIWorld
MPI::Intracomm& getComm()
{ return m_comm; }
MPI::Intracomm& getComm()
{ return m_comm; }
-
+
+ void BcastString (string& str);
+
private:
int m_myRank;
int m_nProcessors;
private:
int m_myRank;
int m_nProcessors;