Changeset 30e1a4 for src/Dynamics/ForceAnnealing.hpp
- Timestamp:
- Nov 12, 2017, 8:48:40 AM (7 years ago)
- Branches:
- ForceAnnealing_with_BondGraph_continued_betteresults
- Children:
- 8d3610
- Parents:
- 06b7d9
- git-author:
- Frederik Heber <frederik.heber@…> (08/02/17 20:25:57)
- git-committer:
- Frederik Heber <frederik.heber@…> (11/12/17 08:48:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Dynamics/ForceAnnealing.hpp
r06b7d9 r30e1a4 122 122 if (_UseBondgraph) 123 123 annealWithBondGraph(_CurrentTimeStep, _offset, maxComponents); 124 anneal(_CurrentTimeStep, _offset, maxComponents); 124 // cannot store RemnantGradient in Atom's Force as it ruins BB stepwidth calculation 125 else 126 anneal(_CurrentTimeStep, _offset, maxComponents); 125 127 } 126 128 … … 368 370 boost::cref(bv), boost::ref(projected_forces)); 369 371 const Vector RemnantGradient = bv.getRemnantGradientForAtomAtStep( 370 walker, BondVectors, weights, timestep, forcestoring372 walker, walkerGradient, BondVectors, weights, timestep, forcestoring 371 373 ); 372 374 RemnantGradient_per_atom.insert( std::make_pair(walker.getId(), RemnantGradient) ); … … 513 515 + update); 514 516 walker->setAtomicVelocity(update); 515 walker->setAtomicForce( RemnantGradient_per_atom[walker->getId()] );517 // walker->setAtomicForce( RemnantGradient_per_atom[walker->getId()] ); 516 518 } 517 519 }
Note:
See TracChangeset
for help on using the changeset viewer.