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 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 2240 by tim, Thu May 26 22:45:00 2005 UTC

# Line 47 | Line 47 | namespace oopse {
47   #include "selection/SelectionEvaluator.hpp"
48   #include "selection/SelectionManager.hpp"
49   #include "utils/NumericConstant.hpp"
50 + #include "applications/staticProps/StaticAnalyser.hpp"
51 +
52   namespace oopse {
53  
54    /**
55     * @class RadialDistrFunc
56     * @brief Radial Distribution Function
57     */
58 <  class RadialDistrFunc {
58 >  class RadialDistrFunc : public StaticAnalyser {
59    public:
60      RadialDistrFunc(SimInfo* info, const std::string& filename, const std::string& sele1, const std::string& sele2);
61  
# Line 61 | Line 63 | namespace oopse {
63          
64      void process();        
65  
64    void setOutputName(const std::string& filename) {
65      outputFilename_ = filename;
66    }
66  
68    const std::string& getOutputFileName() const {
69      return outputFilename_;
70    }
71
72    void setStep(int step) {
73      assert(step > 0);
74      step_ =step;    
75    }
67          
68    protected:
69  
# Line 81 | Line 72 | namespace oopse {
72  
73      int getNPairs() { return nPairs_;}
74          
84    SimInfo* info_;
75      Snapshot* currentSnapshot_;
76  
87    std::string dumpFilename_;
88    std::string outputFilename_;
89    int step_;
77      std::string selectionScript1_;
78      std::string selectionScript2_;
79      int nProcessed_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines