diff options
author | pants <jaron@kent-dobias.com> | 2016-09-07 17:30:19 -0400 |
---|---|---|
committer | pants <jaron@kent-dobias.com> | 2016-09-07 17:30:19 -0400 |
commit | 6590154ae3e4ee97e5e1a2792f9f2ebf716ed251 (patch) | |
tree | dea848089304689263cc919fac3731f88d232f2f /src/fracture.h | |
parent | 2f7a5084aaca7c741dc6bdd3768a65a6e021ba96 (diff) | |
download | fuse_networks-6590154ae3e4ee97e5e1a2792f9f2ebf716ed251.tar.gz fuse_networks-6590154ae3e4ee97e5e1a2792f9f2ebf716ed251.tar.bz2 fuse_networks-6590154ae3e4ee97e5e1a2792f9f2ebf716ed251.zip |
created new fracture program which has full capability (support for variable lattices, boundaries, notch or no). to do: get embedded square lattice working, add flag for constant lattices
Diffstat (limited to 'src/fracture.h')
-rw-r--r-- | src/fracture.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fracture.h b/src/fracture.h index 17ab8fd..cae1a49 100644 --- a/src/fracture.h +++ b/src/fracture.h @@ -29,6 +29,11 @@ #define CINT_MAX INT_MAX #define CHOL_F(x) cholmod_##x +typedef enum lattice_t { + VORONOI_LATTICE, + SQUARE_LATTICE +} lattice_t; + typedef enum bound_t { FREE_BOUND, CYLINDER_BOUND, @@ -177,3 +182,4 @@ void update_break_data(data_t *data, unsigned int last_broke, double strength, d double get_conductivity(net_t *inst, double *current, cholmod_common *c); +graph_t *graph_create(lattice_t lattice, bound_t bound, uint_t L, bool dual, cholmod_common *c); |