ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/restraints/ThermoIntegrationForceManager.cpp
(Generate patch)

Comparing trunk/src/restraints/ThermoIntegrationForceManager.cpp (file contents):
Revision 990 by chrisfen, Mon Jun 19 01:36:06 2006 UTC vs.
Revision 998 by chrisfen, Mon Jul 3 13:18:43 2006 UTC

# Line 61 | Line 61 | namespace oopse {
61        else{
62          tIntLambda_ = 1.0;
63          sprintf(painCave.errMsg,
64 <                "ThermoIntegration error: the transformation parameter (lambda) was\n"
65 <                "\tnot specified. OOPSE will use a default value of %f. To set\n"
66 <                "\tlambda, use the thermodynamicIntegrationLambda variable.\n",
64 >                "ThermoIntegration error: the transformation parameter\n"
65 >                "\t(lambda) was not specified. OOPSE will use a default\n"
66 >                "\tvalue of %f. To set lambda, use the \n"
67 >                "\tthermodynamicIntegrationLambda variable.\n",
68                  tIntLambda_);
69          painCave.isFatal = 0;
70          simError();
# Line 75 | Line 76 | namespace oopse {
76        else{
77          tIntK_ = 1.0;
78          sprintf(painCave.errMsg,
79 <                "ThermoIntegration Warning: the tranformation parameter exponent\n"
80 <                "\t(k) was not specified. OOPSE will use a default value of %f.\n"
81 <                "\tTo set k, use the thermodynamicIntegrationK variable.\n",
79 >                "ThermoIntegration Warning: the tranformation parameter\n"
80 >                "\texponent (k) was not specified. OOPSE will use a default\n"
81 >                "\tvalue of %f. To set k, use the thermodynamicIntegrationK\n"
82 >                "\tvariable.\n",
83                  tIntK_);
84          painCave.isFatal = 0;
85          simError();      
# Line 144 | Line 146 | namespace oopse {
146      tempTau = curSnapshot->statData.getTau();
147      tempTau *= factor_;
148      curSnapshot->statData.setTau(tempTau);
147
148 //     sprintf(painCave.errMsg, "Before Calc_Restraint_Forces\n");
149 //     painCave.isFatal = 0;
150 //     simError();
149    
150      // do crystal restraint forces for thermodynamic integration
151      if (simParam->getUseSolidThermInt()) {
# Line 158 | Line 156 | namespace oopse {
156        vHarm_ = restraint_->getVharm();
157        curSnapshot->statData[Stats::VHARM] = vHarm_;
158      }
161
162 //     sprintf(painCave.errMsg, "After Calc_Restraint_Forces\n");
163 //     painCave.isFatal = 0;
164 //     simError();
159      
160    }
161    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines