Closed soloyant closed 1 year ago
Hi,
Happy to help.
Your issue seems to me like it's triggering the following logic https://github.com/CHLNDDEV/OceanMesh2D/blob/aac023649282e8fb59c284325e7330e97700065d/%40meshgen/meshgen.m#L660
I'd check the domain definition that is being read in via
plot(your_geodata_obj,'omega')
and potentially toggle the your_geodata_obj.inpoly_flip
field from 0 to 1 or from 1 to 0 (depending on what it is).
Hi Keith,
Switching the inpoly_flip field did the trick, thank you for your help!
Hi,
First of all, I want to address a big thank you to the development community for this great tool. I have been using it for the past year and can't imagine working without it anymore.
Describe the bug The issue happens when trying to mesh a wide coastal domain (100+ x 100+ km) with no coastline shapefile provided. For smaller domains or domains including a large enough cumulated area of holes/mainlands using the shapefile argument, the build method applied to a meshgen object iterates correctly. However, it ends early with no specific error returned in some cases, which seem to be depending on the domain size. Changing the geodata and edgefx parameters don't change the result, only reducing the surface covered by bbox will allow the algorithm to run completely.
To Reproduce
Script:
Output:
Expected behavior The build method should start iterating and improving a mesh based on given parameters regardless of the domain size.
Configuration (please complete the following information):
Additional context N/A