ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/applications/staticProps/DensityPlot.cpp
(Generate patch)

Comparing trunk/OOPSE-4/src/applications/staticProps/DensityPlot.cpp (file contents):
Revision 2759 by tim, Wed May 17 21:51:42 2006 UTC vs.
Revision 3054 by gezelter, Wed Oct 18 21:58:48 2006 UTC

# 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_) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines