Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polar boundary conditions #3965

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

simone-silvestri
Copy link
Collaborator

@simone-silvestri simone-silvestri commented Dec 2, 2024

This PR implements PolarBoundaryConditions. This was originally done in #3953 with views of abstract operations (allowing reductions on windowed fields).
However, two problems arose:

  • allowing views of abstract operations might be more complicated than originally thought because we need to pass the topology in the intersect index function (requires a bit of refactoring).
  • the BoundaryConditions module is loaded before the Fields module, requiring quite a mess for a boundary condition which is, in the end, quite simple.

For this reason, I would like to close #3953 and just implement a simple PolarBoundaryCondition in this PR with a dedicated kernel to compute the mean of the first / last row.

I can open an issue regarding views of AbstractOperations so we can tackle it in a new fresh PR.

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.

1 participant