Skip to content

Bug fix compute facet owners#205

Merged
JordiManyer merged 12 commits into
masterfrom
bug_fix_compute_facet_owners
May 5, 2026
Merged

Bug fix compute facet owners#205
JordiManyer merged 12 commits into
masterfrom
bug_fix_compute_facet_owners

Conversation

@amartinhuertas

Copy link
Copy Markdown
Member

No description provided.

@codecov

codecov Bot commented Apr 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.72%. Comparing base (b546015) to head (92ffb1f).
⚠️ Report is 19 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #205      +/-   ##
==========================================
+ Coverage   84.56%   84.72%   +0.15%     
==========================================
  Files          16       16              
  Lines        4238     4249      +11     
==========================================
+ Hits         3584     3600      +16     
+ Misses        654      649       -5     
Flag Coverage Δ
mpi-adaptivity 45.64% <0.00%> (-0.12%) ⬇️
mpi-fespaces 40.10% <0.00%> (-0.11%) ⬇️
mpi-geometry 23.30% <0.00%> (-0.07%) ⬇️
mpi-misc 50.46% <92.30%> (+0.12%) ⬆️
mpi-physics 35.79% <100.00%> (+0.28%) ⬆️
mpi-transient 24.94% <0.00%> (-0.07%) ⬇️
seq-adaptivity 39.56% <0.00%> (-0.11%) ⬇️
seq-fespaces 42.18% <100.00%> (+0.26%) ⬆️
seq-geometry 23.34% <0.00%> (-0.07%) ⬇️
seq-misc 35.28% <92.30%> (+0.16%) ⬆️
seq-physics 35.66% <92.30%> (+0.16%) ⬆️
seq-transient 24.18% <0.00%> (-0.07%) ⬇️

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.

@amartinhuertas amartinhuertas marked this pull request as draft April 29, 2026 13:46
Comment thread src/Pullbacks.jl
end
facet_to_owner = map(local_views(model), cell_ids) do model, cell_ids
lid_to_gid = local_to_global(cell_ids)
select_nbor = Base.Fix2(select_nbor_with_max_gid, lid_to_gid)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Interesting ... I did not know that Fix2 method existed ... it is very handy here

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes, I like the Fix structs a lot. In 1.13 they are introducing more of these, so you can have super performant closures.

amartinhuertas and others added 7 commits April 30, 2026 13:43
…apDistributed.jl into bug_fix_compute_facet_owners
function FESpaces.compute_cell_bases_changes(
  ::ReferenceFEName, ::CoVariantPiolaMap, model::DistributedDiscreteModel, cell_reffe, cell_Jt
)

in the case Dc==2 or polytope a simplex
@JordiManyer JordiManyer marked this pull request as ready for review May 4, 2026 22:43
@JordiManyer JordiManyer merged commit 8268f41 into master May 5, 2026
28 of 29 checks passed
@JordiManyer JordiManyer deleted the bug_fix_compute_facet_owners branch May 5, 2026 00:58
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