diff options
Diffstat (limited to 'src/measurements.hpp')
-rw-r--r-- | src/measurements.hpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/measurements.hpp b/src/measurements.hpp index e267064..0fd4644 100644 --- a/src/measurements.hpp +++ b/src/measurements.hpp @@ -19,12 +19,14 @@ class ma : public hooks { // - interface for turning on and off specific measurements // private: + /* double *fftw_forward_in; fftw_complex *fftw_forward_out; fftw_complex *fftw_reverse_in; double *fftw_reverse_out; fftw_plan forward_plan; fftw_plan reverse_plan; + */ unsigned N; double Lx; double Ly; @@ -40,16 +42,14 @@ class ma : public hooks { std::vector<uint64_t> sm; // spanning cluster size distribution std::vector<uint64_t> sa; // non-final avalanche size distribution std::vector<uint64_t> sl; // final avalanche size distribution - std::vector<uint64_t> sd; // pre-fracture damage distribution std::vector<uint64_t> sD; // post-fracture damage distribution - std::vector<std::vector<uint64_t>> ccc; // cluster-cluster correlations - std::vector<std::vector<uint64_t>> css; // surface-surface correlations - std::vector<std::vector<uint64_t>> cmm; // surface-surface correlations - std::vector<std::vector<uint64_t>> caa; // avalanche-avalanche correlations - std::vector<std::vector<uint64_t>> cll; // damage-damage distribution - std::vector<std::vector<uint64_t>> cdd; // damage-damage distribution - std::vector<std::vector<uint64_t>> cDD; // damage-damage distribution - std::vector<std::vector<uint64_t>> csD; // damage-damage distribution + std::vector<uint64_t> ccc; // cluster-cluster correlations + std::vector<uint64_t> css; // surface-surface correlations + std::vector<uint64_t> cmm; // surface-surface correlations + std::vector<uint64_t> caa; // avalanche-avalanche correlations + std::vector<uint64_t> cll; // damage-damage distribution + std::vector<uint64_t> cDD; // damage-damage distribution + std::vector<uint64_t> csD; // damage-damage distribution uint64_t Nc; uint64_t Na; @@ -57,9 +57,9 @@ class ma : public hooks { long double lv; - std::list<std::list<unsigned>> avalanches; + std::list<std::list<graph::coordinate>> avalanches; - ma(double Lx, double Ly, unsigned Mx, unsigned My, double beta, unsigned Ncum); + ma(double Lx, double Ly, unsigned Mx, unsigned My, double beta); ~ma(); void pre_fracture(const network &) override; |