Bug fixes in `test_overlap`
In procedure `write_eddy`, no need of special treatment for interpolated eddy: the outermost contours and max-speed contours are defined as null. Read name of input file on the command line in script `read_overlap.py`. Add tests with program `test_overlap` in `short_tests.json`. Bug fix in main unit `test_overlap`: we have to call `init_interpolated_eddy`. In main unit `test_overlap`, change the initial value of `flow(2:max_delta)%number_eddies` for more clarity in the results. Bug fix in main unit `test_overlap`: valid isolated eddies of snasphot 2 are in `flow(max_delta + 1)`, not `flow(2)`.
Showing
- Analysis/read_overlap.py 3 additions, 1 deletionAnalysis/read_overlap.py
- Analysis/triplet_dump.sh 1 addition, 0 deletionsAnalysis/triplet_dump.sh
- Tests/Input/NSO_region_5_nml.txt 5 additions, 0 deletionsTests/Input/NSO_region_5_nml.txt
- Tests/Input/non_successive_overlap_nml.txt 5 additions, 0 deletionsTests/Input/non_successive_overlap_nml.txt
- Tests/short_tests.json 24 additions, 0 deletionsTests/short_tests.json
- Tests/test_overlap.f90 7 additions, 4 deletionsTests/test_overlap.f90
- write_eddy.f90 12 additions, 17 deletionswrite_eddy.f90
Loading
Please register or sign in to comment