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; |
138 |
|
void scaleBox( double scale ); |
139 |
|
|
140 |
|
void setRcut( double theRcut ); |
141 |
+ |
void setDefaultRcut( double theRcut ); |
142 |
|
void setEcr( double theEcr ); |
143 |
+ |
void setDefaultEcr( double theEcr ); |
144 |
|
void setEcr( double theEcr, double theEst ); |
145 |
+ |
void setDefaultEcr( double theEcr, double theEst ); |
146 |
|
|
147 |
|
double getRcut( void ) { return rCut; } |
148 |
|
double getRlist( void ) { return rList; } |
204 |
|
void checkCutOffs( void ); |
205 |
|
|
206 |
|
// private function to initialize the fortran side of the simulation |
207 |
< |
void (*setFsimulation) setFortranSimList; |
207 |
> |
setFortranSim_TD setFsimulation; |
208 |
|
|
209 |
< |
void (*setFortranBoxSize) setFortranBoxList; |
209 |
> |
setFortranBox_TD setFortranBoxSize; |
210 |
|
|
211 |
< |
void (*notifyFortranCutOffs) notifyFortranCutOffList; |
211 |
> |
notifyFortranCutOff_TD notifyFortranCutOffs; |
212 |
|
|
213 |
|
//Addtional Properties of SimInfo |
214 |
|
map<string, GenericData*> properties; |