summaryrefslogtreecommitdiff
path: root/src/measurements.hpp
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2019-02-24 17:19:52 -0500
committerJaron Kent-Dobias <jaron@kent-dobias.com>2019-02-24 17:19:52 -0500
commitf861195c1416220c4039bda4d1cbf8c3aab07528 (patch)
treed9fefc81db9a471b1c1ec7ca640041365adfce30 /src/measurements.hpp
parentaca81428ac3e7385294d8fc871b9618b739a8109 (diff)
downloadfuse_networks-f861195c1416220c4039bda4d1cbf8c3aab07528.tar.gz
fuse_networks-f861195c1416220c4039bda4d1cbf8c3aab07528.tar.bz2
fuse_networks-f861195c1416220c4039bda4d1cbf8c3aab07528.zip
added support for specifiying voronoi graphs with number of points and aspect ratio, and added support for "infinite" beta (everything has the some threshold)
Diffstat (limited to 'src/measurements.hpp')
-rw-r--r--src/measurements.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/measurements.hpp b/src/measurements.hpp
index 0fd4644..600c6ac 100644
--- a/src/measurements.hpp
+++ b/src/measurements.hpp
@@ -28,11 +28,8 @@ class ma : public hooks {
fftw_plan reverse_plan;
*/
unsigned N;
- double Lx;
- double Ly;
unsigned Mx;
unsigned My;
- double beta;
Graph G;
// std::ofstream stress_file;
@@ -56,10 +53,11 @@ class ma : public hooks {
public:
long double lv;
-
std::list<std::list<graph::coordinate>> avalanches;
+ std::string model_string;
ma(double Lx, double Ly, unsigned Mx, unsigned My, double beta);
+ ma(unsigned n, double a, unsigned Mx, unsigned My, double beta);
~ma();
void pre_fracture(const network &) override;