From 54b4be75e678b8ea01f6c51b8446160241a44171 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Wed, 12 Jun 2019 11:39:12 -0400 Subject: stopped extending cluster averages past breaking --- src/perc_meas.cpp | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'src/perc_meas.cpp') 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 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]++; -- cgit v1.2.3-70-g09d2