AMReX-Codes / pyamrex

GPU-Enabled, Zero-Copy AMReX Python Bindings including AI/ML
http://pyamrex.readthedocs.io
Other
35 stars 19 forks source link

MultiFab: Fix Constructor Defaults #306

Closed ax3l closed 5 months ago

ax3l commented 5 months ago

Avoid that a EB factory has to be passed if one wants to change the allocator of a MultiFab.

Broken since #282

Note: assigning a =FunctionCall() default in Python is problematic, the way how and when these are called (see the arg=[] problem). Thus, we just overload once more for now.