--- trunk/mdtools/headers/mpiSimulation.hpp 2002/12/13 17:59:48 208 +++ trunk/mdtools/headers/mpiSimulation.hpp 2002/12/19 21:59:51 215 @@ -3,7 +3,10 @@ #include "SimInfo.hpp" #include "MakeStamps.hpp" +#define __C +#include "mpiComponentPlan.h" + class mpiSimulation{ public: @@ -27,26 +30,12 @@ class mpiSimulation{ (protected) protected: SimInfo* entryPlug; - - int myMolStart; - int myMolEnd; - int myAtomStart, myAtomEnd; - int myMol; - int myNlocal; - int *myIdents; - int numberProcessors; - int myNode; - // int processorNameLen; - // char* processorName; - int natomsRow,natomsCol; - int numberCols,numberRows; - int nmolsRow,nmolsCol,nmolsLocal; + mpiSimData* mpiPlug; + // int *myIdents; // is needed by Cpp only. It tells the molecule which stamp it is. - int simTotAtoms, simTotBonds, simTotBends, simTotTorsions; - int simTotSRI, simTotNmol; - }; +extern mpiSimulation* mpiSim; #endif