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

Comparing trunk/src/integrators/VelocityVerletIntegrator.cpp (file contents):
Revision 1338 by skuang, Thu Apr 23 18:22:30 2009 UTC vs.
Revision 1341 by skuang, Fri May 8 19:47:05 2009 UTC

# Line 102 | Line 102 | namespace oopse {
102      //save statistics, before writeStat,  we must save statistics
103      thermo.saveStat();
104      saveConservedQuantity();
105 +    if (simParams->getUseRNEMD())
106 +      rnemd_->getStatus();
107 +
108      statWriter->writeStat(currentSnapshot_->statData);
109      
110      currSample = sampleTime + currentSnapshot_->getTime();
# Line 181 | Line 184 | namespace oopse {
184        //save statistics, before writeStat,  we must save statistics
185        thermo.saveStat();
186        saveConservedQuantity();
187 <      statWriter->writeStat(currentSnapshot_->statData);
187 >
188        if (simParams->getUseRNEMD())
189          rnemd_->getStatus();
190 +
191 +      statWriter->writeStat(currentSnapshot_->statData);
192        
193        needPotential = false;
194        needStress = false;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines