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

Adding cut_facets feature #27

Merged
merged 34 commits into from
Feb 15, 2024
Merged

Adding cut_facets feature #27

merged 34 commits into from
Feb 15, 2024

Conversation

pmartorell
Copy link
Collaborator

This PR adds the cut_facets functionality with a similar interface to GridapEmbedded.jl; see #22. Thanks, @janmodderman, for the contribution.

We highlight the following changes:

  • Now we can use the Moment Fitting machinery from GridapEmbedded
  • New closest_point function from a point (or a list of points) an STL model
  • New interface for cut(STLCutter(),...) more aligned with GridapEmbedded
  • New interface at subtriangulate() to hold the cut facets data
  • Changes of output order at simplexify functions: (1st) coordinates, (2nd) connectivities

janmodderman and others added 30 commits May 26, 2023 18:03
…into STL_fix

recover comments from main branch

comment conflicts
Now:

cutgeo = cut( [STLCutters(),] model, STLGeometry )
cutfacets = cut_facets( [STLCutters(),] model, STLGeometry ) # Recompute
cutfacets = cut_facet(cutgeo) # Save computations

aggregate(strategy, cutgeo, [geo, in_or_out] ) # no need for bgfacet_to_inoutcut
@codecov-commenter
Copy link

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (6f2e3ef) 92.70% compared to head (4fe8522) 93.16%.

Files Patch % Lines
src/SubTriangulations.jl 91.78% 6 Missing ⚠️
src/Embedded.jl 94.31% 5 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
+ Coverage   92.70%   93.16%   +0.46%     
==========================================
  Files           5        5              
  Lines        3523     3659     +136     
==========================================
+ Hits         3266     3409     +143     
+ Misses        257      250       -7     

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

@pmartorell pmartorell merged commit 5e24cc2 into gridap:main Feb 15, 2024
2 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.

3 participants