From fd14c5e39d962be94a1f68b0d4cacb7a4aa9c3e7 Mon Sep 17 00:00:00 2001 From: pants Date: Fri, 2 Sep 2016 15:24:34 -0400 Subject: embedded systems with crack fully supported --- src/fracture.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/fracture.h') diff --git a/src/fracture.h b/src/fracture.h index 91b2bfc..93e2ed1 100644 --- a/src/fracture.h +++ b/src/fracture.h @@ -175,11 +175,12 @@ double *get_corr(finst *instance, unsigned int **dists, cholmod_common *c); double *bin_values(fnet *network, unsigned int width, double *values); -void voronoi_bound_ini(finst *instance, double *square_bound, - unsigned int width); +void voronoi_bound_ini(finst *instance, uint_t L, double crack_len); break_data *alloc_break_data(unsigned int num_edges); void free_break_data(break_data *data); void update_break_data(break_data *data, unsigned int last_broke, double strength, double conductivity); double get_conductivity(finst *inst, double *current, cholmod_common *c); + +void gen_voro_crack(finst *instance, double crack_len, cholmod_common *c); -- cgit v1.2.3-70-g09d2