Ignore:
Timestamp:
Nov 7, 2017, 7:34:56 AM (7 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
ForceAnnealing_with_BondGraph_continued_betteresults
Children:
38ac25
Parents:
5a289c
git-author:
Frederik Heber <frederik.heber@…> (08/03/17 10:46:48)
git-committer:
Frederik Heber <frederik.heber@…> (11/07/17 07:34:56)
Message:

atom::removeStep() extended to removing interval of steps.

  • AtomInfo::removeTrajectorySteps() and BondedParticle::removeTrajectorySteps() changed and all calls adapted.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Atom/atom_bondedparticleinfo.hpp

    r5a289c r0f9726  
    5252   * This allows to decrease all trajectories contained in different classes
    5353   * by one consistently. This is implemented by the topmost class which calls
    54    * the real functions, \sa removeTrajectoryStep(), by all necessary subclasses.
     54   * the real functions, \sa removeTrajectorySteps(), by all necessary subclasses.
     55   *
     56   * \param _firststep first step in interval to be removed
     57   * \param _laststep last step in interval to be removed
    5558   */
    56   virtual void removeStep(const unsigned int _step)=0;
     59  virtual void removeSteps(const unsigned int _firststep, const unsigned int _laststep)=0;
    5760
    5861  /** Const accessor to ListOfBonds of WorldTime::CurrentTime.
     
    131134  /** Function used by this and inheriting classes to reduce the ListOfBonds
    132135   * vector by one.
     136   *
     137   * \param _firststep first step in interval to be removed
     138   * \param _laststep last step in interval to be removed
    133139   */
    134   void removeTrajectoryStep(const unsigned int _step);
     140  void removeTrajectorySteps(const unsigned int _firststep, const unsigned int _laststep);
    135141
    136142  typedef std::map<unsigned int, BondList> BondTrajectory_t;
Note: See TracChangeset for help on using the changeset viewer.