| # | Line 377 | Line 377 | namespace OpenMD { | |
|---|---|---|
| 377 | float comparisonValue) { | |
| 378 | RealType propertyValue = 0.0; | |
| 379 | Vector3d pos; | |
| 380 | + | |
| 381 | switch (property) { | |
| 382 | case Token::mass: | |
| 383 | propertyValue = sd->getMass(); | |
| # | Line 446 | Line 447 | namespace OpenMD { | |
| 447 | match = propertyValue != comparisonValue; | |
| 448 | break; | |
| 449 | } | |
| 450 | + | |
| 451 | if (match) | |
| 452 | bs.setBitOn(sd->getGlobalIndex()); | |
| 453 | ||
| – | Removed lines | 
| + | Added lines | 
| < | Changed lines | 
| > | Changed lines |