How can I enable adaptive mesh refinement with pyAMReX? #392
-
As titled, I didn't find any relevant codes in the manual about adaptive mesh refinement. It seems that both two example codes (HeatEquation.py and MultiFab.py) do not enable this function at all. I wonder whether there is a python code involving adaptive mesh refinement for reference. Thx! |
Beta Was this translation helpful? Give feedback.
Answered by
WeiqunZhang
Nov 12, 2024
Replies: 1 comment 1 reply
-
Not everything in amrex is ported to python. For an AMR code, you will have to write in C++ first. Then you can add some wrappers that allow you to drive your code from python. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ax3l
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not everything in amrex is ported to python. For an AMR code, you will have to write in C++ first. Then you can add some wrappers that allow you to drive your code from python.