projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r10662: new upstream: 4.4.0. Changes to support X.org
[ctsim.git]
/
include
/
mpiworld.h
diff --git
a/include/mpiworld.h
b/include/mpiworld.h
index 2889821708a0770f44dc58cdd1d3e03db0487258..4d66c5fefaa8a8ae735a394b63eae52226516eea 100644
(file)
--- a/
include/mpiworld.h
+++ b/
include/mpiworld.h
@@
-7,9
+7,9
@@
** Date Started: June 6, 2000
**
** This is part of the CTSim program
** Date Started: June 6, 2000
**
** This is part of the CTSim program
-** Copyright (
C) 1983-2000
Kevin Rosenberg
+** Copyright (
c) 1983-2001
Kevin Rosenberg
**
**
-** $
i
d$
+** $
I
d$
**
** 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
@@
-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;