From d1ee045f36c82716142b2acde5036a4660d0a8cc Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Fri, 10 Feb 2017 13:02:22 -0500 Subject: added option for fracturing triangluar lattices --- src/fracture.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- cgit v1.2.3-70-g09d2