summaryrefslogtreecommitdiff
path: root/src/perc_meas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/perc_meas.cpp')
-rw-r--r--src/perc_meas.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/perc_meas.cpp b/src/perc_meas.cpp
index e400982..6ae637a 100644
--- a/src/perc_meas.cpp
+++ b/src/perc_meas.cpp
@@ -189,29 +189,6 @@ void pm::post_fracture(network &n) {
} else {
ss[components[i].size() - 1]++;
}
- for (unsigned j = r; j < sn.size(); j++) {
- sn[j][components[i].size() - 1]++;
- }
- }
-
-
- std::vector<bool> vertex_in(n.G.vertices.size());
-
- for (unsigned i = 0; i < n.G.edges.size(); i++) {
- if (last_cur.currents[i] > CURRENT_CUTOFF) {
- vertex_in[n.G.edges[i].v[0]] = true;
- vertex_in[n.G.edges[i].v[1]] = true;
- }
- }
-
- unsigned bb_size = 0;
-
- for (unsigned i = 0; i < n.G.vertices.size(); i++) {
- if (vertex_in[i]) bb_size++;
- }
-
- for (unsigned i = r; i < sb.size(); i++) {
- sb[i][bb_size - 1]++;
}
sd[r - 1]++;