ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/io/Globals.hpp
(Generate patch)

Comparing branches/development/src/io/Globals.hpp (file contents):
Revision 1723 by gezelter, Thu May 24 20:59:54 2012 UTC vs.
Revision 1731 by gezelter, Thu May 31 12:25:30 2012 UTC

# Line 54 | Line 54
54   #include "types/ZconsStamp.hpp"
55   #include "types/RestraintStamp.hpp"
56   #include "types/MoleculeStamp.hpp"
57 + #include "flucq/FluctuatingChargeParameters.hpp"
58 + #include "rnemd/RNEMDParameters.hpp"
59   #include "utils/ParameterManager.hpp"
60  
61   namespace OpenMD {
# Line 138 | Line 140 | namespace OpenMD {
140      DeclareParameter(MTM_Io, RealType);
141      DeclareParameter(MTM_Sigma, RealType);    
142      DeclareParameter(MTM_R, RealType);    
141    DeclareParameter(UseRNEMD, bool);
142    DeclareParameter(RNEMD_exchangeTime, RealType);
143    DeclareParameter(RNEMD_nBins, int);
144    DeclareParameter(RNEMD_logWidth, int);
145    DeclareParameter(RNEMD_exchangeType, std::string);
146    DeclareParameter(RNEMD_objectSelection, std::string);
147    DeclareParameter(RNEMD_targetFlux, RealType);
148    DeclareParameter(RNEMD_targetJzKE, RealType);
149    DeclareParameter(RNEMD_targetJzpx, RealType);
150    DeclareParameter(RNEMD_targetJzpy, RealType);
151    DeclareParameter(RNEMD_targetJzpz, RealType);
152    DeclareParameter(RNEMD_binShift, bool);
153    DeclareParameter(RNEMD_outputTemperature, bool);
154    DeclareParameter(RNEMD_outputVx, bool);
155    DeclareParameter(RNEMD_outputVy, bool);
156    DeclareParameter(RNEMD_outputXyzTemperature, bool);
157    DeclareParameter(RNEMD_outputRotTemperature, bool);
143      DeclareParameter(UseRestraints, bool);
144      DeclareParameter(Restraint_file, std::string);
145      DeclareParameter(HULL_Method, std::string);
146      DeclareParameter(Alpha, RealType);
162    DeclareParameter(FlucQPropagator, std::string);
163    DeclareParameter(FlucQFriction, RealType);    
164    DeclareParameter(FlucQTolerance, RealType);    
165    DeclareParameter(FlucQMaxIterations, int);    
166    DeclareParameter(FlucQTargetTemp, RealType);
167    DeclareParameter(FlucQtauThermostat, RealType);
147      DeclareAlterableParameter(MDfileVersion, int);
148  
149    public:
# Line 183 | Line 162 | namespace OpenMD {
162      int getNRestraintStamps() {return restraints_.size();}
163      std::vector<RestraintStamp*> getRestraintStamps() {return restraints_;}
164      RestraintStamp* getRestraintStampAt(int index) {return restraints_.at(index);}    
165 +
166 +    bool addFluctuatingChargeParameters(FluctuatingChargeParameters* flucqPars);
167 +    FluctuatingChargeParameters* getFluctuatingChargeParameters() {return flucQpars_;}
168 +
169 +    bool addRNEMDParameters(RNEMDParameters* rnemdPars);
170 +    RNEMDParameters* getRNEMDParameters() {return rnemdPars_;}
171      
172      virtual void validate();
173    private:
# Line 192 | Line 177 | namespace OpenMD {
177      std::vector<RestraintStamp*> restraints_;    
178      std::map<std::string, MoleculeStamp*> moleculeStamps_;
179      std::pair<int, int> taggedAtomPair_;
180 +    FluctuatingChargeParameters* flucQpars_;
181 +    RNEMDParameters* rnemdPars_;
182   };
183   }
184   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines