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

Comparing trunk/src/applications/staticProps/RhoR.cpp (file contents):
Revision 1091 by chuckv, Fri Nov 10 18:45:29 2006 UTC vs.
Revision 1306 by chuckv, Thu Oct 16 18:25:36 2008 UTC

# Line 47 | Line 47
47   #include "utils/NumericConstant.hpp"
48   #include "io/DumpReader.hpp"
49   #include "primitives/Molecule.hpp"
50 < #include "math.h"
50 > #include <math.h>
51  
52   namespace oopse {
53  
# Line 106 | Line 106 | namespace oopse {
106          
107          if (distance < len_) {
108            int whichBin = distance / deltaR_;
109 <          histogram_[whichBin] += 2;
109 >          histogram_[whichBin] += 1;
110          }
111          
112        }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines