| # | Line 165 | Line 165 | void DensityPlot::process() { | |
|---|---|---|
| 165 | Vector3d tmp(pos); | |
| 166 | RealType zdist =j * deltaR_ - halfLen_; | |
| 167 | tmp[2] += zdist; | |
| 168 | < | currentSnapshot_->wrapVector(tmp); |
| 168 | > | if (usePeriodicBoundaryConditions_) |
| 169 | > | currentSnapshot_->wrapVector(tmp); |
| 170 | ||
| 171 | RealType wrappedZdist = tmp.z() + halfLen_; | |
| 172 | if (wrappedZdist < 0.0 || wrappedZdist > len_) { | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |