diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2019-06-11 00:11:51 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2019-06-11 00:11:51 -0400 |
commit | f8321b4b89e114dffc02b4741785fdca60f1b31e (patch) | |
tree | 93b6d3cc460da63a02849ea1ae5939c1cb7af025 /src/sample_fracture.cpp | |
parent | 48191298e80e9655a4cd3c8f3bf9010935ddf551 (diff) | |
download | fuse_networks-f8321b4b89e114dffc02b4741785fdca60f1b31e.tar.gz fuse_networks-f8321b4b89e114dffc02b4741785fdca60f1b31e.tar.bz2 fuse_networks-f8321b4b89e114dffc02b4741785fdca60f1b31e.zip |
fixed manny of the research tools
Diffstat (limited to 'src/sample_fracture.cpp')
-rw-r--r-- | src/sample_fracture.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sample_fracture.cpp b/src/sample_fracture.cpp index 782b3e4..417e7ec 100644 --- a/src/sample_fracture.cpp +++ b/src/sample_fracture.cpp @@ -20,7 +20,7 @@ int main(int argc, char* argv[]) { int opt; unsigned N = 1; - double Lx = 16; + unsigned Lx = 16; double Ly = 16; double beta = 0.5; @@ -53,10 +53,10 @@ int main(int argc, char* argv[]) { std::mt19937 rng{seeds}; for (unsigned trial = 0; trial < N; trial++) { - graph G(Lx, Ly, rng); - network network(G, &c); + graph G(Lx, 1.0, rng); + elastic_network network(G, &c); network.set_thresholds(beta, rng); - network.fracture(meas); + network.fracture(meas, true); /*graph G2 = G.rotate(); class network network2(G2, &c); |