ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/brains/mpiSimulation.hpp
Revision: 1725
Committed: Wed Nov 10 22:01:06 2004 UTC (20 years, 5 months ago) by tim
File size: 676 byte(s)
Log Message:
another painful day
(1) SimCreator, SimInfo, mpiSimulation
(2) DumpReader, DumpWriter (InitializeFrom File will be removed)
(3) ForceField (at least LJ) and BondType, BendType, TorsionType
(4)Integrator
(5)oopse.cpp
(6)visitors & Dump2XYZ
(7)SimpleBuilder
(8)Constraint & ZConstraint

File Contents

# User Rev Content
1 gezelter 1490 #ifndef __MPISIMULATION__
2     #define __MPISIMULATION__
3    
4 tim 1492 #include "brains/SimInfo.hpp"
5     #include "types/MakeStamps.hpp"
6 gezelter 1490 #define __C
7 tim 1492 #include "UseTheForce/mpiComponentPlan.h"
8 gezelter 1490
9 chuckv 1619 #include "UseTheForce/DarkSide/simParallel_interface.h"
10 gezelter 1490
11     class mpiSimulation{
12     public:
13    
14 tim 1722 mpiSimulation(MoleculeStamp** mol);
15 gezelter 1490 ~mpiSimulation();
16    
17     void divideLabor();
18    
19 tim 1722 int getMyNode() { return parallelData->myNode; }
20     int getNProcessors() { return parallelData->nProcessors; }
21    
22     int* getMolToProcMap() { return MolToProcMap; }
23 gezelter 1490
24 tim 1722
25 gezelter 1490 // call at the begining and after load balancing
26    
27 tim 1722 void mpiRefresh( );
28 gezelter 1490
29     protected:
30 tim 1722
31 gezelter 1490 mpiSimData* parallelData;
32     int *MolToProcMap;
33 tim 1722
34 gezelter 1490 };
35    
36     #endif