You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It recently caused me a lot of pain and confusion and time that "ordinary" peripheral nodes are included in the reduction, but immersed peripheral nodes are not.
What is the logic for treating immersed boundaries differently from ordinary boundaries? I think we should either exclude only inactive nodes or peripheral nodes, but this behavior should be consistent between immersed and not immersed grids.
This change would mean we don't need special reductions (at least for fields that are not reduced) on immersed vs not-immersed grids.
So, for example, if the entire bottom of a grid is immersed, then it will be included in the reduction --- because those nodes are on the periphery of the underlying grid, so
Right now reductions only exclude immersed peripheral nodes:
Oceananigans.jl/src/ImmersedBoundaries/immersed_reductions.jl
Line 27 in 72e2197
It recently caused me a lot of pain and confusion and time that "ordinary" peripheral nodes are included in the reduction, but immersed peripheral nodes are not.
What is the logic for treating immersed boundaries differently from ordinary boundaries? I think we should either exclude only inactive nodes or peripheral nodes, but this behavior should be consistent between immersed and not immersed grids.
This change would mean we don't need special reductions (at least for fields that are not reduced) on immersed vs not-immersed grids.
@simone-silvestri may have the answer.
The text was updated successfully, but these errors were encountered: