| 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.3 2006-03-07 16:43:53 gezelter 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, double 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 |
– |
double 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 |
< |
double len_; |
| 84 |
< |
int nRBins_; |
| 85 |
< |
double deltaR_; |
| 85 |
> |
int nZBins_; |
| 86 |
|
|
| 87 |
|
std::vector<std::vector<StuntDouble*> > sliceSDLists_; |
| 88 |
< |
std::vector<double> density_; |
| 88 |
> |
std::vector<RealType> zBox_; |
| 89 |
> |
std::vector<RealType> density_; |
| 90 |
|
}; |
| 91 |
|
|
| 92 |
|
} |