summaryrefslogtreecommitdiff
path: root/src/measurements.hpp
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-12-05 19:16:28 -0500
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-12-05 19:16:28 -0500
commit4f4cf365eae07e04298459bf8f9e27ad0cfcc834 (patch)
treef9823c732c03d1ed0166c765a39c2a77d6f1afa9 /src/measurements.hpp
parent66aad9c05bce441e3f74049b6c055312287e6a4a (diff)
downloadfuse_networks-4f4cf365eae07e04298459bf8f9e27ad0cfcc834.tar.gz
fuse_networks-4f4cf365eae07e04298459bf8f9e27ad0cfcc834.tar.bz2
fuse_networks-4f4cf365eae07e04298459bf8f9e27ad0cfcc834.zip
now takes Lx and Ly for anisotropic fracture
Diffstat (limited to 'src/measurements.hpp')
-rw-r--r--src/measurements.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/measurements.hpp b/src/measurements.hpp
index ab31ccd..703dccd 100644
--- a/src/measurements.hpp
+++ b/src/measurements.hpp
@@ -42,7 +42,8 @@ class ma : public hooks {
fftw_plan forward_plan;
fftw_plan reverse_plan;
unsigned int N;
- unsigned int L;
+ unsigned int Lx;
+ unsigned int Ly;
double beta;
Graph G;
@@ -67,7 +68,7 @@ class ma : public hooks {
std::list<std::list<unsigned int>> avalanches;
- ma(unsigned int L, double beta);
+ ma(unsigned int Lx, unsigned int Ly, double beta);
~ma();
void pre_fracture(const network &) override;