Changes in src/Atom/AtomicInfo.cpp [c26617:d05088]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Atom/AtomicInfo.cpp
rc26617 rd05088 34 34 35 35 #include "CodePatterns/MemDebug.hpp" 36 37 #include "CodePatterns/Log.hpp"38 36 39 37 #include "atom.hpp" … … 73 71 "Atom "+toString(_atom.getId())+" is not associated with any molecule."); 74 72 MolId = mol->getId(); 75 // accumulate bond info76 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 }84 73 } 85 74 … … 112 101 } 113 102 114 // set bonds115 for (std::vector<BondInfo>::const_iterator bonditer = bonds.begin();116 bonditer != bonds.end(); ++bonditer)117 (*bonditer).RecreateBond();118 119 103 // setting molecule 120 104 molecule * const _mol = World::getInstance().getMolecule(MoleculeById(MolId));
Note:
See TracChangeset
for help on using the changeset viewer.