6 October 2025 6:20:47.220 PM hex_grid_angle_test(): Fortran90 version Test hex_grid_angle(). TEST01 HEX_GRID_ANGLE_01_SIZE computes the number of points in a hexagonal grid in the unit square, with grid lines at a given angle ANGLE, with a given spacing H between points on a grid line, with the coordinates of the center at CENTER. CENTER ANGLE H N 0.5931 0.7298 45.0000 0.2500 18 0.8219 0.5478 45.0000 0.2500 20 0.9679 0.8733 45.0000 0.2500 18 0.5000 0.5000 45.0000 0.2500 19 0.5000 0.5000 45.0000 0.1250 73 0.5000 0.5000 45.0000 0.0833 169 0.5000 0.5000 138.4938 0.2500 19 0.5000 0.5000 111.3790 0.2500 19 0.5000 0.5000 62.9615 0.2500 21 0.5000 0.5000 159.9391 0.2500 19 TEST02 HEX_GRID_ANGLE_01 computes the points in a hexagonal grid in the unit square, with grid lines at a given angle ANGLE, with a given spacing H between points on a grid line, with the coordinates of the center at CENTER. CENTER ANGLE H N 0.5000 0.0000 45.0000 0.2500 19 Grid points: Row 1 2 Col 1 0.500000 0.00000 2 0.435295 0.241481 3 0.258519 0.647048E-01 4 0.676777 0.176777 5 0.612072 0.418258 6 0.370590 0.482963 7 0.193814 0.306186 8 0.170371E-01 0.129410 9 0.918258 0.112072 10 0.853553 0.353553 11 0.788849 0.595035 12 0.547367 0.659740 13 0.305886 0.724444 14 0.129109 0.547668 15 0.965625 0.771812 16 0.724144 0.836516 17 0.482662 0.901221 18 0.241181 0.965926 19 0.644043E-01 0.789149 TEST03 HEX_GRID_ANGLE_01_WRITE writes the points of a angled hexagonal grid to a file. CENTER ANGLE H N 0.1572 0.7151 16.0284 0.107457 102 0.2047 0.3438 18.5673 0.107457 100 0.5039 0.7048 61.5927 0.107457 103 The data was written to "hex_grid_angle_01_dataset.txt". TEST04 HEX_GRID_ANGLE_SIZE computes the number of points in a hexagonal grid in the unit square, with grid lines at a given angle ANGLE, with a given spacing H between points on a grid line, with the coordinates of the center at CENTER. CENTER ANGLE H N 11.8448 2.4617 45.0000 0.2500 19 11.8457 2.4246 45.0000 0.2500 19 11.5422 2.3937 45.0000 0.2500 17 11.0000 2.2500 45.0000 0.2500 19 11.0000 2.2500 45.0000 0.1250 73 11.0000 2.2500 45.0000 0.0833 165 11.0000 2.2500 67.3690 0.2500 19 11.0000 2.2500 76.0537 0.2500 19 11.0000 2.2500 10.0906 0.2500 19 11.0000 2.2500 57.5317 0.2500 23 TEST05 HEX_GRID_ANGLE computes the points in a hexagonal grid in the unit square, with grid lines at a given angle ANGLE, with a given spacing H between points on a grid line, with the coordinates of the center at CENTER. CENTER ANGLE H N 11.0000 2.2500 45.0000 0.2500 19 Grid points: Row 1 2 Col 1 11.0000 2.25000 2 10.9353 2.49148 3 10.7585 2.31470 4 10.8232 2.07322 5 11.0647 2.00852 6 11.2415 2.18530 7 11.1768 2.42678 8 10.5170 2.37941 9 10.5817 2.13793 10 11.4830 2.12059 11 11.4183 2.36207 12 10.2756 2.44411 13 10.3403 2.20263 14 11.7244 2.05589 15 11.6597 2.29737 16 10.0988 2.26734 17 10.1635 2.02586 18 11.9012 2.23266 19 11.8365 2.47414 TEST06 HEX_GRID_ANGLE_WRITE writes the points of a angled hexagonal grid to a file. CENTER ANGLE H N 11.0000 2.2500 34.3953 0.107457 97 11.0000 2.2500 45.4312 0.107457 99 11.0000 2.2500 132.8374 0.107457 99 The data was written to "hex_grid_angle_dataset.txt". hex_grid_angle_test(): Normal end of execution. 6 October 2025 6:20:47.221 PM