summaryrefslogtreecommitdiff
path: root/src/fracture.h
diff options
context:
space:
mode:
authorJaron <jaron@kent-dobias.com>2016-11-08 10:18:15 -0500
committerJaron <jaron@kent-dobias.com>2016-11-08 10:18:15 -0500
commit0cf3090b05aa4c35ba20f3773db4f95d4600b55e (patch)
tree620bbc5ca8b42715e76e16837b90894ac9909534 /src/fracture.h
parentc5b44e1604456ea42899c7e6cb3bde14b5bb88da (diff)
downloadfuse_networks-0cf3090b05aa4c35ba20f3773db4f95d4600b55e.tar.gz
fuse_networks-0cf3090b05aa4c35ba20f3773db4f95d4600b55e.tar.bz2
fuse_networks-0cf3090b05aa4c35ba20f3773db4f95d4600b55e.zip
restarted all data generation to correct for errors, made certain data (stress, energy, thresholds) longs
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);