summaryrefslogtreecommitdiff
path: root/src/fracture.h
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2016-12-02 12:18:41 -0500
committerJaron Kent-Dobias <jaron@kent-dobias.com>2016-12-02 12:18:41 -0500
commit24cee5501ea08e9611c514be604cd66ad8a4c03c (patch)
tree34030022e2a0ad7d25d84bfa6991657b53976848 /src/fracture.h
parent46fe4ba9b9388b771bec10598aad9dcee6f7a5c0 (diff)
downloadfuse_networks-24cee5501ea08e9611c514be604cd66ad8a4c03c.tar.gz
fuse_networks-24cee5501ea08e9611c514be604cd66ad8a4c03c.tar.bz2
fuse_networks-24cee5501ea08e9611c514be604cd66ad8a4c03c.zip
removed percolation thing, changed definition of damage to make percolation exponents work
Diffstat (limited to 'src/fracture.h')
-rw-r--r--src/fracture.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fracture.h b/src/fracture.h
index e02bcef..f4f7334 100644
--- a/src/fracture.h
+++ b/src/fracture.h
@@ -118,7 +118,7 @@ double dual_vert_to_coord(uint_t width, bool periodic, uint_t vert,
void factor_update(cholmod_factor *factor, uint_t v1, uint_t v2, cholmod_common *c);
void net_notch(net_t *net, double notch_len, cholmod_common *c);
-data_t *net_fracture(net_t *net, cholmod_common *c, double cutoff, uint_t refactor_every);
+data_t *net_fracture(net_t *net, cholmod_common *c, double cutoff);
double *net_voltages(const net_t *net, cholmod_common *c);
double *net_currents(const net_t *net, const double *voltages, cholmod_common *c);
double net_conductivity(const net_t *net, const double *voltages);
@@ -143,13 +143,13 @@ graph_t *ini_square_network(uint_t width, bound_t boundary, bool side_bounds,
void graph_free(graph_t *network, cholmod_common *c);
void net_free(net_t *instance, cholmod_common *c);
-net_t *net_create(const graph_t *g, double inf, double beta, double notch_len, bool vb, bool perc, cholmod_common *c);
+net_t *net_create(const graph_t *g, double inf, double beta, double notch_len, bool vb, cholmod_common *c);
graph_t *ini_voro_graph(uint_t L, bound_t boundary, bool use_dual,
double *(*genfunc)(uint_t, bound_t, gsl_rng *, uint_t *),
cholmod_common *c);
-bool break_edge(net_t *instance, uint_t edge, cholmod_common *c, bool refactor);
+bool break_edge(net_t *instance, uint_t edge, cholmod_common *c);
void finish_instance(net_t *instance, cholmod_common *c);