summaryrefslogtreecommitdiff
path: root/src/sample_fracture_square.cpp
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2019-04-24 23:31:40 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2019-04-24 23:31:40 -0400
commitcb1b2e6822bdd1d1644ff2dad2d6157858e105b0 (patch)
tree8f4cb4225d2856e87ff797d58466759dedd39882 /src/sample_fracture_square.cpp
parentafe7000d6147cefd030413cb3d051c2a6260f608 (diff)
downloadfuse_networks-cb1b2e6822bdd1d1644ff2dad2d6157858e105b0.tar.gz
fuse_networks-cb1b2e6822bdd1d1644ff2dad2d6157858e105b0.tar.bz2
fuse_networks-cb1b2e6822bdd1d1644ff2dad2d6157858e105b0.zip
many changes to introduce two-component, elastic-like fracture
Diffstat (limited to 'src/sample_fracture_square.cpp')
-rw-r--r--src/sample_fracture_square.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sample_fracture_square.cpp b/src/sample_fracture_square.cpp
index fb2eb33..d4bef2c 100644
--- a/src/sample_fracture_square.cpp
+++ b/src/sample_fracture_square.cpp
@@ -52,10 +52,10 @@ int main(int argc, char* argv[]) {
std::mt19937 rng{seeds};
graph G(Lx, Ly);
- network perm_network(G, &c);
+ elastic_network perm_network(G, &c);
for (unsigned trial = 0; trial < N; trial++) {
- network tmp_network(perm_network);
+ elastic_network tmp_network(perm_network);
tmp_network.set_thresholds(beta, rng);
tmp_network.fracture(meas);
}