Changeset 4919f0 for src/Atom/atom.cpp


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
  • src/Atom/atom.cpp

    rfcc860 r4919f0  
    108108}
    109109
    110 void atom::removeStep(const unsigned int _step)
    111 {
    112   LOG(4,"atom::removeStep() called.");
     110void atom::removeSteps(const unsigned int _firststep, const unsigned int _laststep)
     111{
     112  LOG(4,"atom::removeSteps() called.");
    113113  // append to position, velocity and force vector
    114   AtomInfo::removeTrajectoryStep(_step);
     114  AtomInfo::removeTrajectorySteps(_firststep, _laststep);
    115115  // append to ListOfBonds vector
    116   BondedParticleInfo::removeTrajectoryStep(_step);
     116  BondedParticleInfo::removeTrajectorySteps(_firststep, _laststep);
    117117}
    118118
Note: See TracChangeset for help on using the changeset viewer.