ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/applications/staticProps/RNEMDStats.cpp
(Generate patch)

Comparing trunk/src/applications/staticProps/RNEMDStats.cpp (file contents):
Revision 1887 by gezelter, Tue Jun 18 17:48:52 2013 UTC vs.
Revision 1888 by gezelter, Tue Jun 18 17:52:37 2013 UTC

# Line 263 | Line 263 | namespace OpenMD {
263        Vector3d aVel = cross(rPos, vel);
264        RealType m = sd->getMass();
265  
266 <      int bin = getBin(pos);
266 >      int bin = getBin(rPos);
267  
268        binCount[bin] += 1;
269  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines