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

Comparing trunk/OOPSE-3.0/src/applications/staticProps/GofAngle2.hpp (file contents):
Revision 1995 by tim, Thu Feb 10 22:37:21 2005 UTC vs.
Revision 2038 by tim, Wed Feb 16 20:30:50 2005 UTC

# Line 47 | Line 47 | class GofAngle2 : public RadialDistrFunc {
47   class GofAngle2 : public RadialDistrFunc {
48      
49      public:
50 <        GofAngle2(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