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

Comparing branches/new-templateless/OOPSE/libmdtools/Thermo.cpp (file contents):
Revision 851, Fri Oct 31 18:28:53 2003 UTC vs.
Revision 852 by mmeineke, Thu Nov 6 18:20:47 2003 UTC

# Line 103 | Line 103 | double Thermo::getPotential(){
103   #else
104    potential = potential_local;
105   #endif // is_mpi
106
107 #ifdef IS_MPI
108  /*
109  std::cerr << "node " << worldRank << ": after pot = " << potential << "\n";
110  */
111 #endif
106  
107    return potential;
108   }
# Line 286 | Line 280 | void Thermo::velocitize() {
280      av2 = 2.0 * kebar / atoms[vr]->getMass();
281      vbar = sqrt( av2 );
282  
289 //     vbar = sqrt( 8.31451e-7 * temperature / atoms[vr]->getMass() );
290    
283      // picks random velocities from a gaussian distribution
284      // centered on vbar
285  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines