--- trunk/OOPSE-2.0/src/brains/SimInfo.cpp 2005/03/11 15:00:20 2116 +++ trunk/OOPSE-2.0/src/brains/SimInfo.cpp 2005/03/11 15:55:17 2119 @@ -379,19 +379,6 @@ void SimInfo::addExcludePairs(Molecule* mol) { } } } - - Molecule::CutoffGroupIterator cgIter; - CutoffGroup* cg; - for (cg = mol->beginCutoffGroup(cgIter); cg != NULL; cg = mol->nextCutoffGroup(cgIter)) { - std::vector atoms = cg->getAtoms(); - for (int i = 0; i < atoms.size() -1 ; ++i) { - for (int j = i + 1; j < atoms.size(); ++j) { - a = atoms[i]->getGlobalIndex(); - b = atoms[j]->getGlobalIndex(); - exclude_.addPair(a, b); - } - } - } } @@ -450,19 +437,6 @@ void SimInfo::removeExcludePairs(Molecule* mol) { } } - Molecule::CutoffGroupIterator cgIter; - CutoffGroup* cg; - for (cg = mol->beginCutoffGroup(cgIter); cg != NULL; cg = mol->nextCutoffGroup(cgIter)) { - std::vector atoms = cg->getAtoms(); - for (int i = 0; i < atoms.size() -1 ; ++i) { - for (int j = i + 1; j < atoms.size(); ++j) { - a = atoms[i]->getGlobalIndex(); - b = atoms[j]->getGlobalIndex(); - exclude_.removePair(a, b); - } - } - } - }