Clarification on fill priority in FillPatchTwoLevels with internal boundary conditions #4518
-
I have a question regarding the exact logic used by Here is the usage context:
My current understanding of the fill priority is as follows: 1.For the valid region of
Is this understanding correct? Especially, I want to confirm:
Thank you very much! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
This is what the doxygen documentation says
Hope that answers part of the questions.
No,
No and no. (FillBoundary is not the only way to fill boundaries.) |
Beta Was this translation helpful? Give feedback.
-
I noticed that you are using Here are the links to the doxygen documents. https://amrex-codes.github.io/amrex/doxygen/namespaceamrex.html#a3f8f5f13146586dfaa0fb8d082132f12 https://amrex-codes.github.io/amrex/doxygen/namespaceamrex.html#a5b5440802e0895fcba37e6b295116585 |
Beta Was this translation helpful? Give feedback.
Note that calling
amrex::FillPatchTwoLevels(mf, time, ...)
followed bymf.FillBoundary(...)
is NOT equivalent toamrex::FillPatchTwoLevels(mf, nghost, time, ...)
even when the boundaries all periodic, because fine ghost cells outside the coarse/fine boundary are not always at the periodic domain boundary.