summaryrefslogtreecommitdiff
path: root/src/percolation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/percolation.cpp')
-rw-r--r--src/percolation.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/percolation.cpp b/src/percolation.cpp
index 76731f4..0b1d0ad 100644
--- a/src/percolation.cpp
+++ b/src/percolation.cpp
@@ -76,15 +76,12 @@ 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';
@@ -92,21 +89,17 @@ int main(int argc, char* argv[]) {
}
if (quit.load())
break;
- */
}
} else {
pm meas(Lx, Ly);
for (unsigned trial = 0; trial < N; trial++) {
- /*
while (true) {
try {
- */
graph G(Lx, Ly);
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';
@@ -114,7 +107,6 @@ int main(int argc, char* argv[]) {
}
if (quit.load())
break;
- */
}
}