summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2019-08-05 10:49:37 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2019-08-05 10:49:37 -0400
commitdb745a57fc981df7db3c308321d4023d75adf351 (patch)
treee196f2148912be6870a569c92b0b14d0d50e54a0
parent6dc6593591023779397d2569ab72ab161c54cc78 (diff)
downloadfuse_networks-db745a57fc981df7db3c308321d4023d75adf351.tar.gz
fuse_networks-db745a57fc981df7db3c308321d4023d75adf351.tar.bz2
fuse_networks-db745a57fc981df7db3c308321d4023d75adf351.zip
percolation is one sided
-rw-r--r--src/percolation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/percolation.cpp b/src/percolation.cpp
index 0b1d0ad..b9f278e 100644
--- a/src/percolation.cpp
+++ b/src/percolation.cpp
@@ -81,7 +81,7 @@ int main(int argc, char* argv[]) {
graph G(n, a, rng);
percolation_network fuse_network(G, &c);
fuse_network.set_thresholds(beta, rng);
- fuse_network.fracture(meas);
+ fuse_network.fracture(meas, true);
break;
} catch (std::exception &e) {
std::cout << e.what() << '\n';
@@ -99,7 +99,7 @@ int main(int argc, char* argv[]) {
graph G(Lx, Ly);
percolation_network fuse_network(G, &c);
fuse_network.set_thresholds(beta, rng);
- fuse_network.fracture(meas);
+ fuse_network.fracture(meas, true);
break;
} catch (std::exception &e) {
std::cout << e.what() << '\n';