Skip to content
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

Expose TreeMesh geometric intersections used for refine functions. #356

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

jcapriot
Copy link
Member

This PR unifies (and exposes) the geometric intersection tests used by the refine functionalities. The goal is to allow the user to see which cells actually intersected those geometric objects and use them to search for things.

This will expose operations to find cells that intersect with a

It makes use of C++ templates and classes to reduce the repeated code for each of the different geometric objects.

Copy link

codecov bot commented Apr 13, 2024

Codecov Report

Attention: Patch coverage is 93.39623% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 84.86%. Comparing base (300b64a) to head (9e3c19e).

Files Patch % Lines
discretize/mixins/mesh_io.py 88.00% 3 Missing ⚠️
discretize/tests.py 95.08% 3 Missing ⚠️
discretize/tree_mesh.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #356      +/-   ##
==========================================
- Coverage   85.12%   84.86%   -0.26%     
==========================================
  Files          36       36              
  Lines        8408     8472      +64     
==========================================
+ Hits         7157     7190      +33     
- Misses       1251     1282      +31     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

get_cells_along_line method not robust for tree mesh
1 participant