From f8321b4b89e114dffc02b4741785fdca60f1b31e Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Tue, 11 Jun 2019 00:11:51 -0400 Subject: fixed manny of the research tools --- src/sample_fracture.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/sample_fracture.cpp') 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); -- cgit v1.2.3-70-g09d2