84 |
|
class SpatialStatistics : public StaticAnalyser { |
85 |
|
|
86 |
|
public: |
87 |
< |
SpatialStatistics(SimInfo* info, const string& filename, const string& sele, int nbins); |
87 |
> |
SpatialStatistics(SimInfo* info, const string& filename, |
88 |
> |
const string& sele, int nbins); |
89 |
|
~SpatialStatistics(); |
90 |
|
|
91 |
|
void addOutputData(OutputData* dat) {data_.push_back(dat);} |
113 |
|
|
114 |
|
class SlabStatistics : public SpatialStatistics { |
115 |
|
public: |
116 |
< |
SlabStatistics(SimInfo* info, const string& filename, const string& sele, int nbins); |
116 |
> |
SlabStatistics(SimInfo* info, const string& filename, |
117 |
> |
const string& sele, int nbins); |
118 |
|
virtual ~SlabStatistics(); |
119 |
|
|
120 |
|
virtual int getBin(Vector3d pos); |
128 |
|
|
129 |
|
class ShellStatistics : public SpatialStatistics { |
130 |
|
public: |
131 |
< |
ShellStatistics(SimInfo* info, const string& filename, const string& sele, int nbins); |
131 |
> |
ShellStatistics(SimInfo* info, const string& filename, const string& sele, |
132 |
> |
int nbins); |
133 |
|
virtual ~ShellStatistics(); |
134 |
|
virtual int getBin(Vector3d pos); |
135 |
|
|