Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/molecule_graph.cpp

    rc743f8 r83f176  
     1/*
     2 * Project: MoleCuilder
     3 * Description: creates and alters molecular systems
     4 * Copyright (C)  2010 University of Bonn. All rights reserved.
     5 * Please see the LICENSE file or "Copyright notice" in builder.cpp for details.
     6 */
     7
    18/*
    29 * molecule_graph.cpp
     
    213220
    214221    // output bonds for debugging (if bond chain list was correctly installed)
    215     for_each(atoms.begin(),atoms.end(),mem_fun(&atom::OutputBondOfAtom));
     222    ActOnAllAtoms( &atom::OutputBondOfAtom );
    216223  } else
    217224    DoLog(1) && (Log() << Verbose(1) << "AtomCount is " << getAtomCount() << ", thus no bonds, no connections!." << endl);
     
    631638{
    632639  DoLog(1) && (Log() << Verbose(1) << "Final graph info for each atom is:" << endl);
    633   for_each(atoms.begin(),atoms.end(),mem_fun(&atom::OutputGraphInfo));
     640  ActOnAllAtoms( &atom::OutputGraphInfo );
    634641}
    635642;
     
    738745        OtherAtom = (*Runner)->GetOtherAtom(Walker);
    739746#ifdef ADDHYDROGEN
    740         if (OtherAtom->getType()->Z != 1) {
     747        if (OtherAtom->getType()->getAtomicNumber() != 1) {
    741748#endif
    742749        DoLog(2) && (Log() << Verbose(2) << "Current OtherAtom is: " << OtherAtom->getName() << " for bond " << *(*Runner) << "." << endl);
Note: See TracChangeset for help on using the changeset viewer.