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

Comparing trunk/src/selection/SelectionEvaluator.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 63 | Line 63 | namespace OpenMD {
63      nObjects.push_back(info->getNGlobalBends());
64      nObjects.push_back(info->getNGlobalTorsions());
65      nObjects.push_back(info->getNGlobalInversions());
66 +    nObjects.push_back(info->getNGlobalMolecules());    
67    }
68    
69    bool SelectionEvaluator::loadScript(const std::string& filename,
# Line 756 | Line 757 | namespace OpenMD {
757        for (inversion = mol->beginInversion(inversionIter); inversion != NULL;
758             inversion = mol->nextInversion(inversionIter)) {
759          ss.bitsets_[INVERSION].setBitOn(inversion->getGlobalIndex());
760 <      }  
760 >      }
761 >      ss.bitsets_[MOLECULE].setBitOn(mol->getGlobalIndex());
762      }
763  
764      return ss;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines