** 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: mpiworld.h,v 1.5 2001/01/28 19:10:18 kevin Exp $
**
** 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
#include <mpi++.h>
#include <vector.h>
-
+#include <string>
class MPIWorld
{
public:
- MPIWorld (int& argc, char**& argv);
+ MPIWorld (int& argc, char* const *& argv);
void setTotalWorkUnits (int totalUnits);
MPI::Intracomm& getComm()
{ return m_comm; }
-
+
+ void BcastString (string& str);
+
private:
int m_myRank;
int m_nProcessors;