Skip to content

Conversation

@Liameloy
Copy link
Member

When using slice_plot to view the cross-section of a given grid with a given plane, the resulting images had "holes" or missing shapes.
This was seemingly caused by a problem in tet_x_plane!() in marching.jl and should now be fixed.

@pjaap
Copy link
Member

pjaap commented Apr 16, 2025

Thanks for fixing this annoying bug 😃

Please see my comments and squash the commits into one in the end.

@Liameloy Liameloy force-pushed the dev/tetrahedronSliceFixing branch from 9895c27 to 1e9a70c Compare April 16, 2025 12:15
@Liameloy Liameloy requested a review from pjaap April 16, 2025 13:53
@pjaap
Copy link
Member

pjaap commented Apr 16, 2025

before:

grafik

with this fix:

grafik

Thanks for the improvement!

Copy link
Member

@pjaap pjaap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will merge when last comment is done.

Fixed error in tet_x_plane function in marching.jl which incorrectly assessed intersections between tetrahedron edges and plane
@Liameloy Liameloy force-pushed the dev/tetrahedronSliceFixing branch from 1e9a70c to a7961ee Compare April 16, 2025 15:14
@pjaap pjaap merged commit ee9b203 into WIAS-PDELib:main Apr 16, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants