# | 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 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |