summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fracture.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fracture.c b/src/fracture.c
index 52db2d8..c2b2a34 100644
--- a/src/fracture.c
+++ b/src/fracture.c
@@ -110,6 +110,10 @@ int main(int argc, char *argv[]) {
lattice = VORONOI_HYPERUNIFORM_LATTICE;
lattice_c = 'h';
break;
+ case 3:
+ lattice = TRIANGULAR_LATTICE;
+ lattice_c = 't';
+ break;
default:
printf("lattice specifier must be 0 (VORONOI_LATTICE), 1 (SQUARE_LATTICE), or 2 (VORONOI_HYPERUNIFORM_LATTICE).\n");
exit(EXIT_FAILURE);