--- branches/development/src/rnemd/RNEMD.cpp 2012/05/31 12:25:30 1731 +++ branches/development/src/rnemd/RNEMD.cpp 2012/07/09 14:15:52 1769 @@ -1380,13 +1380,13 @@ namespace OpenMD { SimInfo::MoleculeIterator miter; vector::iterator iiter; Molecule* mol; - StuntDouble* integrableObject; + StuntDouble* sd; for (mol = info_->beginMolecule(miter); mol != NULL; mol = info_->nextMolecule(miter)) - integrableObject is essentially sd - for (integrableObject = mol->beginIntegrableObject(iiter); - integrableObject != NULL; - integrableObject = mol->nextIntegrableObject(iiter)) + sd is essentially sd + for (sd = mol->beginIntegrableObject(iiter); + sd != NULL; + sd = mol->nextIntegrableObject(iiter)) */ for (sd = seleMan_.beginSelected(selei); sd != NULL; sd = seleMan_.nextSelected(selei)) { @@ -1512,10 +1512,7 @@ namespace OpenMD { void RNEMD::getStatus() { Snapshot* currentSnap_ = info_->getSnapshotManager()->getCurrentSnapshot(); - Stats& stat = currentSnap_->statData; RealType time = currentSnap_->getTime(); - - stat[Stats::RNEMD_EXCHANGE_TOTAL] = exchangeSum_; //or to be more meaningful, define another item as exchangeSum_ / time int j;