9 |
|
#include "Molecule.hpp" |
10 |
|
#include "AbstractClasses.hpp" |
11 |
|
#include "MakeStamps.hpp" |
12 |
+ |
#include "SimState.hpp" |
13 |
|
|
14 |
|
#define __C |
15 |
|
#include "fSimulation.h" |
23 |
|
public: |
24 |
|
|
25 |
|
SimInfo(); |
26 |
< |
~SimInfo(){} |
26 |
> |
~SimInfo(); |
27 |
|
|
28 |
|
int n_atoms; // the number of atoms |
29 |
|
Atom **atoms; // the array of atom objects |
36 |
|
unsigned int n_oriented; // number of of atoms with orientation |
37 |
|
unsigned int ndf; // number of actual degrees of freedom |
38 |
|
unsigned int ndfRaw; // number of settable degrees of freedom |
39 |
+ |
unsigned int nZconstraints; // the number of zConstraints |
40 |
|
|
41 |
|
unsigned int setTemp; // boolean to set the temperature at each sampleTime |
42 |
|
|
108 |
|
char sampleName[300]; // the name of the dump file to be written |
109 |
|
char statusName[300]; // the name of the stat file to be written |
110 |
|
|
111 |
< |
|
111 |
> |
int seed; //seed for random number generator |
112 |
|
// refreshes the sim if things get changed (load balanceing, volume |
113 |
|
// adjustment, etc.) |
114 |
|
|
156 |
|
void printMat3(double A[3][3]); |
157 |
|
void printMat9(double A[9]); |
158 |
|
double matDet3(double m[3][3]); |
159 |
+ |
|
160 |
+ |
SimState* getConfiguration( void ) { return myConfiguration; } |
161 |
|
|
158 |
– |
|
162 |
|
void addProperty(GenericData* prop); |
163 |
|
GenericData* getProperty(const string& propName); |
164 |
|
vector<GenericData*> getProperties(); |
165 |
< |
|
165 |
> |
|
166 |
> |
int getSeed(void) { return seed; } |
167 |
> |
void setSeed(int theSeed) { seed = theSeed;} |
168 |
> |
|
169 |
|
private: |
170 |
|
|
171 |
+ |
SimState* myConfiguration; |
172 |
+ |
|
173 |
|
double origRcut, origEcr; |
174 |
|
int boxIsInit, haveOrigRcut, haveOrigEcr; |
175 |
|
|