diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2017-06-07 15:19:29 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2017-06-07 15:19:29 -0400 |
commit | 23682e445ba64452c453346f516f9101761438ba (patch) | |
tree | f0ad4babcf947d40142cd56dc8e8df08625e13c3 | |
parent | 8044c18f84b6d8e60e89637bccc9ee5771f43624 (diff) | |
download | fuse_networks-23682e445ba64452c453346f516f9101761438ba.tar.gz fuse_networks-23682e445ba64452c453346f516f9101761438ba.tar.bz2 fuse_networks-23682e445ba64452c453346f516f9101761438ba.zip |
modified lattice options to rename SQUARE to DIAGONAL and add SQUARE
-rw-r--r-- | src/fracture.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/fracture.c b/src/fracture.c index c2b2a34..73059ff 100644 --- a/src/fracture.c +++ b/src/fracture.c @@ -103,8 +103,8 @@ int main(int argc, char *argv[]) { lattice_c = 'v'; break; case 1: - lattice = SQUARE_LATTICE; - lattice_c = 's'; + lattice = DIAGONAL_LATTICE; + lattice_c = 'd'; break; case 2: lattice = VORONOI_HYPERUNIFORM_LATTICE; @@ -114,8 +114,12 @@ int main(int argc, char *argv[]) { lattice = TRIANGULAR_LATTICE; lattice_c = 't'; break; + case 4: + lattice = SQUARE_LATTICE; + lattice_c = 's'; + break; default: - printf("lattice specifier must be 0 (VORONOI_LATTICE), 1 (SQUARE_LATTICE), or 2 (VORONOI_HYPERUNIFORM_LATTICE).\n"); + printf("lattice specifier must be 0 (VORONOI_LATTICE), 1 (DIAGONAL_LATTICE), or 2 (VORONOI_HYPERUNIFORM_LATTICE).\n"); exit(EXIT_FAILURE); } break; |