Changeset c4a725 for src/Dynamics
- Timestamp:
- Aug 2, 2017, 8:26:29 PM (8 years ago)
- Branches:
- ForceAnnealing_with_BondGraph_continued
- Children:
- ef59aa
- Parents:
- ccbdf4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Dynamics/ForceAnnealing.hpp
rccbdf4 rc4a725 120 120 if (_UseBondgraph) 121 121 annealWithBondGraph(_CurrentTimeStep, _offset, maxComponents); 122 anneal(_CurrentTimeStep, _offset, maxComponents); 122 // cannot store RemnantGradient in Atom's Force as it ruins BB stepwidth calculation 123 else 124 anneal(_CurrentTimeStep, _offset, maxComponents); 123 125 } 124 126 … … 487 489 LOG(3, "DEBUG: Applying update " << update << " to atom #" << atomid 488 490 << ", namely " << *walker); 489 walker->setPosition( walker->getPosition() + update );490 walker->setAtomicForce( RemnantGradient_per_atom[walker->getId()] );491 walker->setPosition( walker->getPosition() + update - CommonTranslation); 492 // walker->setAtomicForce( RemnantGradient_per_atom[walker->getId()] ); 491 493 } 492 494 }
Note:
See TracChangeset
for help on using the changeset viewer.