35 |
|
* |
36 |
|
* [1] Meineke, et al., J. Comp. Chem. 26, 252-271 (2005). |
37 |
|
* [2] Fennell & Gezelter, J. Chem. Phys. 124, 234104 (2006). |
38 |
< |
* [3] Sun, Lin & Gezelter, J. Chem. Phys. 128, 24107 (2008). |
39 |
< |
* [4] Vardeman & Gezelter, in progress (2009). |
38 |
> |
* [3] Sun, Lin & Gezelter, J. Chem. Phys. 128, 234107 (2008). |
39 |
> |
* [4] Kuang & Gezelter, J. Chem. Phys. 133, 164101 (2010). |
40 |
> |
* [5] Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011). |
41 |
|
*/ |
42 |
|
|
43 |
|
#ifndef IO_GLOBALS_HPP |
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 "optimization/MinimizerParameters.hpp" |
60 |
|
#include "utils/ParameterManager.hpp" |
61 |
|
|
62 |
|
namespace OpenMD { |
83 |
|
DeclareParameter(UsePeriodicBoundaryConditions, bool); |
84 |
|
DeclareParameter(TargetPressure, RealType); |
85 |
|
DeclareParameter(UseAtomicVirial, bool); |
86 |
+ |
DeclareParameter(UseLongRangeCorrections, bool); |
87 |
|
DeclareParameter(TauThermostat, RealType); |
88 |
|
DeclareParameter(TauBarostat, RealType); |
89 |
|
DeclareParameter(ZconsTime, RealType); |
93 |
|
DeclareParameter(UseInitalTime, bool); |
94 |
|
DeclareParameter(UseIntialExtendedSystemState, bool); |
95 |
|
DeclareParameter(OrthoBoxTolerance, RealType); |
91 |
– |
DeclareParameter(Minimizer, std::string); |
92 |
– |
DeclareParameter(MinimizerMaxIter, RealType); |
93 |
– |
DeclareParameter(MinimizerWriteFreq, int); |
94 |
– |
DeclareParameter(MinimizerStepSize, RealType); |
95 |
– |
DeclareParameter(MinimizerFTol, RealType); |
96 |
– |
DeclareParameter(MinimizerGTol, RealType); |
97 |
– |
DeclareParameter(MinimizerLSTol, RealType); |
98 |
– |
DeclareParameter(MinimizerLSMaxIter, int); |
96 |
|
DeclareParameter(ZconsGap, RealType); |
97 |
|
DeclareParameter(ZconsFixtime, RealType); |
98 |
|
DeclareParameter(ZconsUsingSMD, bool); |
103 |
|
DeclareParameter(ForceFieldFileName, std::string); |
104 |
|
DeclareParameter(SurfaceTension, RealType); |
105 |
|
DeclareParameter(PrintPressureTensor, bool); |
106 |
+ |
DeclareParameter(PrintHeatFlux, bool); |
107 |
|
DeclareParameter(TaggedAtomPair, intPair); |
108 |
|
DeclareParameter(PrintTaggedPairDistance, bool); |
109 |
|
DeclareParameter(ElectrostaticSummationMethod, std::string); |
110 |
|
DeclareParameter(ElectrostaticScreeningMethod, std::string); |
111 |
|
DeclareParameter(DampingAlpha, RealType); |
112 |
|
DeclareParameter(Dielectric, RealType); |
113 |
+ |
DeclareParameter(CutoffMethod, std::string); |
114 |
|
DeclareParameter(CutoffPolicy, std::string); |
115 |
|
DeclareParameter(SwitchingFunctionType, std::string); |
116 |
|
DeclareParameter(CompressDumpFile, bool); |
117 |
|
DeclareParameter(OutputForceVector, bool); |
118 |
|
DeclareParameter(OutputParticlePotential, bool); |
119 |
+ |
DeclareParameter(OutputElectricField, bool); |
120 |
+ |
DeclareParameter(OutputFluctuatingCharges, bool); |
121 |
+ |
DeclareParameter(OutputSitePotential, bool); |
122 |
|
DeclareParameter(SkinThickness, RealType); |
123 |
|
DeclareParameter(StatFileFormat, std::string); |
124 |
|
DeclareParameter(HydroPropFile, std::string); |
135 |
|
DeclareParameter(MTM_Io, RealType); |
136 |
|
DeclareParameter(MTM_Sigma, RealType); |
137 |
|
DeclareParameter(MTM_R, RealType); |
136 |
– |
DeclareParameter(UseRNEMD, bool); |
137 |
– |
DeclareParameter(RNEMD_exchangeTime, RealType); |
138 |
– |
DeclareParameter(RNEMD_nBins, int); |
139 |
– |
DeclareParameter(RNEMD_logWidth, int); |
140 |
– |
DeclareParameter(RNEMD_exchangeType, std::string); |
141 |
– |
DeclareParameter(RNEMD_objectSelection, std::string); |
142 |
– |
DeclareParameter(RNEMD_targetFlux, RealType); |
143 |
– |
DeclareParameter(RNEMD_targetJzKE, RealType); |
144 |
– |
DeclareParameter(RNEMD_targetJzpx, RealType); |
145 |
– |
DeclareParameter(RNEMD_targetJzpy, RealType); |
146 |
– |
DeclareParameter(RNEMD_targetJzpz, RealType); |
147 |
– |
DeclareParameter(RNEMD_binShift, bool); |
148 |
– |
DeclareParameter(RNEMD_outputTemperature, bool); |
149 |
– |
DeclareParameter(RNEMD_outputVx, bool); |
150 |
– |
DeclareParameter(RNEMD_outputVy, bool); |
151 |
– |
DeclareParameter(RNEMD_outputXyzTemperature, bool); |
152 |
– |
DeclareParameter(RNEMD_outputRotTemperature, bool); |
138 |
|
DeclareParameter(UseRestraints, bool); |
139 |
|
DeclareParameter(Restraint_file, std::string); |
140 |
|
DeclareParameter(HULL_Method, std::string); |
141 |
|
DeclareParameter(Alpha, RealType); |
142 |
< |
|
142 |
> |
DeclareAlterableParameter(MDfileVersion, int); |
143 |
> |
DeclareParameter(ElectricField, OpenMD::Vector3d); |
144 |
> |
DeclareParameter(ConstraintTime, RealType); |
145 |
> |
|
146 |
|
public: |
147 |
|
bool addComponent(Component* comp); |
148 |
|
bool addZConsStamp(ZConsStamp* zcons); |
160 |
|
std::vector<RestraintStamp*> getRestraintStamps() {return restraints_;} |
161 |
|
RestraintStamp* getRestraintStampAt(int index) {return restraints_.at(index);} |
162 |
|
|
163 |
< |
//std::string getRestraint_file(){ |
163 |
> |
bool addFluctuatingChargeParameters(FluctuatingChargeParameters* flucqPars); |
164 |
> |
FluctuatingChargeParameters* getFluctuatingChargeParameters() {return flucQpars_;} |
165 |
> |
|
166 |
> |
bool addRNEMDParameters(RNEMDParameters* rnemdPars); |
167 |
> |
RNEMDParameters* getRNEMDParameters() {return rnemdPars_;} |
168 |
> |
|
169 |
> |
bool addMinimizerParameters(MinimizerParameters* miniPars); |
170 |
> |
MinimizerParameters* getMinimizerParameters() {return minimizerPars_;} |
171 |
|
|
172 |
|
virtual void validate(); |
173 |
|
private: |
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 |
+ |
MinimizerParameters* minimizerPars_; |
183 |
|
}; |
184 |
|
} |
185 |
|
#endif |