| 236 |
|
} |
| 237 |
|
|
| 238 |
|
void SelectionEvaluator::compareProperty(StuntDouble* sd, OOPSEBitSet& bs, int property, int comparator, float comparisonValue) { |
| 239 |
< |
double propertyValue = 0.0; |
| 239 |
> |
RealType propertyValue = 0.0; |
| 240 |
|
switch (property) { |
| 241 |
|
case Token::mass: |
| 242 |
|
propertyValue = sd->getMass(); |
| 422 |
|
} |
| 423 |
|
|
| 424 |
|
|
| 425 |
< |
double SelectionEvaluator::getCharge(Atom* atom) { |
| 426 |
< |
double charge =0.0; |
| 425 |
> |
RealType SelectionEvaluator::getCharge(Atom* atom) { |
| 426 |
> |
RealType charge =0.0; |
| 427 |
|
AtomType* atomType = atom->getAtomType(); |
| 428 |
|
if (atomType->isCharge()) { |
| 429 |
|
GenericData* data = atomType->getPropertyByName("Charge"); |