| 41 |
|
#ifndef APPLICATIONS_STATICPROPS_GOFANGLE2_HPP |
| 42 |
|
#define APPLICATIONS_STATICPROPS_GOFANGLE2_HPP |
| 43 |
|
|
| 44 |
< |
#include "application/staticProps/RadialDistrFunc.hpp" |
| 44 |
> |
#include "applications/staticProps/RadialDistrFunc.hpp" |
| 45 |
|
namespace oopse { |
| 46 |
|
|
| 47 |
< |
class GofRAngle2 : public RadialDistrFunc { |
| 47 |
> |
class GofAngle2 : public RadialDistrFunc { |
| 48 |
|
|
| 49 |
|
public: |
| 50 |
< |
GofRAngle2(SimInfo* info, const std::string& filename, const std::string& sele1, const std::string& sele2); |
| 50 |
> |
GofAngle2(SimInfo* info, const std::string& filename, const std::string& sele1, const std::string& sele2, int nangleBins); |
| 51 |
|
|
| 52 |
– |
void setNAngleBins(int nbins) { |
| 53 |
– |
assert(nbins >0); |
| 54 |
– |
nAngleBins_ = nbins; |
| 55 |
– |
deltaCosAngle_ = 2.0 / nAngleBins_; |
| 56 |
– |
for (int i = 0 ; i < nAngleBins_; ++i) { |
| 57 |
– |
histogram_[i].resize(nAngleBins_); |
| 58 |
– |
avgGofr_[i].resize(nAngleBins_); |
| 59 |
– |
} |
| 60 |
– |
} |
| 61 |
– |
|
| 52 |
|
int getNAngleBins() {return nAngleBins_;} |
| 53 |
|
|
| 54 |
|
private: |