-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Edge nodes introduced even when preservation is requested #10
Comments
@austinherrema Yes, there are presently some cases where the boundary will be split regardless -- as you say, this should generally only happen adjacent to sharp features. Refinement-style algorithms (like those in It may be possible to do something different in these cases when the If it's possible to send an example geometry this would be a help. |
Makes sense. I put together an example geomety/script that demonstrates this behavior. Let me know if you would like further info! |
@austinherrema Thanks for the example -- I think this is definitely due to the "protection" business I described. I'll see whether anything different can be done in these type of cases, but this may require a bit of a re-think of the algorithm's logic. In this particular case though, if absolutely no new nodes were inserted anywhere on the boundary, you would end up with some (extremely!) poor quality triangles -- is this really the desired output? |
@dengwirda Sorry for the late response. I do understand that the end result would be extremely poor quality triangles. However, in my case the edge nodes are used to establish connectivity to bordering polygons which are meshed independently (I do know mesh2d has capabilities for meshing multiple regions simultaneously--I had some other issues with that which I guess would be another topic). When border nodes are inserted, and because I cannot easily track where they are inserted, it is difficult for me to maintain connectivity to bordering polygons. This lack of connectivity is more problematic for me than the poor quality triangles, which I can clean up using my own methods later on. I understand if this is simply a limitation of the approach in mesh2d right now. |
It seems that when a region has a very high aspect ratio (e.g. a triangle with a very small angle), nodes are inserted into the border even when I have
ref1
set topreserve
. Is this the expected behavior? Is there anything I can do to be more strict about preserving edge nodes?The text was updated successfully, but these errors were encountered: