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 2012 by tim, Sun Feb 13 20:36:24 2005 UTC vs.
Revision 2031 by tim, Tue Feb 15 17:11:35 2005 UTC

# Line 70 | Line 70 | void GofR::processHistogram() {
70  
71   void GofR::processHistogram() {
72  
73 +    int nRealPairs = getNRealPairs();
74      double volume = info_->getSnapshotManager()->getCurrentSnapshot()->getVolume();
75 <    double pairDensity = npairs_ /volume;
75 >    double pairDensity = nRealPairs /volume;
76      double pairConstant = ( 4.0 * NumericConstant::PI * pairDensity ) / 3.0;
77  
78      for(int i = 0 ; i < histogram_.size(); ++i){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines