49 |
|
nObjects_.push_back(info_->getNGlobalBends()); |
50 |
|
nObjects_.push_back(info_->getNGlobalTorsions()); |
51 |
|
nObjects_.push_back(info_->getNGlobalInversions()); |
52 |
+ |
nObjects_.push_back(info_->getNGlobalMolecules()); |
53 |
|
|
54 |
|
selectionSets_.resize(info_->getNGlobalMolecules()); |
55 |
|
init(); |
77 |
|
mol = info_->nextMolecule(mi)) { |
78 |
|
|
79 |
|
SelectionSet ss(nObjects_); |
80 |
+ |
ss.bitsets_[MOLECULE].setBitOn(mol->getGlobalIndex()); |
81 |
|
|
82 |
|
for(atom = mol->beginAtom(ai); atom != NULL; atom = mol->nextAtom(ai)) { |
83 |
|
ss.bitsets_[STUNTDOUBLE].setBitOn(atom->getGlobalIndex()); |