| # | Line 95 | Line 95 | namespace oopse { | |
|---|---|---|
| 95 | Vector3d pos1 = sd1->getPos(); | |
| 96 | Vector3d pos2 = sd2->getPos(); | |
| 97 | Vector3d r12 = pos2 - pos1; | |
| 98 | < | currentSnapshot_->wrapVector(r12); |
| 98 | > | if (usePeriodicBoundaryConditions_) |
| 99 | > | currentSnapshot_->wrapVector(r12); |
| 100 | ||
| 101 | RealType distance = r12.length(); | |
| 102 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |