Changeset 646f73 for src/Dynamics
- Timestamp:
- Jun 20, 2018, 8:20:43 AM (7 years ago)
- Branches:
- AutomationFragmentation_failures, Candidate_v1.6.1, ChemicalSpaceEvaluator, Exclude_Hydrogens_annealWithBondGraph, ForceAnnealing_with_BondGraph_contraction-expansion, StoppableMakroAction
- Children:
- 559293
- Parents:
- 83956e
- git-author:
- Frederik Heber <frederik.heber@…> (08/16/17 09:25:45)
- git-committer:
- Frederik Heber <frederik.heber@…> (06/20/18 08:20:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Dynamics/ForceAnnealing.hpp
r83956e r646f73 608 608 609 609 // apply the gathered updates and set remnant gradients for atomic annealing 610 Vector LargestUpdate; 610 611 for (std::map<atomId_t, Vector>::const_iterator iter = GatheredUpdates.begin(); 611 612 iter != GatheredUpdates.end(); ++iter) { … … 617 618 LOG(3, "DEBUG: Applying update " << update << " to atom #" << atomid 618 619 << ", namely " << *walker); 620 for (size_t i=0;i<NDIM;++i) 621 LargestUpdate[i] = std::max(LargestUpdate[i], fabs(update[i])); 619 622 walker->setPositionAtStep(_TimeStep, 620 623 walker->getPositionAtStep(CurrentTimeStep) + update); // - CommonTranslation); 621 624 } 625 LOG(1, "STATUS: Largest absolute update components are " << LargestUpdate); 622 626 623 627 return maxComponents;
Note:
See TracChangeset
for help on using the changeset viewer.