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

Skip to content

Fix tripolar reductions#5099

Merged
simone-silvestri merged 53 commits into
mainfrom
ss/correct-tripolar-red
Jul 1, 2026
Merged

Fix tripolar reductions#5099
simone-silvestri merged 53 commits into
mainfrom
ss/correct-tripolar-red

Conversation

@simone-silvestri

@simone-silvestri simone-silvestri commented Jan 5, 2026

Copy link
Copy Markdown
Collaborator

This PR fixes reductions on a tripolar grid to make sure that the extra repeated half-line is excluded from the reduction.

This should also solve the problem with the tripolar conservation test.

closes #4488 #4487

Comment thread src/OrthogonalSphericalShellGrids/tripolar_grid_reductions.jl Outdated
@simone-silvestri

Copy link
Copy Markdown
Collaborator Author

I think the whitespace check might be allucinating here (or I might be allucinating). I cannot find the whitespaces that it points to!

@glwagner glwagner changed the title Correct tripolar reductions Fix tripolar reductions Jan 19, 2026
@codecov

codecov Bot commented Jan 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 34.78261% with 60 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.84%. Comparing base (0911da6) to head (38f0213).

Files with missing lines Patch % Lines
...nalSphericalShellGrids/tripolar_grid_reductions.jl 32.07% 36 Missing ⚠️
src/ImmersedBoundaries/immersed_reductions.jl 38.46% 24 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5099      +/-   ##
==========================================
- Coverage   73.97%   73.84%   -0.14%     
==========================================
  Files         400      401       +1     
  Lines       22870    22938      +68     
==========================================
+ Hits        16918    16938      +20     
- Misses       5952     6000      +48     
Flag Coverage Δ
buildkite 68.71% <36.36%> (-0.12%) ⬇️
julia 68.71% <36.36%> (-0.12%) ⬇️
reactant_unit 3.76% <0.00%> (-0.02%) ⬇️

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.

@simone-silvestri

Copy link
Copy Markdown
Collaborator Author

Adapted to the new changes merged in #5408. This should be ready to go @briochemc

@simone-silvestri simone-silvestri merged commit e30ce3a into main Jul 1, 2026
90 of 91 checks passed
@simone-silvestri simone-silvestri deleted the ss/correct-tripolar-red branch July 1, 2026 16:42
navidcy referenced this pull request Jul 1, 2026
* fix instabilities

* Improve documentation for GridSize struct

Refactor comments for clarity and readability.

* Apply suggestion from @simone-silvestri

* Apply suggestion from @simone-silvestri

* Apply suggestion from @simone-silvestri

* launch a split map

* add Sz to the Reactant grid

* fix whitespace

* make sure also worksize is also inferred

* make sure we can infer the constants

* add inference tests, compact bounds

* Import additional utilities in test_memory_allocation.jl

* test we can actually infer the work layout

* some changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test velocity exchanges across the tripolar seam more thoroughly

5 participants