Question about static refinement. #4805
-
Beta Was this translation helpful? Give feedback.
Answered by
WeiqunZhang
Nov 19, 2025
Replies: 1 comment 3 replies
-
|
It might be entirely caused by how |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

In AMReX, the level 0 grids usually cover the entire domain. So having coarse cells on the right half is expected. (Note that AMReX's grid is not a tree. A tree is just a special case for us. So generally speaking it's not possible to not allocate coarse cells covered by fine cells.) Having fine cells on the left half might be a yt thing for visualization purpose. As for the behavior of FillPatchSingleLevel, FillPatchTwoLevels and average_down, do you have specific questions? Do these Doxygen documentations answer your question?
https://amrex-codes.github.io/amrex/doxygen/namespaceamrex.html#a3cf973090fa613c635340a08df7ecd38
https://amrex-codes.github.io/amrex/doxygen/namespaceamrex.html#…