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 |
|
} |
730 |
|
OpenMDBitSet bs(nStuntDouble); |
731 |
|
|
732 |
|
bs = hullFinder.findHull(); |
733 |
< |
|
733 |
> |
surfaceArea_ = hullFinder.getSurfaceArea(); |
734 |
> |
hasSurfaceArea_ = true; |
735 |
|
return bs; |
736 |
|
} |
737 |
|
|
740 |
|
OpenMDBitSet bs(nStuntDouble); |
741 |
|
|
742 |
|
bs = hullFinder.findHull(frame); |
743 |
< |
|
743 |
> |
|
744 |
|
return bs; |
745 |
|
} |
746 |
|
|