| 20 |
|
#include "GenericData.hpp" |
| 21 |
|
//#include "Minimizer.hpp" |
| 22 |
|
//#include "OOPSEMinimizer.hpp" |
| 23 |
< |
|
| 23 |
> |
double roundMe( double x ); |
| 24 |
|
class OOPSEMinimizer; |
| 25 |
|
class SimInfo{ |
| 26 |
|
|
| 91 |
|
int useReactionField; |
| 92 |
|
int useGB; |
| 93 |
|
int useEAM; |
| 94 |
< |
|
| 94 |
> |
bool haveCutoffGroups; |
| 95 |
|
bool useInitXSstate; |
| 96 |
|
double orthoTolerance; |
| 97 |
|
|
| 123 |
|
char statusName[300]; // the name of the stat file to be written |
| 124 |
|
|
| 125 |
|
int seed; //seed for random number generator |
| 126 |
+ |
|
| 127 |
+ |
|
| 128 |
+ |
vector<double> mfact; |
| 129 |
+ |
int ngroup; |
| 130 |
+ |
vector<int> groupList; |
| 131 |
+ |
vector<int> groupStart; |
| 132 |
+ |
|
| 133 |
|
// refreshes the sim if things get changed (load balanceing, volume |
| 134 |
|
// adjustment, etc.) |
| 135 |
|
|
| 156 |
|
void scaleBox( double scale ); |
| 157 |
|
|
| 158 |
|
void setDefaultRcut( double theRcut ); |
| 159 |
< |
void setDefaultEcr( double theEcr ); |
| 153 |
< |
void setDefaultEcr( double theEcr, double theEst ); |
| 159 |
> |
void setDefaultRcut( double theRcut, double theRsw ); |
| 160 |
|
void checkCutOffs( void ); |
| 161 |
|
|
| 162 |
|
double getRcut( void ) { return rCut; } |
| 163 |
|
double getRlist( void ) { return rList; } |
| 164 |
< |
double getEcr( void ) { return ecr; } |
| 159 |
< |
double getEst( void ) { return est; } |
| 164 |
> |
double getRsw( void ) { return rSw; } |
| 165 |
|
double getMaxCutoff( void ) { return maxCutoff; } |
| 166 |
< |
|
| 166 |
> |
|
| 167 |
|
void setTime( double theTime ) { currentTime = theTime; } |
| 168 |
|
void incrTime( double the_dt ) { currentTime += the_dt; } |
| 169 |
|
void decrTime( double the_dt ) { currentTime -= the_dt; } |
| 175 |
|
|
| 176 |
|
void addProperty(GenericData* prop); |
| 177 |
|
GenericData* getProperty(const string& propName); |
| 178 |
< |
vector<GenericData*> getProperties(); |
| 178 |
> |
//vector<GenericData*>& getProperties() {return properties;} |
| 179 |
|
|
| 180 |
|
int getSeed(void) { return seed; } |
| 181 |
|
void setSeed(int theSeed) { seed = theSeed;} |
| 184 |
|
|
| 185 |
|
SimState* myConfiguration; |
| 186 |
|
|
| 187 |
< |
int boxIsInit, haveRcut, haveEcr; |
| 187 |
> |
int boxIsInit, haveRcut, haveRsw; |
| 188 |
|
|
| 189 |
|
double rList, rCut; // variables for the neighborlist |
| 190 |
< |
double ecr; // the electrostatic cutoff radius |
| 191 |
< |
double est; // the electrostatic skin thickness |
| 190 |
> |
double rSw; // the switching radius |
| 191 |
> |
|
| 192 |
|
double maxCutoff; |
| 193 |
|
|
| 194 |
|
double distXY; |
| 211 |
|
|
| 212 |
|
}; |
| 213 |
|
|
| 214 |
+ |
void getFortranGroupArray(SimInfo* info, vector<double>& mfact, int& ngroup, |
| 215 |
+ |
vector<int>& groupList, vector<int>& groupStart); |
| 216 |
+ |
|
| 217 |
|
#endif |