- Timestamp:
- Apr 11, 2018, 6:29:56 AM (7 years ago)
- Branches:
- Candidate_v1.6.1, ChemicalSpaceEvaluator, Gui_displays_atomic_force_velocity, PythonUI_with_named_parameters, TremoloParser_IncreasedPrecision
- Children:
- 8c5e2a
- Parents:
- 897a01
- git-author:
- Frederik Heber <frederik.heber@…> (08/09/17 10:20:59)
- git-committer:
- Frederik Heber <frederik.heber@…> (04/11/18 06:29:56)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Atom/atom_atominfo.cpp
r897a01 r8ac6d0e 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.