summaryrefslogtreecommitdiff
path: root/src/measurements.hpp
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-12-22 14:30:54 -0500
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-12-22 14:30:54 -0500
commitbad5c476749c99030767d1f67ae5cbe9698c99f5 (patch)
treec79c3af8525a1c7544537f52e4115344f4e32a5d /src/measurements.hpp
parent09200a607661f739782a966807d31345485e2c41 (diff)
downloadfuse_networks-bad5c476749c99030767d1f67ae5cbe9698c99f5.tar.gz
fuse_networks-bad5c476749c99030767d1f67ae5cbe9698c99f5.tar.bz2
fuse_networks-bad5c476749c99030767d1f67ae5cbe9698c99f5.zip
system size now can take on non-integer values
Diffstat (limited to 'src/measurements.hpp')
-rw-r--r--src/measurements.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/measurements.hpp b/src/measurements.hpp
index 685806b..bd93cfc 100644
--- a/src/measurements.hpp
+++ b/src/measurements.hpp
@@ -26,8 +26,8 @@ class ma : public hooks {
fftw_plan forward_plan;
fftw_plan reverse_plan;
unsigned int N;
- unsigned int Lx;
- unsigned int Ly;
+ double Lx;
+ double Ly;
unsigned int Mx;
unsigned int My;
double beta;
@@ -54,7 +54,7 @@ class ma : public hooks {
std::list<std::list<unsigned int>> avalanches;
- ma(unsigned int Lx, unsigned int Ly, unsigned int Mx, unsigned int My, double beta);
+ ma(double Lx, double Ly, unsigned int Mx, unsigned int My, double beta);
~ma();
void pre_fracture(const network &) override;