ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/headers/mpiSimulation.hpp
Revision: 215
Committed: Thu Dec 19 21:59:51 2002 UTC (21 years, 7 months ago) by chuckv
File size: 884 byte(s)
Log Message:
+ added lennard-jones force module and corresponding class.
+ created forceFactory directory.

File Contents

# User Rev Content
1 chuckv 131 #ifndef __MPISIMULATION__
2     #define __MPISIMULATION__
3 chuckv 121
4 chuckv 194 #include "SimInfo.hpp"
5 chuckv 195 #include "MakeStamps.hpp"
6 chuckv 215 #define __C
7     #include "mpiComponentPlan.h"
8 chuckv 194
9 chuckv 215
10 chuckv 121 class mpiSimulation{
11     public:
12    
13 chuckv 194 mpiSimulation(SimInfo* the_entryPlug);
14     ~mpiSimulation();
15    
16 mmeineke 199 void divideLabor( void );
17 chuckv 194
18 mmeineke 201 int getMyNode(void) { return myNode; }
19     int getMyMolStart( void ) { return myMolStart; }
20     int getMyMolEnd( void ) { return myMlEnd; }
21     int getMyMol( void ) { return myMol; }
22     int getMyAtomStart( void ) { return myAtomStart; }
23     int getMyAtomEnd( void ) { return myAtomEnd; }
24     int getMyNlocal( void ) { return myNlocal; }
25 mmeineke 208
26     int getTotAtoms( void ) { return simTotAtoms; }
27 chuckv 194
28 chuckv 121
29     private:
30    
31     protected:
32 chuckv 194 SimInfo* entryPlug;
33 chuckv 215 mpiSimData* mpiPlug;
34 chuckv 121
35 chuckv 215 // int *myIdents; // is needed by Cpp only. It tells the molecule which stamp it is.
36 mmeineke 201
37 chuckv 121 };
38 chuckv 131
39 chuckv 215 extern mpiSimulation* mpiSim;
40 chuckv 131
41     #endif