Ignore:
Timestamp:
Nov 7, 2017, 7:34:56 AM (8 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
  • TabularUnified src/Actions/UndoRedoHelpers.hpp

    r5a289c r0f9726  
    111111  void RemoveMoleculesWithAtomsByIds(const std::vector<moleculeId_t> &ids);
    112112
    113   /** Removes the last time step for all \a movedatoms
     113  /** Removes the time steps in given interval for all \a movedatoms.
    114114   *
    115    * @param movedatoms atoms whose last step in time to remove
    116    * @param _step which trajectory to remove
     115   * @param movedatoms atoms whose steps in [\a _firststep, \a _laststep] in time to remove
     116   * @param _firststep first step in interval to be removed
     117   * @param _laststep last step in interval to be removed
    117118   */
    118   void removeLastStep(const std::vector<atomId_t> &movedatoms, const unsigned int _step);
     119  void removeSteps(
     120      const std::vector<atomId_t> &movedatoms,
     121      const unsigned int _firststep,
     122      const unsigned int _laststep);
    119123
    120124  /** Adds another time step to all \a movedatoms.
Note: See TracChangeset for help on using the changeset viewer.