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

Comparing trunk/src/io/Globals.cpp (file contents):
Revision 1078 by gezelter, Wed Oct 18 21:58:48 2006 UTC vs.
Revision 1126 by gezelter, Fri Apr 6 21:53:43 2007 UTC

# Line 65 | Line 65 | Globals::Globals() {
65    DefineOptionalParameter(SwitchingRadius, "switchingRadius");
66    DefineOptionalParameter(TempSet, "tempSet");
67    DefineOptionalParameter(ThermalTime, "thermalTime");
68 <  DefineOptionalParameter(TargetPressure, "targetPressure");
68 >  DefineOptionalParameter(TargetPressure, "targetPressure");  
69    DefineOptionalParameter(TauThermostat, "tauThermostat");
70    DefineOptionalParameter(TauBarostat, "tauBarostat");
71    DefineOptionalParameter(ZconsTime, "zconsTime");
# Line 100 | Line 100 | Globals::Globals() {
100    DefineOptionalParameter(BeadSize, "beadSize");
101    DefineOptionalParameter(FrozenBufferRadius, "frozenBufferRadius");
102    DefineOptionalParameter(LangevinBufferRadius, "langevinBufferRadius");
103 +  DefineOptionalParameter(NeighborListNeighbors,"NeighborListNeighbors");
104 +  DefineOptionalParameter(TempDepViscosityA,"tempDepViscosityA");
105 +  DefineOptionalParameter(TempDepViscosityB,"tempDepViscosityB");
106 +  DefineOptionalParameter(TempDepViscosityC,"tempDepViscosityC");
107 +  DefineOptionalParameter(TempDepViscosityD,"tempDepViscosityD");
108 +
109    
110    DefineOptionalParameterWithDefaultValue(UsePeriodicBoundaryConditions, "usePeriodicBoundaryConditions", true);
111 +  DefineOptionalParameterWithDefaultValue(UseAtomicVirial, "useAtomicVirial", true);
112    DefineOptionalParameterWithDefaultValue(UseInitalTime, "useInitialTime", false);
113    DefineOptionalParameterWithDefaultValue(UseIntialExtendedSystemState, "useInitialExtendedSystemState", false);
114    DefineOptionalParameterWithDefaultValue(OrthoBoxTolerance, "orthoBoxTolerance", 1E-6);  
# Line 184 | Line 191 | void Globals::validate() {
191    CheckParameter(BeadSize, isPositive());
192    CheckParameter(FrozenBufferRadius, isPositive());
193    CheckParameter(LangevinBufferRadius, isPositive());
194 +  CheckParameter(NeighborListNeighbors, isPositive());
195 +
196    for(std::vector<Component*>::iterator i = components_.begin(); i != components_.end(); ++i) {
197      if (!(*i)->findMoleculeStamp(moleculeStamps_)) {
198          std::ostringstream oss;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines