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

Neumann BC at coarse/fine interface for cell-centered solvers #3926

Merged
merged 10 commits into from May 9, 2024

Conversation

WeiqunZhang
Copy link
Member

For cell-centered linear solvers, if the lowest AMR level in the solver is not AMR level 0, the coarse/fine interface was previously assumed to be Dirichlet. In this commit, this has been relaxed to allow for homogeneous Neumann BC at the coarse/fine interface.

For cell-centered linear solvers, if the lowest AMR level in the solver is
not AMR level 0, the coarse/fine interface was previously assumed to be
Dirichlet. In this commit, this has been relaxed to allow for homogeneous
Neumann BC at the coarse/fine interface.
@WeiqunZhang WeiqunZhang requested a review from asalmgren May 7, 2024 21:57
* No need to agglomerate if there is only one box.

* Fix solvability offset. In the Neumann coarse/fine boundary case, we have
  to compute the volume using BoxArray, not Geometry's Domain box.
@WeiqunZhang WeiqunZhang marked this pull request as ready for review May 9, 2024 22:15
@WeiqunZhang WeiqunZhang enabled auto-merge (squash) May 9, 2024 22:19
@WeiqunZhang WeiqunZhang merged commit a89b465 into AMReX-Codes:development May 9, 2024
69 checks passed
@WeiqunZhang WeiqunZhang deleted the neumann_crse_fine branch May 9, 2024 23:01
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.

None yet

2 participants