ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/SimInfo.hpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/SimInfo.hpp (file contents):
Revision 1031 by tim, Fri Feb 6 18:58:06 2004 UTC vs.
Revision 1139 by gezelter, Wed Apr 28 22:06:29 2004 UTC

# Line 6 | Line 6
6   #include <vector>
7  
8   #include "Atom.hpp"
9 + #include "RigidBody.hpp"
10   #include "Molecule.hpp"
11 + #include "Exclude.hpp"
12 + #include "SkipList.hpp"
13   #include "AbstractClasses.hpp"
14   #include "MakeStamps.hpp"
15   #include "SimState.hpp"
# Line 15 | Line 18
18   #include "fSimulation.h"
19   #include "fortranWrapDefines.hpp"
20   #include "GenericData.hpp"
21 < #include "Minimizer.hpp"
22 <
23 <
21 > //#include "Minimizer.hpp"
22 > //#include "OOPSEMinimizer.hpp"
23 > double roundMe( double x );
24 > class OOPSEMinimizer;
25   class SimInfo{
26  
27   public:
# Line 27 | Line 31 | class SimInfo{ (public)
31  
32    int n_atoms; // the number of atoms
33    Atom **atoms; // the array of atom objects
34 +
35 +  vector<RigidBody*> rigidBodies;  // A vector of rigid bodies
36 +  vector<StuntDouble*> integrableObjects;
37    
38    double tau[9]; // the stress tensor
39  
# Line 44 | Line 51 | class SimInfo{ (public)
51  
52    int n_dipoles; // number of dipoles
53  
54 <
55 <  int n_exclude;  // the # of pairs excluded from long range forces
49 <  Exclude** excludes;       // the pairs themselves
50 <
54 >  int n_exclude;
55 >  Exclude* excludes;  // the exclude list for ignoring pairs in fortran
56    int nGlobalExcludes;
57    int* globalExcludes; // same as above, but these guys participate in
58                         // no long range forces.
# Line 86 | Line 91 | class SimInfo{ (public)
91    int useReactionField;
92    int useGB;
93    int useEAM;
94 +  int useMolecularCutoffs;
95    
96    bool useInitXSstate;
97    double orthoTolerance;
# Line 110 | Line 116 | class SimInfo{ (public)
116    char mixingRule[100]; // the mixing rules for Lennard jones/van der walls
117    BaseIntegrator *the_integrator; // the integrator of the simulation
118  
119 <  Minimizer* the_minimizer; // the energy minimizer
119 >  OOPSEMinimizer* the_minimizer; // the energy minimizer
120    bool has_minimizer;
121  
122    char finalName[300];  // the name of the eor file to be written
# Line 137 | Line 143 | class SimInfo{ (public)
143    int getNDF();
144    int getNDFraw();
145    int getNDFtranslational();
146 <
146 >  int getTotIntegrableObjects();
147    void setBox( double newBox[3] );
148    void setBoxM( double newBox[3][3] );
149    void getBoxM( double theBox[3][3] );
# Line 161 | Line 167 | class SimInfo{ (public)
167  
168    void wrapVector( double thePos[3] );
169  
164  void matMul3(double a[3][3], double b[3][3], double out[3][3]);
165  void matVecMul3(double m[3][3], double inVec[3], double outVec[3]);
166  void invertMat3(double in[3][3], double out[3][3]);
167  void transposeMat3(double in[3][3], double out[3][3]);
168  void printMat3(double A[3][3]);
169  void printMat9(double A[9]);
170  double matDet3(double m[3][3]);
171  double matTrace3(double m[3][3]);
172
173  void crossProduct3(double a[3],double b[3], double out[3]);
174  double dotProduct3(double a[3], double b[3]);
175  double length3(double a[3]);
176  
170    SimState* getConfiguration( void ) { return myConfiguration; }
171    
172    void addProperty(GenericData* prop);
173    GenericData* getProperty(const string& propName);
174 <  vector<GenericData*> getProperties();      
174 >  //vector<GenericData*>& getProperties()  {return properties;}    
175  
176    int getSeed(void) {  return seed; }
177    void setSeed(int theSeed) {  seed = theSeed;}
# Line 197 | Line 190 | class SimInfo{ (public)
190    double distXY;
191    double distYZ;
192    double distZX;
200
201
193    
194    void calcHmatInv( void );
195    void calcBoxL();
196    double calcMaxCutOff();
197  
207
198    // private function to initialize the fortran side of the simulation
199    setFortranSim_TD setFsimulation;
200  
# Line 217 | Line 207 | class SimInfo{ (public)
207  
208   };
209  
220
221
210   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines