| 30 |
|
|
| 31 |
|
double tau[9]; // the stress tensor |
| 32 |
|
|
| 33 |
< |
unsigned int n_bonds; // number of bends |
| 34 |
< |
unsigned int n_bends; // number of bends |
| 35 |
< |
unsigned int n_torsions; // number of torsions |
| 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 ndfTrans; // number of translational degrees of freedom |
| 40 |
< |
unsigned int nZconstraints; // the number of zConstraints |
| 33 |
> |
int n_bonds; // number of bends |
| 34 |
> |
int n_bends; // number of bends |
| 35 |
> |
int n_torsions; // number of torsions |
| 36 |
> |
int n_oriented; // number of of atoms with orientation |
| 37 |
> |
int ndf; // number of actual degrees of freedom |
| 38 |
> |
int ndfRaw; // number of settable degrees of freedom |
| 39 |
> |
int ndfTrans; // number of translational degrees of freedom |
| 40 |
> |
int nZconstraints; // the number of zConstraints |
| 41 |
|
|
| 42 |
< |
unsigned int setTemp; // boolean to set the temperature at each sampleTime |
| 43 |
< |
unsigned int resetIntegrator; // boolean to reset the integrator |
| 42 |
> |
int setTemp; // boolean to set the temperature at each sampleTime |
| 43 |
> |
int resetIntegrator; // boolean to reset the integrator |
| 44 |
|
|
| 45 |
< |
unsigned int n_dipoles; // number of dipoles |
| 45 |
> |
int n_dipoles; // number of dipoles |
| 46 |
|
|
| 47 |
|
|
| 48 |
|
int n_exclude; // the # of pairs excluded from long range forces |
| 57 |
|
|
| 58 |
|
int n_constraints; // the number of constraints on the system |
| 59 |
|
|
| 60 |
< |
unsigned int n_SRI; // the number of short range interactions |
| 60 |
> |
int n_SRI; // the number of short range interactions |
| 61 |
|
|
| 62 |
|
double lrPot; // the potential energy from the long range calculations. |
| 63 |
|
|
| 97 |
|
int n_mol; // n_molecules; |
| 98 |
|
Molecule* molecules; // the array of molecules |
| 99 |
|
|
| 100 |
< |
int nComponents; // the number of componentsin the system |
| 100 |
> |
int nComponents; // the number of components in the system |
| 101 |
|
int* componentsNmol; // the number of molecules of each component |
| 102 |
|
MoleculeStamp** compStamps;// the stamps matching the components |
| 103 |
|
LinkedMolStamp* headStamp; // list of stamps used in the simulation |
| 120 |
|
|
| 121 |
|
// sets the internal function pointer to fortran. |
| 122 |
|
|
| 123 |
< |
void setInternal( void (*fSetup) setFortranSimList, |
| 124 |
< |
void (*fBox) setFortranBoxList, |
| 125 |
< |
void (*fCut) notifyFortranCutOffList ){ |
| 123 |
> |
void setInternal( setFortranSim_TD fSetup, |
| 124 |
> |
setFortranBox_TD fBox, |
| 125 |
> |
notifyFortranCutOff_TD fCut){ |
| 126 |
|
setFsimulation = fSetup; |
| 127 |
|
setFortranBoxSize = fBox; |
| 128 |
|
notifyFortranCutOffs = fCut; |
| 145 |
|
double getRlist( void ) { return rList; } |
| 146 |
|
double getEcr( void ) { return ecr; } |
| 147 |
|
double getEst( void ) { return est; } |
| 148 |
+ |
double getMaxCutoff( void ) { return maxCutoff; } |
| 149 |
|
|
| 150 |
|
void setTime( double theTime ) { currentTime = theTime; } |
| 151 |
< |
void incrTime( double dt ) { currentTime += dt; } |
| 152 |
< |
void decrTime( double dt ) { currentTime -= dt; } |
| 151 |
> |
void incrTime( double the_dt ) { currentTime += the_dt; } |
| 152 |
> |
void decrTime( double the_dt ) { currentTime -= the_dt; } |
| 153 |
|
double getTime( void ) { return currentTime; } |
| 154 |
|
|
| 155 |
|
void wrapVector( double thePos[3] ); |
| 201 |
|
void checkCutOffs( void ); |
| 202 |
|
|
| 203 |
|
// private function to initialize the fortran side of the simulation |
| 204 |
< |
void (*setFsimulation) setFortranSimList; |
| 204 |
> |
setFortranSim_TD setFsimulation; |
| 205 |
|
|
| 206 |
< |
void (*setFortranBoxSize) setFortranBoxList; |
| 206 |
> |
setFortranBox_TD setFortranBoxSize; |
| 207 |
|
|
| 208 |
< |
void (*notifyFortranCutOffs) notifyFortranCutOffList; |
| 208 |
> |
notifyFortranCutOff_TD notifyFortranCutOffs; |
| 209 |
|
|
| 210 |
|
//Addtional Properties of SimInfo |
| 211 |
|
map<string, GenericData*> properties; |