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() { |
67 |
|
CheckParameter(MaxIterations, isPositive()); |
68 |
|
CheckParameter(TargetTemp, isNonNegative()); |
69 |
|
CheckParameter(TauThermostat, isPositive()); |
70 |
+ |
CheckParameter(DragCoefficient, isPositive()); |
71 |
|
} |
72 |
|
|
73 |
|
} |