ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/Thermo.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/Thermo.cpp (file contents):
Revision 438 by chuckv, Mon Mar 31 21:50:59 2003 UTC vs.
Revision 444 by gezelter, Thu Apr 3 13:43:02 2003 UTC

# Line 212 | Line 212 | void Thermo::velocitize() {
212  
213      av2 = 2.0 * kebar / atoms[vr]->getMass();
214      vbar = sqrt( av2 );
215 <
215 >
216   //     vbar = sqrt( 8.31451e-7 * temperature / atoms[vr]->getMass() );
217      
218      // picks random velocities from a gaussian distribution

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines