# | 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 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |