summaryrefslogtreecommitdiff
path: root/src/fracture.h
diff options
context:
space:
mode:
authorpants <jaron@kent-dobias.com>2016-12-07 13:29:51 -0500
committerpants <jaron@kent-dobias.com>2016-12-07 13:29:51 -0500
commit5ba4109f0021e7b2c9c66821461742a339e07355 (patch)
tree484ff12ba10a58a21bc3048c07757bb3f4fb6f3e /src/fracture.h
parentcdb18338d3ae54785f311608d303420d5b47d698 (diff)
downloadfuse_networks-5ba4109f0021e7b2c9c66821461742a339e07355.tar.gz
fuse_networks-5ba4109f0021e7b2c9c66821461742a339e07355.tar.bz2
fuse_networks-5ba4109f0021e7b2c9c66821461742a339e07355.zip
added support for hyperuniform lattices using existing hard-sphere jamming routine
Diffstat (limited to 'src/fracture.h')
-rw-r--r--src/fracture.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fracture.h b/src/fracture.h
index f4f7334..8f883bc 100644
--- a/src/fracture.h
+++ b/src/fracture.h
@@ -33,7 +33,8 @@
typedef enum lattice_t {
VORONOI_LATTICE,
- SQUARE_LATTICE
+ SQUARE_LATTICE,
+ VORONOI_HYPERUNIFORM_LATTICE
} lattice_t;
typedef enum bound_t {
@@ -185,3 +186,5 @@ bool set_connected(const cholmod_sparse *laplacian, uint_t *marks, int vertex, i
unsigned long int rand_seed();
long double rand_dist_pow(const gsl_rng *r, double beta);
+
+double *spheres(int N, double bidispersityratio, double bidispersityfraction, double maxpf, double maxpressure, double maxcollisionrate);