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

Comparing trunk/OOPSE-3.0/src/applications/staticProps/GofR.cpp (file contents):
Revision 1995 by tim, Thu Feb 10 22:37:21 2005 UTC vs.
Revision 2012 by tim, Sun Feb 13 20:36:24 2005 UTC

# Line 99 | Line 99 | void GofR::collectHistogram(StuntDouble* sd1, StuntDou
99  
100      double distance = r12.length();
101  
102 <    int whichBin = distance / deltaR_;
103 <    ++histogram_[whichBin];
104 <    ++npairs_;
102 >    if (distance < len_) {
103 >        int whichBin = distance / deltaR_;
104 >        ++histogram_[whichBin];
105 >        ++npairs_;
106 >    }
107   }
108  
109  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines