Changeset ef59aa for src/Dynamics


Ignore:
Timestamp:
Aug 2, 2017, 8:26:47 PM (8 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
ForceAnnealing_with_BondGraph_continued
Children:
ac79b2
Parents:
c4a725
Message:

tempcommit: CurrentStep was wrongly calculated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Dynamics/ForceAnnealing.hpp

    rc4a725 ref59aa  
    317317      // TODO: We have this extra step in between because of DoOutput copying
    318318      // change this making the code easier to understand
    319       const size_t CurrentStep = CurrentTimeStep-2*timestep >= 0 ? CurrentTimeStep - 2*timestep : 0;
     319      const size_t CurrentStep = CurrentTimeStep-timestep >= 0 ? CurrentTimeStep - timestep : 0;
     320      LOG(2, "DEBUG: CurrentTimeStep is " << CurrentTimeStep
     321          << ", timestep is " << timestep
     322          << ", and CurrentStep is " << CurrentStep);
    320323
    321324      for(typename AtomSetMixin<T>::const_iterator iter = AtomicForceManipulator<T>::atoms.begin();
Note: See TracChangeset for help on using the changeset viewer.