summaryrefslogtreecommitdiff
path: root/src/fracture.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fracture.h')
-rw-r--r--src/fracture.h4
1 files changed, 2 insertions, 2 deletions
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);