summaryrefslogtreecommitdiff
path: root/src/fracture.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fracture.c')
-rw-r--r--src/fracture.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fracture.c b/src/fracture.c
index d155b02..bb7701b 100644
--- a/src/fracture.c
+++ b/src/fracture.c
@@ -105,8 +105,12 @@ int main(int argc, char *argv[]) {
lattice = SQUARE_LATTICE;
lattice_c = 's';
break;
+ case 2:
+ lattice = VORONOI_HYPERUNIFORM_LATTICE;
+ lattice_c = 'h';
+ break;
default:
- printf("lattice specifier must be 0 (VORONOI_LATTICE) or 1 (SQUARE_LATTICE).\n");
+ printf("lattice specifier must be 0 (VORONOI_LATTICE), 1 (SQUARE_LATTICE), or 2 (VORONOI_HYPERUNIFORM_LATTICE).\n");
exit(EXIT_FAILURE);
}
break;