| 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 |  | } | 
| 377 |  | float comparisonValue) { | 
| 378 |  | RealType propertyValue = 0.0; | 
| 379 |  | Vector3d pos; | 
| 380 | + |  | 
| 381 |  | switch (property) { | 
| 382 |  | case Token::mass: | 
| 383 |  | propertyValue = sd->getMass(); | 
| 447 |  | match = propertyValue != comparisonValue; | 
| 448 |  | break; | 
| 449 |  | } | 
| 450 | + |  | 
| 451 |  | if (match) | 
| 452 |  | bs.setBitOn(sd->getGlobalIndex()); | 
| 453 |  |  | 
| 732 |  | OpenMDBitSet bs(nStuntDouble); | 
| 733 |  |  | 
| 734 |  | bs = hullFinder.findHull(); | 
| 735 | < |  | 
| 735 | > | surfaceArea_ = hullFinder.getSurfaceArea(); | 
| 736 | > | hasSurfaceArea_ = true; | 
| 737 |  | return bs; | 
| 738 |  | } | 
| 739 |  |  | 
| 742 |  | OpenMDBitSet bs(nStuntDouble); | 
| 743 |  |  | 
| 744 |  | bs = hullFinder.findHull(frame); | 
| 745 | < |  | 
| 745 | > |  | 
| 746 |  | return bs; | 
| 747 |  | } | 
| 748 |  |  |