Skip to content

Strengthen/bug-fix compute_facet_owners#1291

Merged
amartinhuertas merged 15 commits intomasterfrom
bug_fix_compute_facet_owners
Apr 30, 2026
Merged

Strengthen/bug-fix compute_facet_owners#1291
amartinhuertas merged 15 commits intomasterfrom
bug_fix_compute_facet_owners

Conversation

@amartinhuertas
Copy link
Copy Markdown
Member

No description provided.

does not depend on how the cells shared by a facet are listed in
the mesh data structure, but on the (local or global) cell identifiers
of the cells sharing the facet. This guarantees a consistent owner,
e.g., when the mesh is redistributed and information passed from
the original mesh to the redistributed one
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.83%. Comparing base (2eda95c) to head (cdef184).
⚠️ Report is 16 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1291   +/-   ##
=======================================
  Coverage   88.83%   88.83%           
=======================================
  Files         227      227           
  Lines       29769    29775    +6     
=======================================
+ Hits        26445    26451    +6     
  Misses       3324     3324           
Flag Coverage Δ
drivers 39.96% <100.00%> (+0.01%) ⬆️
extensions 5.13% <0.00%> (-0.01%) ⬇️
unit-adaptivity 40.10% <100.00%> (+0.01%) ⬆️
unit-basics 14.69% <0.00%> (-0.01%) ⬇️
unit-celldata 21.13% <0.00%> (-0.01%) ⬇️
unit-fespaces-1 32.36% <100.00%> (+0.01%) ⬆️
unit-fespaces-2 38.84% <0.00%> (-0.01%) ⬇️
unit-fields 17.58% <0.00%> (-0.01%) ⬇️
unit-geometry 28.78% <0.00%> (-0.01%) ⬇️
unit-multifield 30.88% <0.00%> (-0.01%) ⬇️
unit-odes 28.75% <0.00%> (-0.01%) ⬇️
unit-referencefes 34.25% <0.00%> (-0.01%) ⬇️
unit-visualization 11.91% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates compute_facet_owners to support a user-provided local_to_global mapping and changes the facet owner selection rule to be based on global cell ordering (via that mapping), rather than relying on the topology’s adjacency ordering.

Changes:

  • Extend compute_facet_owners with an optional local_to_global callback (default identity).
  • Change facet ownership selection from “first adjacent cell” to “adjacent cell with max global id”.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/FESpaces/Pullbacks.jl Outdated
Comment thread src/FESpaces/Pullbacks.jl Outdated
Comment thread src/FESpaces/Pullbacks.jl Outdated
Comment thread src/FESpaces/Pullbacks.jl Outdated
amartinhuertas and others added 2 commits April 29, 2026 18:52
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@amartinhuertas amartinhuertas marked this pull request as draft April 29, 2026 10:40
Comment thread src/FESpaces/Pullbacks.jl Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/FESpaces/Pullbacks.jl Outdated
Comment thread NEWS.md
amartinhuertas and others added 3 commits April 30, 2026 10:28
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@amartinhuertas amartinhuertas marked this pull request as ready for review April 30, 2026 00:51
@amartinhuertas amartinhuertas merged commit f39eac1 into master Apr 30, 2026
58 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