From 0cf3090b05aa4c35ba20f3773db4f95d4600b55e Mon Sep 17 00:00:00 2001 From: Jaron Date: Tue, 8 Nov 2016 10:18:15 -0500 Subject: restarted all data generation to correct for errors, made certain data (stress, energy, thresholds) longs --- src/fracture.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fracture.h') diff --git a/src/fracture.h b/src/fracture.h index f122869..556e1e5 100644 --- a/src/fracture.h +++ b/src/fracture.h @@ -89,7 +89,7 @@ typedef struct { uint_t num_broken; uint_t *break_list; double *conductivity; - double *extern_field; + long double *extern_field; } data_t; intptr_t *run_voronoi(uint_t num_coords, double *coords, bool periodic, double xmin, double xmax, double ymin, double ymax); @@ -173,7 +173,7 @@ cholmod_dense *bound_set(const graph_t *g, bool vb, double notch_len, cholmod_co data_t *data_create(uint_t num_edges); void data_free(data_t *data); -void data_update(data_t *data, uint_t last_broke, double strength, double conductivity); +void data_update(data_t *data, uint_t last_broke, long double strength, double conductivity); graph_t *graph_create(lattice_t lattice, bound_t bound, uint_t L, bool dual, cholmod_common *c); -- cgit v1.2.3-70-g09d2