summaryrefslogtreecommitdiff
path: root/src/measurements.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/measurements.hpp')
-rw-r--r--src/measurements.hpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/measurements.hpp b/src/measurements.hpp
index 3d4ff3e..aa41fd1 100644
--- a/src/measurements.hpp
+++ b/src/measurements.hpp
@@ -32,6 +32,7 @@ class ma : public hooks {
unsigned int My;
double beta;
Graph G;
+// std::ofstream stress_file;
// measurement storage
std::vector<uint64_t> sc; // cluster size distribution
@@ -40,13 +41,13 @@ class ma : public hooks {
std::vector<uint64_t> sA; // avalanche size distribution
std::vector<uint64_t> sd; // avalanche size distribution
std::vector<uint64_t> sb; // bin size 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> Cdd; // damage-damage distribution
- std::vector<uint64_t> Cll; // damage-damage distribution
- std::vector<uint64_t> Cee; // damage-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>> Cdd; // damage-damage distribution
+ std::vector<std::vector<uint64_t>> Cll; // damage-damage distribution
+ std::vector<std::vector<uint64_t>> Cee; // damage-damage distribution
uint64_t Nc;
uint64_t NC;
uint64_t Na;
@@ -58,7 +59,7 @@ class ma : public hooks {
std::list<std::list<unsigned int>> avalanches;
- ma(double Lx, double Ly, unsigned int Mx, unsigned int My, double beta);
+ ma(double Lx, double Ly, unsigned int Mx, unsigned int My, double beta, unsigned Ncum);
~ma();
void pre_fracture(const network &) override;