ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/flucq/FluctuatingChargeParameters.cpp
(Generate patch)

Comparing branches/development/src/flucq/FluctuatingChargeParameters.cpp (file contents):
Revision 1765 by gezelter, Thu May 31 12:25:30 2012 UTC vs.
Revision 1766 by gezelter, Thu Jul 5 17:08:25 2012 UTC

# Line 54 | Line 54 | namespace OpenMD {
54      DefineOptionalParameterWithDefaultValue(MaxIterations, "maxIterations", 100);    
55      DefineOptionalParameterWithDefaultValue(TargetTemp, "targetTemp", 1.0e-6);
56      DefineOptionalParameterWithDefaultValue(TauThermostat, "tauThermostat", 10.0);
57 +    DefineOptionalParameterWithDefaultValue(DragCoefficient, "dragCoefficient", 0.01);
58    }
59    
60    FluctuatingChargeParameters::~FluctuatingChargeParameters() {    
# Line 66 | Line 67 | namespace OpenMD {
67      CheckParameter(MaxIterations, isPositive());    
68      CheckParameter(TargetTemp,  isNonNegative());
69      CheckParameter(TauThermostat, isPositive());
70 +    CheckParameter(DragCoefficient, isPositive());
71    }
72    
73   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines