-
- Downloads
In procedure get_snapshot, encountered rounding error that led to
out-of-range index so add min when calculating urc. Bug fix in procedure good_contour. polygon_contains_point should not be called if polyline is not closed. Procedure polygon_contains_point became unpure so remove pure for procedure inside_4 too. In program test_good_contour, read corner and step from namelist rather than from coordinates in NetCDF file. Makes it possible to use the same NetCDF file with different coordinates. Also read outside_points from a file rather than standard input so there is no need to specify in advance the number of outside points. Take into account the possibility that no outermost contour was found in program test_set_outermost_contour. Also, use fixed names for input files because it is not convenient to require a particular order of these two files on the command line.
Showing
- Sources/get_snapshot.f 5 additions, 2 deletionsSources/get_snapshot.f
- Sources/good_contour.f 15 additions, 14 deletionsSources/good_contour.f
- Sources/inside_4.f 1 addition, 1 deletionSources/inside_4.f
- Tests/Stdin/good_contour_nml_1.txt 1 addition, 0 deletionsTests/Stdin/good_contour_nml_1.txt
- Tests/Stdin/good_contour_nml_2.txt 1 addition, 4 deletionsTests/Stdin/good_contour_nml_2.txt
- Tests/Stdin/no_good_contour_nml.txt 0 additions, 3 deletionsTests/Stdin/no_good_contour_nml.txt
- Tests/Stdin/outside_points_1.csv 0 additions, 2 deletionsTests/Stdin/outside_points_1.csv
- Tests/Stdin/outside_points_2.csv 2 additions, 0 deletionsTests/Stdin/outside_points_2.csv
- Tests/test_good_contour.f 20 additions, 18 deletionsTests/test_good_contour.f
- Tests/test_set_outermost_contour.f 22 additions, 26 deletionsTests/test_set_outermost_contour.f
- Tests/tests.json 11 additions, 6 deletionsTests/tests.json
Tests/Stdin/good_contour_nml_1.txt
0 → 100644
Tests/Stdin/outside_points_2.csv
0 → 100644
Please register or sign in to comment