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

Comparing trunk/src/brains/Thermo.cpp (file contents):
Revision 1666 by chuckv, Wed Dec 14 20:21:54 2011 UTC vs.
Revision 1667 by chuckv, Wed Dec 14 20:24:39 2011 UTC

# Line 474 | Line 474 | namespace OpenMD {
474          velocity = atom->getVel();
475          kinetic = mass * (velocity[0]*velocity[0] + velocity[1]*velocity[1] +
476                             velocity[2]*velocity[2]) / PhysicalConstants::energyConvert;
477 <        eatom += (kinetic + potential)/2.0
477 >        eatom += (kinetic + potential)/2.0;
478          GKappa_t += x_a*(eatom-AvgE_a_);
479          }
480        }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines