# | Line 1 | Line 1 | |
---|---|---|
1 | /* | |
2 | < | * Copyright (c) 2005 The University of Notre Dame. All Rights Reserved. |
2 | > | * Copyright (c) 2005, 2010 The University of Notre Dame. All Rights Reserved. |
3 | * | |
4 | * The University of Notre Dame grants you ("Licensee") a | |
5 | * non-exclusive, royalty free, license to use, modify and | |
# | Line 76 | Line 76 | namespace OpenMD { | |
76 | Snapshot* currSnapshot = info_->getSnapshotManager()->getCurrentSnapshot(); | |
77 | OpenMDBitSet bsResult(nStuntDoubles_); | |
78 | assert(bsResult.size() == bs.size()); | |
79 | < | |
79 | > | |
80 | > | for (int j = 0; j < stuntdoubles_.size(); ++j) { |
81 | > | if (stuntdoubles_[j]->isRigidBody()) { |
82 | > | RigidBody* rb = static_cast<RigidBody*>(stuntdoubles_[j]); |
83 | > | rb->updateAtoms(); |
84 | > | } |
85 | > | } |
86 | > | |
87 | for (int i = bs.firstOnBit(); i != -1; i = bs.nextOnBit(i)) { | |
88 | center = stuntdoubles_[i]; | |
89 | centerPos = center->getPos(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |