121 |
|
DefineOptionalParameter(SurfaceTension, "surfaceTension"); |
122 |
|
DefineOptionalParameter(PrintPressureTensor, "printPressureTensor"); |
123 |
|
DefineOptionalParameter(ElectrostaticSummationMethod, "electrostaticSummationMethod"); |
124 |
+ |
DefineOptionalParameter(ElectrostaticScreeningMethod, "electrostaticScreeningMethod"); |
125 |
|
DefineOptionalParameter(CutoffPolicy, "cutoffPolicy"); |
126 |
|
|
127 |
|
DefineOptionalParameterWithDefaultValue(MixingRule, "mixingRule", "standard"); |
134 |
|
DefineOptionalParameterWithDefaultValue(ThermIntDistSpringConst, "thermIntDistSpringConst", 6.0); |
135 |
|
DefineOptionalParameterWithDefaultValue(ThermIntThetaSpringConst, "thermIntThetaSpringConst", 7.5); |
136 |
|
DefineOptionalParameterWithDefaultValue(ThermIntOmegaSpringConst, "thermIntOmegaSpringConst", 13.5); |
137 |
< |
DefineOptionalParameterWithDefaultValue(DampingAlpha, "dampingAlpha", 1.5); |
137 |
> |
DefineOptionalParameterWithDefaultValue(DampingAlpha, "dampingAlpha", 0.2); |
138 |
|
DefineOptionalParameterWithDefaultValue(CompressDumpFile, "compressDumpFile", 0); |
139 |
+ |
DefineOptionalParameterWithDefaultValue(DumpForceVector, "dumpForceVector", 0); |
140 |
|
DefineOptionalParameterWithDefaultValue(SkinThickness, "skinThickness", 1.0); |
141 |
|
DefineOptionalParameterWithDefaultValue(StatFileFormat, "statFileFormat", "TIME|TOTAL_ENERGY|POTENTIAL_ENERGY|KINETIC_ENERGY|TEMPERATURE|PRESSURE|VOLUME|CONSERVED_QUANTITY"); |
142 |
|
|
387 |
|
CheckParameter(ThermIntThetaSpringConst, isPositive()); |
388 |
|
CheckParameter(ThermIntOmegaSpringConst, isPositive()); |
389 |
|
CheckParameter(SurfaceTension, isPositive()); |
390 |
< |
CheckParameter(ElectrostaticSummationMethod, isEqualIgnoreCase(std::string("NONE")) || isEqualIgnoreCase(std::string("UNDAMPED_WOLF")) || isEqualIgnoreCase(std::string("DAMPED_WOLF")) || isEqualIgnoreCase(std::string("REACTION_FIELD")) ); |
390 |
> |
CheckParameter(ElectrostaticSummationMethod, isEqualIgnoreCase(std::string("NONE")) || isEqualIgnoreCase(std::string("SHIFTED_POTENTIAL")) || isEqualIgnoreCase(std::string("SHIFTED_FORCE")) || isEqualIgnoreCase(std::string("REACTION_FIELD"))); |
391 |
> |
CheckParameter(ElectrostaticScreeningMethod, isEqualIgnoreCase(std::string("UNDAMPED")) || isEqualIgnoreCase(std::string("DAMPED"))); |
392 |
|
CheckParameter(CutoffPolicy, isEqualIgnoreCase(std::string("MIX")) || isEqualIgnoreCase(std::string("MAX")) || isEqualIgnoreCase(std::string("TRADITIONAL"))); |
393 |
|
//CheckParameter(StatFileFormat,); |
394 |
|
//CheckParameter(MixingRule,); |
396 |
|
CheckParameter(ThermIntDistSpringConst, isPositive()); |
397 |
|
CheckParameter(ThermIntThetaSpringConst, isPositive()); |
398 |
|
CheckParameter(ThermIntOmegaSpringConst, isPositive()); |
399 |
< |
CheckParameter(DampingAlpha,isPositive()); |
399 |
> |
CheckParameter(DampingAlpha,isNonNegative()); |
400 |
|
CheckParameter(SkinThickness, isPositive()); |
401 |
|
|
402 |
|
//@todo memory leak |