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

Comparing trunk/OOPSE-4/src/applications/staticProps/DensityPlot.hpp (file contents):
Revision 2242 by tim, Fri May 27 21:11:24 2005 UTC vs.
Revision 2759 by tim, Wed May 17 21:51:42 2006 UTC

# Line 48 | Line 48 | namespace oopse {
48  
49      class DensityPlot : public StaticAnalyser{
50          public:
51 <            DensityPlot(SimInfo* info, const std::string& filename, const std::string& sele, double len, int nrbins);
51 >            DensityPlot(SimInfo* info, const std::string& filename, const std::string& sele, const std::string& cmSele,RealType len, int nrbins);
52              virtual void process();
53  
54              int getNRBins() {
55                return nRBins_;
56              }
57              
58 <            double getLength() {
58 >            RealType getLength() {
59                return len_;
60              }
61          
62  
63          private:
64 +            Vector3d calcNewOrigin();
65 +            
66              void writeDensity();            
67 +
68              Snapshot* currentSnapshot_;
69 <            double len_;
70 <            double halfLen_;
69 >            RealType len_;
70 >            RealType halfLen_;
71              int nRBins_;
72 <            double deltaR_;                
72 >            RealType deltaR_;                
73              std::vector<int> histogram_;
74 <            std::vector<double> density_;
74 >            std::vector<RealType> density_;
75  
76              std::string selectionScript_;
77              SelectionManager seleMan_;
78 <            SelectionEvaluator evaluator_;      
78 >            SelectionEvaluator evaluator_;
79 >            std::string cmSelectionScript_;
80 >            SelectionManager cmSeleMan_;
81 >            SelectionEvaluator cmEvaluator_;
82 >
83 >            
84      };
85   }
86  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines