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

Comparing branches/development/src/applications/staticProps/GofZ.cpp (file contents):
Revision 1874 by gezelter, Wed Feb 20 15:39:39 2013 UTC vs.
Revision 1875 by gezelter, Fri May 17 14:41:42 2013 UTC

# Line 90 | Line 90 | namespace OpenMD {
90  
91    void GofZ::collectHistogram(StuntDouble* sd1, StuntDouble* sd2) {
92  
93    RealType thisZ;
94
93      if (sd1 == sd2) {
94        return;
95      }
# Line 107 | Line 105 | namespace OpenMD {
105      RealType xydist = sqrt(distance*distance - z2);
106  
107      if (xydist < rC_) {
108 <      thisZ = abs(r12.z());
108 >      RealType thisZ = abs(r12.z());
109        int whichBin = int(thisZ / deltaZ_);
110        histogram_[whichBin] += 2;
111      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines