summaryrefslogtreecommitdiff
path: root/src/fracture.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fracture.h')
-rw-r--r--src/fracture.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fracture.h b/src/fracture.h
index 556e1e5..e02bcef 100644
--- a/src/fracture.h
+++ b/src/fracture.h
@@ -83,6 +83,7 @@ typedef struct {
cholmod_sparse *adjacency;
cholmod_sparse *dual_adjacency;
bool debug_stop;
+ uint_t num_broken;
} net_t;
typedef struct {
@@ -142,7 +143,7 @@ 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, 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);
graph_t *ini_voro_graph(uint_t L, bound_t boundary, bool use_dual,
double *(*genfunc)(uint_t, bound_t, gsl_rng *, uint_t *),