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

Comparing trunk/OOPSE-4/src/applications/staticProps/RhoZ.hpp (file contents):
Revision 2468 by chuckv, Wed Nov 30 21:00:39 2005 UTC vs.
Revision 2539 by tim, Mon Jan 9 22:14:32 2006 UTC

# Line 44 | Line 44
44   *
45   *  Created by Charles F. Vardeman II on 11/26/05.
46   *  @author  Charles F. Vardeman II
47 < *  @version $Id: RhoZ.hpp,v 1.1 2005-11-30 21:00:39 chuckv Exp $
47 > *  @version $Id: RhoZ.hpp,v 1.2 2006-01-09 22:14:32 tim Exp $
48   *
49   */
50   #ifndef APPLICATIONS_STATICPROPS_RHOZ_HPP
# Line 53 | Line 53 | namespace oopse {
53   #include "applications/staticProps/RadialDistrFunc.hpp"
54   namespace oopse {
55    
56 <  class RhoZ : public RadialDistrFunc {
56 >  class RhoZ : public StaticAnalyser {
57      
58   public:
59 <    RhoZ(SimInfo* info, const std::string& filename, const std::string& sele1,
60 <         const std::string& sele2, double len, int nrbins);
59 >    RhoZ(SimInfo* info, const std::string& filename, const std::string& sele, int len, int nrbins);
60      
61      int getNRBins() {
62        return nRBins_;
# Line 66 | Line 65 | namespace oopse {
65      double getLength() {
66        return len_;
67      }
68 +
69 +    virtual void process();
70      
71   private:
71      
72      virtual void preProcess();
73    virtual void initalizeHistogram();
74    virtual void collectHistogram(StuntDouble* sd1, StuntDouble* sd2);
75    virtual void processHistogram();
72      
73 <    virtual void writeRdf();
73 >    virtual void writeDensity();
74 >
75 >
76 >    Snapshot* currentSnapshot_;
77 >
78 >    int nProcessed_;
79 >    std::string selectionScript_;
80 >    SelectionEvaluator evaluator_;
81 >    SelectionManager seleMan_;
82      
83      double len_;
84      int nRBins_;
85      double deltaR_;
86 <    
87 <    std::vector<int> histogram_;
88 <    std::vector<double> avgGofr_;
86 >
87 >    std::vector<std::vector<StuntDouble*> > sliceSDLists_;
88 >    std::vector<double> density_;
89    };
90    
91   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines