| 15 |
|
#include "fSimulation.h" |
| 16 |
|
#include "fortranWrapDefines.hpp" |
| 17 |
|
#include "GenericData.hpp" |
| 18 |
+ |
#include "Minimizer.hpp" |
| 19 |
|
|
| 20 |
|
|
| 20 |
– |
|
| 21 |
|
class SimInfo{ |
| 22 |
|
|
| 23 |
|
public: |
| 81 |
|
int usePBC; // whether we use periodic boundry conditions. |
| 82 |
|
int useLJ; |
| 83 |
|
int useSticky; |
| 84 |
< |
int useDipole; |
| 84 |
> |
int useCharges; |
| 85 |
> |
int useDipoles; |
| 86 |
|
int useReactionField; |
| 87 |
|
int useGB; |
| 88 |
|
int useEAM; |
| 110 |
|
char mixingRule[100]; // the mixing rules for Lennard jones/van der walls |
| 111 |
|
BaseIntegrator *the_integrator; // the integrator of the simulation |
| 112 |
|
|
| 113 |
+ |
Minimizer* the_minimizer; // the energy minimizer |
| 114 |
+ |
bool has_minimizer; |
| 115 |
+ |
|
| 116 |
|
char finalName[300]; // the name of the eor file to be written |
| 117 |
|
char sampleName[300]; // the name of the dump file to be written |
| 118 |
|
char statusName[300]; // the name of the stat file to be written |
| 143 |
|
void getBoxM( double theBox[3][3] ); |
| 144 |
|
void scaleBox( double scale ); |
| 145 |
|
|
| 142 |
– |
void setRcut( double theRcut ); |
| 146 |
|
void setDefaultRcut( double theRcut ); |
| 144 |
– |
void setEcr( double theEcr ); |
| 147 |
|
void setDefaultEcr( double theEcr ); |
| 146 |
– |
void setEcr( double theEcr, double theEst ); |
| 148 |
|
void setDefaultEcr( double theEcr, double theEst ); |
| 149 |
|
void checkCutOffs( void ); |
| 150 |
|
|
| 187 |
|
|
| 188 |
|
SimState* myConfiguration; |
| 189 |
|
|
| 190 |
< |
double origRcut, origEcr; |
| 190 |
< |
int boxIsInit, haveOrigRcut, haveOrigEcr; |
| 190 |
> |
int boxIsInit, haveRcut, haveEcr; |
| 191 |
|
|
| 192 |
– |
double oldEcr; |
| 193 |
– |
double oldRcut; |
| 194 |
– |
|
| 192 |
|
double rList, rCut; // variables for the neighborlist |
| 193 |
|
double ecr; // the electrostatic cutoff radius |
| 194 |
|
double est; // the electrostatic skin thickness |