Changes in src/World.cpp [46ce1c:388ddd]
- File:
-
- 1 edited
-
src/World.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/World.cpp
r46ce1c r388ddd 234 234 if (_step != WorldTime::getTime()) { 235 235 const unsigned int oldstep = WorldTime::getTime(); 236 237 // 1. copy bond graph (such not each addBond causes GUI update) 238 if (!areBondsPresent(_step)) { 239 // AtomComposite Set = getAllAtoms(); 240 // BG->cleanAdjacencyList(Set); 241 copyBondgraph(oldstep, _step); 242 } 243 244 // 2. set new time 236 // set new time 245 237 WorldTime::getInstance().setTime(_step); 246 247 238 // TODO: removed when BondGraph creates the adjacency 248 // 3. remove all of World's molecules239 // 1. remove all of World's molecules 249 240 for (MoleculeIterator iter = getMoleculeIter(); 250 241 getMoleculeIter() != moleculeEnd(); … … 253 244 destroyMolecule(*iter); 254 245 } 255 256 // 4. scan for connected subgraphs => molecules 246 // 2. copy bond graph 247 if (!areBondsPresent(_step)) { 248 // AtomComposite Set = getAllAtoms(); 249 // BG->cleanAdjacencyList(Set); 250 copyBondgraph(oldstep, _step); 251 } 252 253 // 3. scan for connected subgraphs => molecules 257 254 DepthFirstSearchAnalysis DFS; 258 255 DFS(); … … 882 879 delete configuration; 883 880 delete Thermostats; 884 delete homologies;885 881 } 886 882
Note:
See TracChangeset
for help on using the changeset viewer.
