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 1991 by tim, Wed Feb 9 18:12:47 2005 UTC vs.
Revision 1995 by tim, Thu Feb 10 22:37:21 2005 UTC

# Line 46 | Line 46 | namespace oopse {
46  
47   #include "selection/SelectionEvaluator.hpp"
48   #include "selection/SelectionManager.hpp"
49 + #include "utils/NumericConstant.hpp"
50   namespace oopse {
51  
52   /**
# Line 54 | Line 55 | class RadialDistrFunc {
55   */
56   class RadialDistrFunc {
57      public:
58 <        RadialDistrFunc(SimInfo* info, const std::string& filename, const std::string& sele1, const std::string& sele2. double len);
58 >        RadialDistrFunc(SimInfo* info, const std::string& filename, const std::string& sele1, const std::string& sele2);
59  
60 +        virtual ~RadialDistrFunc() {}
61 +        
62          void process();        
63  
61        void setNBins(int nbins) {
62            assert(nbins > 0);
63            nbins_ = nbins;
64            delta_ = len_ / nbins_;
65        }
66
67        int getNBins() {
68            return nbins_;
69        }
70        
64          void setOutputName(const std::string& filename) {
65              outputFilename_ = filename;
66          }
# Line 88 | Line 81 | class RadialDistrFunc {
81  
82          SimInfo* info_;
83          Snapshot* currentSnapshot_;
84 <        double len_;
92 <        int nbins_;
93 <        double delta_;
84 >
85          std::string dumpFilename_;
86          std::string outputFilename_;
87          int step_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines