-
Notifications
You must be signed in to change notification settings - Fork 24
Start EB #504
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
Start EB #504
Conversation
Just simplifies the call site.
Signed-off-by: Axel Huebl <[email protected]>
ax3l
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for starting this! :)
`foreach` is not a function, so once 1D was built all EB `.cpp` files were skipped.
ax3l
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good start, thank you! ✨
| Embedded boundary (EB) support in pyAMReX is still minimal. To build pyAMReX with | ||
| EB support, you need to add ``-DAMReX_EB=ON`` to CMake build options. | ||
|
|
||
| .. autofunction:: amrex.space3d.EB2_Build | ||
|
|
||
| .. autoclass:: amrex.space3d.EBFArrayBoxFactory | ||
| :members: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, gotta build locally but something broke the autodocs for all types
https://pyamrex.readthedocs.io/en/latest/usage/api.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I built locally and the issue is sizmailov/pybind11-stubgen#275
EBFArrayBoxFactory depends on FabFactory_FArrayBox but pybind11-stubgen does falsly an alphabetical sorting. Hoping this PR gets accepted and unbreaks it, otherwise we need to fork pybind11-stubgen.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is still work in progress. You can build EB and create EBFArrayBoxFactory objects from python.