summaryrefslogtreecommitdiff
path: root/src/animate_fracture.cpp
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2019-09-24 17:53:08 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2019-09-24 17:53:08 -0400
commitd9d3b0518ce5e0a52b9a0bae55fa5d8ca5b3c515 (patch)
tree393bd012dceb989b273da7793256518a78bdfb39 /src/animate_fracture.cpp
parentb1cc0118c49b708c7f3f4d19f37102784d218347 (diff)
downloadfuse_networks-d9d3b0518ce5e0a52b9a0bae55fa5d8ca5b3c515.tar.gz
fuse_networks-d9d3b0518ce5e0a52b9a0bae55fa5d8ca5b3c515.tar.bz2
fuse_networks-d9d3b0518ce5e0a52b9a0bae55fa5d8ca5b3c515.zip
made backbone cleaning more efficient by restricting to one-side-broken only, updated the crack finder to this new paradigm
Diffstat (limited to 'src/animate_fracture.cpp')
-rw-r--r--src/animate_fracture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/animate_fracture.cpp b/src/animate_fracture.cpp
index 9d875e6..2b5e55c 100644
--- a/src/animate_fracture.cpp
+++ b/src/animate_fracture.cpp
@@ -57,7 +57,7 @@ int main(int argc, char* argv[]) {
cholmod_common c;
CHOL_F(start)(&c);
- animate meas(sqrt(2*n *a), sqrt( 2*n / a), 700, argc, argv);
+ animate meas(sqrt(2*n *a), sqrt( 2*n / a), 1000, argc, argv);
randutils::auto_seed_128 seeds;
std::mt19937 rng{seeds};
@@ -66,7 +66,7 @@ int main(int argc, char* argv[]) {
graph G(n, a, rng);
elastic_network elastic_network(G, &c);
elastic_network.set_thresholds(beta, rng);
- elastic_network.fracture(meas, true);
+ elastic_network.fracture(meas);
if (quit.load())
break;