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

Comparing trunk/src/selection/IndexFinder.cpp (file contents):
Revision 2051 by gezelter, Thu Dec 5 18:19:26 2013 UTC vs.
Revision 2052 by gezelter, Fri Jan 9 19:06:35 2015 UTC

# Line 49 | Line 49 | namespace OpenMD {
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();
# Line 76 | Line 77 | namespace OpenMD {
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());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines