ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/integrators/NVE.cpp
(Generate patch)

Comparing trunk/src/integrators/NVE.cpp (file contents):
Revision 1305 by chuckv, Tue Mar 11 21:06:55 2008 UTC vs.
Revision 1306 by chuckv, Thu Oct 16 18:25:36 2008 UTC

# Line 135 | Line 135 | namespace oopse {
135          // velocity half step
136          vel += (dt2 /mass * OOPSEConstant::energyConvert) * frc;
137                  
138 <  integrableObject->setVel(vel);
138 >        integrableObject->setVel(vel);
139  
140          if (integrableObject->isDirectional()){
141  
# Line 163 | Line 163 | namespace oopse {
163  
164  
165    RealType NVE::calcConservedQuantity() {
166 <    return thermo.getTotalE();
166 >    return thermo.getTotalE() ;
167    }
168  
169   } //end namespace oopse

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines