diff options
author | pants <jaron@kent-dobias.com> | 2016-12-07 13:29:51 -0500 |
---|---|---|
committer | pants <jaron@kent-dobias.com> | 2016-12-07 13:29:51 -0500 |
commit | 5ba4109f0021e7b2c9c66821461742a339e07355 (patch) | |
tree | 484ff12ba10a58a21bc3048c07757bb3f4fb6f3e /src/fracture.h | |
parent | cdb18338d3ae54785f311608d303420d5b47d698 (diff) | |
download | fuse_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.h | 5 |
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); |