Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Immersed boundary as a plain OffsetArray#5737

Merged
simone-silvestri merged 12 commits into
mainfrom
ss/grid-bottom-as-offsetarrays
Jun 29, 2026
Merged

Immersed boundary as a plain OffsetArray#5737
simone-silvestri merged 12 commits into
mainfrom
ss/grid-bottom-as-offsetarrays

Conversation

@simone-silvestri

@simone-silvestri simone-silvestri commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator

we actually do not need a Field (the grid is the same grid the immersed boundary is attached to). So it's good to have just plain OffsetArrays. It also help with memory allocation issues and keeping the field descriptor of a model a bit more contained; each Field has a gigantic field descriptor, and on an immersed boundary we now have in main Field(Grid(Field(Grid)) which explodes the descriptor by a factor of 2

Comment thread src/ImmersedBoundaries/grid_fitted_bottom.jl Outdated
Comment thread src/ImmersedBoundaries/grid_fitted_bottom.jl
@navidcy

navidcy commented Jun 29, 2026

Copy link
Copy Markdown
Member

@simone-silvestri, the PR might have triggered some scalar operations? Docs and GPU Unit tests are failing.

Comment thread src/ImmersedBoundaries/grid_fitted_bottom.jl
Comment thread src/ImmersedBoundaries/partial_cell_bottom.jl
Comment thread docs/src/grids.md
@codecov

codecov Bot commented Jun 29, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 82.45614% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.00%. Comparing base (21fedcd) to head (489022d).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...tedComputations/distributed_immersed_boundaries.jl 58.33% 5 Missing ⚠️
src/MultiRegion/multi_region_grid.jl 58.33% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5737      +/-   ##
==========================================
+ Coverage   73.96%   74.00%   +0.03%     
==========================================
  Files         418      418              
  Lines       25279    25281       +2     
==========================================
+ Hits        18698    18708      +10     
+ Misses       6581     6573       -8     
Flag Coverage Δ
buildkite 68.60% <71.42%> (-0.01%) ⬇️
julia 68.60% <71.42%> (-0.01%) ⬇️
reactant_1 6.03% <5.35%> (+<0.01%) ⬆️
reactant_2 10.78% <5.35%> (-0.01%) ⬇️
reactant_3 9.17% <5.35%> (-0.01%) ⬇️

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

☔ View full report in Codecov by Harness.
📢 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.

@simone-silvestri simone-silvestri merged commit 73f59fa into main Jun 29, 2026
89 checks passed
@simone-silvestri simone-silvestri deleted the ss/grid-bottom-as-offsetarrays branch June 29, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants