Changeset 78830b
- Timestamp:
- Aug 9, 2017, 10:20:59 AM (8 years ago)
- Branches:
- ForceAnnealing_with_BondGraph_continued
- Children:
- ff1696
- Parents:
- 9e4e21
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Atom/atom_atominfo.cpp
r9e4e21 r78830b 191 191 { 192 192 OBSERVE; 193 NOTIFY(AtomObservable::PositionChanged);194 193 VectorTrajectory_t::iterator iter = AtomicPosition.find(_step); 195 194 if (iter != AtomicPosition.end()) { 196 195 iter->second[i] = value; 197 196 } else { 197 NOTIFY(TrajectoryChanged); 198 198 Vector newPos; 199 199 newPos[i] = value; … … 206 206 +" present after all?"); 207 207 } 208 if (WorldTime::getTime() == _step) 209 NOTIFY(AtomObservable::PositionChanged); 208 210 } 209 211 … … 278 280 iter->second = _newvelocity; 279 281 } else { 282 NOTIFY(TrajectoryChanged); 280 283 #ifndef NDEBUG 281 284 std::pair<VectorTrajectory_t::iterator, bool> inserter = … … 320 323 iter->second = _newforce; 321 324 } else { 325 NOTIFY(TrajectoryChanged); 322 326 #ifndef NDEBUG 323 327 std::pair<VectorTrajectory_t::iterator, bool> inserter =
Note:
See TracChangeset
for help on using the changeset viewer.