# | Line 236 | Line 236 | namespace oopse { | |
---|---|---|
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(); | |
# | Line 422 | Line 422 | namespace oopse { | |
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"); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |