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 1902 by gezelter, Sun Jun 16 15:15:42 2013 UTC vs.
Revision 1903 by gezelter, Tue Jul 16 18:58:08 2013 UTC

# Line 56 | Line 56 | namespace OpenMD {
56  
57    SelectionEvaluator::SelectionEvaluator(SimInfo* si)
58      : info(si), nameFinder(info), distanceFinder(info), hullFinder(info),
59 <      indexFinder(info),
59 >      indexFinder(info), hasSurfaceArea_(false),
60        isLoaded_(false){    
61        nStuntDouble = info->getNGlobalAtoms() + info->getNGlobalRigidBodies();
62      }            
# Line 730 | Line 730 | namespace OpenMD {
730      OpenMDBitSet bs(nStuntDouble);
731      
732      bs = hullFinder.findHull();
733 <    
733 >    surfaceArea_ = hullFinder.getSurfaceArea();
734 >    hasSurfaceArea_ = true;
735      return bs;
736    }
737  
# Line 739 | Line 740 | namespace OpenMD {
740      OpenMDBitSet bs(nStuntDouble);
741      
742      bs = hullFinder.findHull(frame);
743 <    
743 >
744      return bs;
745    }
746  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines