53 |
|
|
54 |
|
namespace OpenMD { |
55 |
|
|
56 |
– |
|
56 |
|
SelectionEvaluator::SelectionEvaluator(SimInfo* si) |
57 |
|
: info(si), nameFinder(info), distanceFinder(info), hullFinder(info), |
58 |
< |
indexFinder(info), hasSurfaceArea_(false), |
60 |
< |
isLoaded_(false){ |
58 |
> |
indexFinder(info), isLoaded_(false), hasSurfaceArea_(false) { |
59 |
|
nObjects.push_back(info->getNGlobalAtoms() + info->getNGlobalRigidBodies()); |
60 |
|
nObjects.push_back(info->getNGlobalBonds()); |
61 |
|
nObjects.push_back(info->getNGlobalBends()); |
692 |
|
break; |
693 |
|
} |
694 |
|
if (match) |
695 |
< |
bs.bitsets_[STUNTDOUBLE].setBitOn(sd->getGlobalIndex()); |
698 |
< |
|
699 |
< |
|
695 |
> |
bs.bitsets_[STUNTDOUBLE].setBitOn(sd->getGlobalIndex()); |
696 |
|
} |
701 |
– |
|
697 |
|
|
698 |
+ |
|
699 |
|
void SelectionEvaluator::withinInstruction(const Token& instruction, |
700 |
|
SelectionSet& bs){ |
701 |
|
|