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