Ignore:
Timestamp:
Aug 3, 2017, 10:46:48 AM (8 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
ForceAnnealing_with_BondGraph_continued
Children:
cee565
Parents:
fcc860
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/Atom/TesselPoint.cpp

    rfcc860 r4919f0  
    5858};
    5959
    60 void TesselPoint::removeStep(const unsigned int _step)
     60void TesselPoint::removeSteps(const unsigned int _firststep, const unsigned int _laststep)
    6161{
    62   ASSERT(0, "TesselPoint::removeStep() should never be called, TesselPoints don't have trajectories.");
    63   AtomInfo::removeTrajectoryStep(_step);
     62  ASSERT(0, "TesselPoint::removeSteps() should never be called, TesselPoints don't have trajectories.");
     63  AtomInfo::removeTrajectorySteps(_firststep, _laststep);
    6464};
    6565
Note: See TracChangeset for help on using the changeset viewer.