Changeset 0f9726 for src/Atom/atom_bondedparticleinfo.cpp
- Timestamp:
- Nov 7, 2017, 7:34:56 AM (8 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Atom/atom_bondedparticleinfo.cpp
r5a289c r0f9726 51 51 } 52 52 53 void BondedParticleInfo::removeTrajectoryStep (const unsigned int _step)53 void BondedParticleInfo::removeTrajectorySteps(const unsigned int _firststep, const unsigned int _laststep) 54 54 { 55 ListOfBonds.erase(_step); 56 LOG(5,"BondedParticleInfo::removeTrajectoryStep() called, size is " << ListOfBonds.size()); 55 const BondTrajectory_t::iterator firstiter = ListOfBonds.lower_bound(_firststep); 56 const BondTrajectory_t::iterator lastiter = ListOfBonds.upper_bound(_laststep); 57 ListOfBonds.erase(firstiter, lastiter); 58 LOG(5,"BondedParticleInfo::removeTrajectorySteps() called, size is " << ListOfBonds.size()); 57 59 } 58 60
Note:
See TracChangeset
for help on using the changeset viewer.