Changeset 8d56a6 for src/Atom/atom_atominfo.cpp
- Timestamp:
- Jun 21, 2018, 8:31:25 AM (8 years ago)
- Branches:
- Candidate_v1.6.1, Candidate_v1.7.0, Candidate_v1.7.1, ChemicalSpaceEvaluator, stable
- Children:
- d83d64, f5ea10
- Parents:
- 3e334e (diff), 4fc0ea (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/Atom/atom_atominfo.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Atom/atom_atominfo.cpp
r3e334e r8d56a6 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.
