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

Comparing trunk/OOPSE-4/src/applications/staticProps/GofAngle2.hpp (file contents):
Revision 1994 by tim, Thu Feb 10 18:14:03 2005 UTC vs.
Revision 2038 by tim, Wed Feb 16 20:30:50 2005 UTC

# Line 41 | Line 41
41   #ifndef APPLICATIONS_STATICPROPS_GOFANGLE2_HPP
42   #define APPLICATIONS_STATICPROPS_GOFANGLE2_HPP
43  
44 < #include "application/staticProps/RadialDistrFunc.hpp"
44 > #include "applications/staticProps/RadialDistrFunc.hpp"
45   namespace oopse {
46  
47 < class GofRAngle2 : public RadialDistrFunc {
47 > class GofAngle2 : public RadialDistrFunc {
48      
49      public:
50 <        GofRAngle2(SimInfo* info, const std::string& filename, const std::string& sele1, const std::string& sele2);
50 >        GofAngle2(SimInfo* info, const std::string& filename, const std::string& sele1, const std::string& sele2, int nangleBins);
51    
52        void setNAngleBins(int nbins) {
53            assert(nbins >0);
54            nAngleBins_ = nbins;
55            deltaCosAngle_ = 2.0 / nAngleBins_;
56            for (int i = 0 ; i < nAngleBins_; ++i) {
57                histogram_[i].resize(nAngleBins_);
58                avgGofr_[i].resize(nAngleBins_);
59            }
60        }
61        
52          int getNAngleBins() {return nAngleBins_;}
53          
54      private:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines