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

Comparing trunk/src/applications/staticProps/RhoZ.hpp (file contents):
Revision 963 by tim, Wed May 17 21:51:42 2006 UTC vs.
Revision 1267 by gpuliti, Mon Jun 30 17:53:42 2008 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.4 2006-05-17 21:51:42 tim Exp $
47 > *  @version $Id: RhoZ.hpp,v 1.5 2008-06-30 17:53:42 gpuliti Exp $
48   *
49   */
50   #ifndef APPLICATIONS_STATICPROPS_RHOZ_HPP
51   #define APPLICATIONS_STATICPROPS_RHOZ_HPP
52  
53 < #include "applications/staticProps/RadialDistrFunc.hpp"
53 > #include <string>
54 > #include <vector>
55 > #include "selection/SelectionEvaluator.hpp"
56 > #include "selection/SelectionManager.hpp"
57 > #include "utils/NumericConstant.hpp"
58 > #include "applications/staticProps/StaticAnalyser.hpp"
59 >
60   namespace oopse {
61    
62    class RhoZ : public StaticAnalyser {
63      
64 < public:
65 <    RhoZ(SimInfo* info, const std::string& filename, const std::string& sele, RealType  len, int nrbins);
64 >  public:
65 >    RhoZ(SimInfo* info, const std::string& filename, const std::string& sele, int nzbins);
66      
67 <    int getNRBins() {
68 <      return nRBins_;
67 >    int getNZBins() {
68 >      return nZBins_;
69      }
70      
65    RealType getLength() {
66      return len_;
67    }
68
71      virtual void process();
72      
73 < private:
73 >  private:
74      
75      virtual void writeDensity();
76 <
77 <
76 >    
77 >    
78      Snapshot* currentSnapshot_;
79 <
79 >    
80      int nProcessed_;
81      std::string selectionScript_;
82      SelectionEvaluator evaluator_;
83      SelectionManager seleMan_;
84      
85 <    RealType len_;
84 <    int nRBins_;
85 <    RealType deltaR_;
85 >    int nZBins_;
86      
87      std::vector<std::vector<StuntDouble*> > sliceSDLists_;
88 +    std::vector<RealType> zBox_;
89      std::vector<RealType> density_;
90    };
91    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines