ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/src/types/MoleculeStamp.cpp
(Generate patch)

Comparing trunk/OOPSE-2.0/src/types/MoleculeStamp.cpp (file contents):
Revision 2515 by tim, Fri Dec 16 18:26:41 2005 UTC vs.
Revision 2543 by gezelter, Wed Jan 11 18:41:01 2006 UTC

# Line 304 | Line 304 | void MoleculeStamp::checkBends() {
304  
305          //find bend c--a--b
306          AtomStamp::AtomIter ai;
307 <        for(int c= atomA->getFirstBonedAtom(ai);c != -1;c = atomA->getNextBonedAtom(ai))
307 >        for(int c= atomA->getFirstBondedAtom(ai);c != -1;c = atomA->getNextBondedAtom(ai))
308          {
309              if(b == c)
310                  continue;          
# Line 323 | Line 323 | void MoleculeStamp::checkBends() {
323          }        
324  
325          //find bend a--b--c
326 <        for(int c= atomB->getFirstBonedAtom(ai);c != -1;c = atomB->getNextBonedAtom(ai))
326 >        for(int c= atomB->getFirstBondedAtom(ai);c != -1;c = atomB->getNextBondedAtom(ai))
327          {
328              if(a == c)
329                  continue;          
# Line 407 | Line 407 | void MoleculeStamp::checkTorsions() {
407          AtomStamp::AtomIter ai2;
408          AtomStamp::AtomIter ai3;
409  
410 <        for(int a = atomB->getFirstBonedAtom(ai2);a != -1;a = atomB->getNextBonedAtom(ai2))
410 >        for(int a = atomB->getFirstBondedAtom(ai2);a != -1;a = atomB->getNextBondedAtom(ai2))
411          {
412              if(a == c)
413                  continue;
414  
415 <            for(int d = atomC->getFirstBonedAtom(ai3);d != -1;d = atomC->getNextBonedAtom(ai3))
415 >            for(int d = atomC->getFirstBondedAtom(ai3);d != -1;d = atomC->getNextBondedAtom(ai3))
416              {
417                  if(d == b)
418                      continue;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines