9 May 2025 9:16:32.028 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.0948 0.9611 45.0000 0.2500 18 0.5705 0.9687 45.0000 0.2500 18 0.2895 0.3293 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 84.1600 0.2500 21 0.5000 0.5000 108.8991 0.2500 19 0.5000 0.5000 96.1244 0.2500 21 0.5000 0.5000 76.4056 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.4199 0.0440 41.9051 0.107457 101 0.3177 0.3116 63.7978 0.107457 101 0.3158 0.7294 50.1607 0.107457 100 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 10.5812 2.4272 45.0000 0.2500 18 11.4959 2.1444 45.0000 0.2500 19 11.6286 2.4340 45.0000 0.2500 19 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 71.1011 0.2500 19 11.0000 2.2500 70.1356 0.2500 19 11.0000 2.2500 128.4673 0.2500 19 11.0000 2.2500 133.2096 0.2500 19 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 25.5425 0.107457 99 11.0000 2.2500 94.1243 0.107457 97 11.0000 2.2500 49.6445 0.107457 99 The data was written to "hex_grid_angle_dataset.txt". hex_grid_angle_test(): Normal end of execution. 9 May 2025 9:16:32.029 PM