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

Comparing branches/development/src/rnemd/RNEMD.cpp (file contents):
Revision 1731 by gezelter, Thu May 31 12:25:30 2012 UTC vs.
Revision 1769 by gezelter, Mon Jul 9 14:15:52 2012 UTC

# Line 1380 | Line 1380 | namespace OpenMD {
1380      SimInfo::MoleculeIterator miter;
1381      vector<StuntDouble*>::iterator iiter;
1382      Molecule* mol;
1383 <    StuntDouble* integrableObject;
1383 >    StuntDouble* sd;
1384      for (mol = info_->beginMolecule(miter); mol != NULL;
1385        mol = info_->nextMolecule(miter))
1386 <      integrableObject is essentially sd
1387 <        for (integrableObject = mol->beginIntegrableObject(iiter);
1388 <             integrableObject != NULL;
1389 <             integrableObject = mol->nextIntegrableObject(iiter))
1386 >      sd is essentially sd
1387 >        for (sd = mol->beginIntegrableObject(iiter);
1388 >             sd != NULL;
1389 >             sd = mol->nextIntegrableObject(iiter))
1390      */
1391      for (sd = seleMan_.beginSelected(selei); sd != NULL;
1392           sd = seleMan_.nextSelected(selei)) {
# Line 1512 | Line 1512 | namespace OpenMD {
1512    void RNEMD::getStatus() {
1513  
1514      Snapshot* currentSnap_ = info_->getSnapshotManager()->getCurrentSnapshot();
1515    Stats& stat = currentSnap_->statData;
1515      RealType time = currentSnap_->getTime();
1517
1518    stat[Stats::RNEMD_EXCHANGE_TOTAL] = exchangeSum_;
1516      //or to be more meaningful, define another item as exchangeSum_ / time
1517      int j;
1518  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines