ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/selection/IndexFinder.cpp
(Generate patch)

Comparing trunk/src/selection/IndexFinder.cpp (file contents):
Revision 507 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 770 by tim, Fri Dec 2 15:38:03 2005 UTC

# Line 62 | Line 62 | namespace oopse {
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        }
# Line 76 | Line 76 | namespace oopse {
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];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines