From 24cee5501ea08e9611c514be604cd66ad8a4c03c Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Fri, 2 Dec 2016 12:18:41 -0500 Subject: removed percolation thing, changed definition of damage to make percolation exponents work --- src/fracture.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/fracture.h') 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); -- cgit v1.2.3-70-g09d2