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

Comparing trunk/OOPSE-4/src/applications/staticProps/RadialDistrFunc.hpp (file contents):
Revision 1990 by tim, Wed Feb 9 17:08:22 2005 UTC vs.
Revision 1994 by tim, Thu Feb 10 18:14:03 2005 UTC

# Line 41 | Line 41
41   #ifndef APPLICATIONS_STATICPROPS_RADIALDISTRFUNC_HPP
42   #define APPLICATIONS_STATICPROPS_RADIALDISTRFUNC_HPP
43  
44 + #include <string>
45   #include <vector>
46  
47   #include "selection/SelectionEvaluator.hpp"
# Line 53 | Line 54 | class RadialDistrFunc {
54   */
55   class RadialDistrFunc {
56      public:
57 <        RadialDistrFunc(SimInfo* info, const std::string& filename, const std::string& sele1, const std::string& sele2. double len);
57 >        RadialDistrFunc(SimInfo* info, const std::string& filename, const std::string& sele1, const std::string& sele2);
58  
59 +        virtual ~RadialDistrFunc() {}
60 +        
61          void process();        
62  
60        void setNBins(int nbins) {
61            assert(nbins > 0);
62            nbins_ = nbins;
63            delta_ = len_ / nbins_;
64        }
65
66        int getNBins() {
67            return nbins_;
68        }
69        
63          void setOutputName(const std::string& filename) {
64              outputFilename_ = filename;
65          }
# Line 87 | Line 80 | class RadialDistrFunc {
80  
81          SimInfo* info_;
82          Snapshot* currentSnapshot_;
83 <        double len_;
91 <        int nbins_;
92 <        double delta_;
83 >
84          std::string dumpFilename_;
85          std::string outputFilename_;
86          int step_;
87          std::string selectionScript1_;
88          std::string selectionScript2_;
89 <        
89 >        int nProcessed_;
90      private:
91  
92          virtual void initalizeHistogram() {}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines