projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r271: Added logic for sstream inclusion
[ctsim.git]
/
include
/
mpiworld.h
diff --git
a/include/mpiworld.h
b/include/mpiworld.h
index 2889821708a0770f44dc58cdd1d3e03db0487258..5818ed3df3d4c6149bc475a1aa16413fa0495f57 100644
(file)
--- a/
include/mpiworld.h
+++ b/
include/mpiworld.h
@@
-27,7
+27,7
@@
#include <mpi++.h>
#include <vector.h>
#include <mpi++.h>
#include <vector.h>
-
+#include <string>
class MPIWorld
{
class MPIWorld
{
@@
-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;