diff options
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); |