diff options
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); |