summaryrefslogtreecommitdiff
path: root/src/perc_meas.cpp
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2019-06-12 11:39:12 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2019-06-12 11:39:12 -0400
commit54b4be75e678b8ea01f6c51b8446160241a44171 (patch)
treecc6fc385bd45484faa49f02fa9a3cac778cdb7ba /src/perc_meas.cpp
parentb272c3f5e01c4cbbffddc1e75c27f221255236c1 (diff)
downloadfuse_networks-54b4be75e678b8ea01f6c51b8446160241a44171.tar.gz
fuse_networks-54b4be75e678b8ea01f6c51b8446160241a44171.tar.bz2
fuse_networks-54b4be75e678b8ea01f6c51b8446160241a44171.zip
stopped extending cluster averages past breaking
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]++;