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 1131 by tim, Thu Apr 22 21:33:55 2004 UTC vs.
Revision 1133 by gezelter, Mon Apr 26 14:29:18 2004 UTC

# Line 16 | Line 16 | using namespace std;
16   #define __C
17   #include "mpiSimulation.hpp"
18   #endif // is_mpi
19 +
20 + inline double roundMe( double x ){
21 +          return ( x >= 0 ) ? floor( x + 0.5 ) : ceil( x - 0.5 );
22 + }
23  
24   Thermo::Thermo( SimInfo* the_info ) {
25    info = the_info;
# Line 447 | Line 451 | void Thermo::removeCOMdrift() {
451          
452      info->integrableObjects[vd]->setVel( aVel );
453    }
454 < }
454 > }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines