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

Comparing branches/development/src/brains/Thermo.cpp (file contents):
Revision 1665 by gezelter, Tue Nov 22 20:38:56 2011 UTC vs.
Revision 1709 by gezelter, Tue May 15 13:04:08 2012 UTC

# Line 209 | Line 209 | namespace OpenMD {
209  
210      RealType volume = this->getVolume();
211      Snapshot* curSnapshot = info_->getSnapshotManager()->getCurrentSnapshot();
212 <    Mat3x3d tau = curSnapshot->statData.getTau();
212 >    Mat3x3d tau = curSnapshot->getTau();
213  
214      pressureTensor =  (p_global + PhysicalConstants::energyConvert* tau)/volume;
215      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines