summaryrefslogtreecommitdiff
path: root/src/sample_fracture_square.cpp
diff options
context:
space:
mode:
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);
}