Ignore:
Timestamp:
Apr 10, 2018, 6:43:12 AM (7 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
AutomationFragmentation_failures, Candidate_v1.6.1, ChemicalSpaceEvaluator, Enhanced_StructuralOptimization_continued, Exclude_Hydrogens_annealWithBondGraph, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_contraction-expansion, Gui_displays_atomic_force_velocity, PythonUI_with_named_parameters, StoppableMakroAction, TremoloParser_IncreasedPrecision
Children:
6145577
Parents:
efd020
git-author:
Frederik Heber <frederik.heber@…> (08/03/17 10:46:48)
git-committer:
Frederik Heber <frederik.heber@…> (04/10/18 06:43:12)
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

    refd020 r8c6b68  
    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.