summaryrefslogtreecommitdiff
path: root/src/percolation.cpp
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2019-05-27 22:26:21 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2019-05-27 22:26:21 -0400
commitae6ad8569615d81fd4b4a8f13318c8f90a768a37 (patch)
treee8580c1fb0c4112cebc4a2caf2b661b2af853bbb /src/percolation.cpp
parent1e939e597964fa081b347e40af2be1069867b906 (diff)
downloadfuse_networks-ae6ad8569615d81fd4b4a8f13318c8f90a768a37.tar.gz
fuse_networks-ae6ad8569615d81fd4b4a8f13318c8f90a768a37.tar.bz2
fuse_networks-ae6ad8569615d81fd4b4a8f13318c8f90a768a37.zip
refactored much of the fracture library and fixed some percolation measurements
Diffstat (limited to 'src/percolation.cpp')
-rw-r--r--src/percolation.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/percolation.cpp b/src/percolation.cpp
index 03da117..757ab44 100644
--- a/src/percolation.cpp
+++ b/src/percolation.cpp
@@ -76,20 +76,23 @@ int main(int argc, char* argv[]) {
pm meas(n, a);
for (unsigned trial = 0; trial < N; trial++) {
+ /*
while (true) {
try {
+ */
graph G(n, a, rng);
percolation_network fuse_network(G, &c);
fuse_network.set_thresholds(beta, rng);
fuse_network.fracture(meas);
+ /*
break;
} catch (std::exception &e) {
std::cout << e.what() << '\n';
}
}
-
if (quit.load())
break;
+ */
}
}