Changeset 9861d0 for src/Dynamics/ForceAnnealing.hpp
- Timestamp:
- Apr 10, 2018, 6:43:30 AM (7 years ago)
- Branches:
- AutomationFragmentation_failures, Candidate_v1.6.1, ChemicalSpaceEvaluator, Exclude_Hydrogens_annealWithBondGraph, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_contraction-expansion, Gui_displays_atomic_force_velocity, PythonUI_with_named_parameters, StoppableMakroAction, TremoloParser_IncreasedPrecision
- Children:
- 825d33
- Parents:
- 2f3905
- git-author:
- Frederik Heber <frederik.heber@…> (06/29/17 14:40:12)
- git-committer:
- Frederik Heber <frederik.heber@…> (04/10/18 06:43:30)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Dynamics/ForceAnnealing.hpp
r2f3905 r9861d0 301 301 << ", and CurrentStep is " << CurrentStep); 302 302 303 // get all bond vectors for this time step (from the perspective of the304 // bonds taken from the currentStep)305 const BondVectors::mapped_t bondvectors = bv.getBondVectorsAtStep(CurrentStep);306 307 303 for(typename AtomSetMixin<T>::const_iterator iter = AtomicForceManipulator<T>::atoms.begin(); 308 304 iter != AtomicForceManipulator<T>::atoms.end(); ++iter) { … … 317 313 318 314 // gather subset of BondVectors for the current atom 319 std::vector<Vector> BondVectors; 320 for(BondList::const_iterator bonditer = ListOfBonds.begin(); 321 bonditer != ListOfBonds.end(); ++bonditer) { 322 const bond::ptr ¤t_bond = *bonditer; 323 const BondVectors::mapped_t::const_iterator bviter = 324 bondvectors.find(current_bond); 325 ASSERT( bviter != bondvectors.end(), 326 "ForceAnnealing() - cannot find current_bond ?"); 327 ASSERT( bviter != bondvectors.end(), 328 "ForceAnnealing - cannot find current bond "+toString(*current_bond) 329 +" in bonds."); 330 BondVectors.push_back(bviter->second); 331 } 332 LOG(4, "DEBUG: BondVectors for atom #" << walker.getId() << ": " << BondVectors); 315 std::vector<Vector> BondVectors = bv.getAtomsBondVectorsAtStep(walker, CurrentStep); 333 316 334 317 // go through all its bonds and calculate what magnitude is represented
Note:
See TracChangeset
for help on using the changeset viewer.