| 62 |
|
|
| 63 |
|
for (mol = info_->beginMolecule(mi); mol != NULL; mol = info_->nextMolecule(mi)) { |
| 64 |
|
|
| 65 |
< |
BitSet bs(nStuntDoubles_); |
| 65 |
> |
OOPSEBitSet bs(nStuntDoubles_); |
| 66 |
|
for(atom = mol->beginAtom(ai); atom != NULL; atom = mol->nextAtom(ai)) { |
| 67 |
|
bs.setBitOn(atom->getGlobalIndex()); |
| 68 |
|
} |
| 76 |
|
|
| 77 |
|
} |
| 78 |
|
|
| 79 |
< |
BitSet IndexFinder::find(int molIndex){ |
| 79 |
> |
OOPSEBitSet IndexFinder::find(int molIndex){ |
| 80 |
|
return bitSets_[molIndex]; |
| 81 |
|
} |
| 82 |
|
|
| 83 |
< |
BitSet IndexFinder::find(int begMolIndex, int endMolIndex){ |
| 84 |
< |
BitSet bs(nStuntDoubles_); |
| 83 |
> |
OOPSEBitSet IndexFinder::find(int begMolIndex, int endMolIndex){ |
| 84 |
> |
OOPSEBitSet bs(nStuntDoubles_); |
| 85 |
|
|
| 86 |
|
for (int i = begMolIndex; i < endMolIndex; ++i) { |
| 87 |
|
bs |= bitSets_[i]; |