From d944bcc3df0a8d7a10b755b5858c85e61a835a35 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 21 Feb 2019 14:01:24 -0500 Subject: simplified and sped up measurementsn substantially, correlation functions and some distributions again incompatible --- src/measurements.hpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/measurements.hpp') 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 sm; // spanning cluster size distribution std::vector sa; // non-final avalanche size distribution std::vector sl; // final avalanche size distribution - std::vector sd; // pre-fracture damage distribution std::vector sD; // post-fracture damage distribution - std::vector> ccc; // cluster-cluster correlations - std::vector> css; // surface-surface correlations - std::vector> cmm; // surface-surface correlations - std::vector> caa; // avalanche-avalanche correlations - std::vector> cll; // damage-damage distribution - std::vector> cdd; // damage-damage distribution - std::vector> cDD; // damage-damage distribution - std::vector> csD; // damage-damage distribution + std::vector ccc; // cluster-cluster correlations + std::vector css; // surface-surface correlations + std::vector cmm; // surface-surface correlations + std::vector caa; // avalanche-avalanche correlations + std::vector cll; // damage-damage distribution + std::vector cDD; // damage-damage distribution + std::vector csD; // damage-damage distribution uint64_t Nc; uint64_t Na; @@ -57,9 +57,9 @@ class ma : public hooks { long double lv; - std::list> avalanches; + std::list> 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; -- cgit v1.2.3-54-g00ecf