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

Comparing branches/development/src/restraints/ThermoIntegrationForceManager.cpp (file contents):
Revision 1709 by gezelter, Tue May 15 13:04:08 2012 UTC vs.
Revision 1723 by gezelter, Thu May 24 20:59:54 2012 UTC

# Line 134 | Line 134 | namespace OpenMD {
134      curSnapshot->statData[Stats::LONG_RANGE_POTENTIAL] = lrPot_;
135      
136      // scale the pressure tensor
137 <    tempTau = curSnapshot->getTau();
137 >    tempTau = curSnapshot->getStressTensor();
138      tempTau *= factor_;
139 <    curSnapshot->setTau(tempTau);
139 >    curSnapshot->setStressTensor(tempTau);
140  
141      // now, on to the applied restraining potentials (if needed):
142      RealType restPot_local = 0.0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines