summaryrefslogtreecommitdiff
path: root/src/graph_create.c
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/graph_create.c
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/graph_create.c')
-rw-r--r--src/graph_create.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graph_create.c b/src/graph_create.c
index 635b12b..b071c49 100644
--- a/src/graph_create.c
+++ b/src/graph_create.c
@@ -672,6 +672,8 @@ graph_t *graph_create(lattice_t lattice, bound_t bound, uint_t L, bool dual, cho
if (bound == EMBEDDED_BOUND) side_bounds = true;
else side_bounds = false;
return ini_square_network(L, bound, side_bounds, c);
+ case (VORONOI_HYPERUNIFORM_LATTICE):
+ return ini_voro_graph(L, bound, dual, genfunc_hyperuniform, c);
default:
printf("lattice type unsupported\n");
exit(EXIT_FAILURE);