From 5ba4109f0021e7b2c9c66821461742a339e07355 Mon Sep 17 00:00:00 2001 From: pants Date: Wed, 7 Dec 2016 13:29:51 -0500 Subject: added support for hyperuniform lattices using existing hard-sphere jamming routine --- src/fracture.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/fracture.h') 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); -- cgit v1.2.3-70-g09d2