summaryrefslogtreecommitdiff
path: root/src/fracture.c
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2017-02-10 13:02:22 -0500
committerJaron Kent-Dobias <jaron@kent-dobias.com>2017-02-10 13:02:22 -0500
commitd1ee045f36c82716142b2acde5036a4660d0a8cc (patch)
tree9045a1237a599f855313bfea8a8341c9571f4ffb /src/fracture.c
parent8dde8a8c21cbaf7b3e37b0abcb3dc86baae04d2e (diff)
downloadfuse_networks-d1ee045f36c82716142b2acde5036a4660d0a8cc.tar.gz
fuse_networks-d1ee045f36c82716142b2acde5036a4660d0a8cc.tar.bz2
fuse_networks-d1ee045f36c82716142b2acde5036a4660d0a8cc.zip
added option for fracturing triangluar lattices
Diffstat (limited to 'src/fracture.c')
-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);