Closed gecoombs closed 7 months ago
This PR causes various regression tests to fail as the additional splitting modifies the vessel performance mesh and its neighbour graph. I have not updated the test files on this branch yet as the final changes @Ulvetanna needs to make to resolve the issue with splitting around waypoints will also require changing the tests and it may be easier to roll all of these changes into one big update.
For comparison, images showing the difference in the vessel performance meshes for the grf_normal
environment mesh from the regression test examples:
Reference mesh:
New mesh:
I have now modified the vessel performance regression test files to match this version of the code as any further changes related to waypoint splitting will only change the route planning test results.
PolarRoute Pull Request
Date: 26/03 Version Number: 0.4.0
Description of change
Adds a method to the VesselPerformanceModeller that will split any cells neighbouring inaccessible cells (including land cells) to match the size of the inaccessible cell.
Fixes #264
Testing
Files Changed:
Failing tests: vessel_test_results.txt
Updated test results: vessel_tests_updated.txt
Unit test results: vessel_unit_test_dump.txt
Checklist
0.4.x
branch (DO NOT SUBMIT A PR TO MAIN)