ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/SimInfo.hpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/SimInfo.hpp (file contents):
Revision 787 by mmeineke, Thu Sep 25 19:27:15 2003 UTC vs.
Revision 841 by mmeineke, Wed Oct 29 17:55:28 2003 UTC

# Line 97 | Line 97 | class SimInfo{ (public)
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
# Line 120 | Line 120 | class SimInfo{ (public)
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;
# Line 138 | Line 138 | class SimInfo{ (public)
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; }
149    double getEcr( void )   { return ecr; }
150    double getEst( void )   { return est; }
151 +  double getMaxCutoff( void ) { return maxCutoff; }
152  
153    void setTime( double theTime ) { currentTime = theTime; }
154 <  void incrTime( double dt ) { currentTime += dt; }
155 <  void decrTime( double dt ) { currentTime -= dt; }
154 >  void incrTime( double the_dt ) { currentTime += the_dt; }
155 >  void decrTime( double the_dt ) { currentTime -= the_dt; }
156    double getTime( void ) { return currentTime; }
157  
158    void wrapVector( double thePos[3] );
# Line 200 | Line 204 | class SimInfo{ (public)
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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines