Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Atom/AtomicInfo.cpp

    rc26617 rd05088  
    3434
    3535#include "CodePatterns/MemDebug.hpp"
    36 
    37 #include "CodePatterns/Log.hpp"
    3836
    3937#include "atom.hpp"
     
    7371      "Atom "+toString(_atom.getId())+" is not associated with any molecule.");
    7472  MolId = mol->getId();
    75   // accumulate bond info
    76   const BondList &ListOfBonds = _atom.getListOfBonds();
    77   bonds.reserve(ListOfBonds.size());
    78   for (BondList::const_iterator bonditer = ListOfBonds.begin();
    79       bonditer != ListOfBonds.end(); ++bonditer) {
    80     const BondInfo bondinfo(*bonditer);
    81     bonds.push_back(bondinfo);
    82     LOG(3, "DEBUG: Storing info for bond " << bondinfo.leftid << "<->" << bondinfo.rightid);
    83   }
    8473}
    8574
     
    112101    }
    113102
    114     // set bonds
    115     for (std::vector<BondInfo>::const_iterator bonditer = bonds.begin();
    116         bonditer != bonds.end(); ++bonditer)
    117       (*bonditer).RecreateBond();
    118 
    119103    // setting molecule
    120104    molecule * const _mol = World::getInstance().getMolecule(MoleculeById(MolId));
Note: See TracChangeset for help on using the changeset viewer.