pyamrex
pyamrex copied to clipboard
GPU-Enabled, Zero-Copy AMReX Python Bindings including AI/ML
Convert the `ParmParse` entries to a dict. Use type hints whenever possible to create a proper value variable. Only file inputs and CLI inputs are string values that way. -...
Add usage reference for FHDeX. @JBlaschke can you complete the `...` for this entry please via GH PR comment? Also, can I link something as in the other usage cases?...
Fix #426: `np.array(..., copy=False)` to `np.asarray(..., copy=False)`. - https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword - https://numpy.org/doc/2.2/reference/generated/numpy.asarray.html Bump requirements to NumPy 2.0+: we so far supported NumPy 1 & 2 in parallel, but NumPy 2 is...
Using the `amrex::PolymorphicArenaAllocator`. Close #425 ### To Do - [x] specialize PC with `amrex::PolymorphicArenaAllocator` - [ ] add a C++ example to AMReX tests https://github.com/AMReX-Codes/amrex/issues/4380 - [ ] add a...
Modernize our `.to_numpy()` functions to address a warning: https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword See: https://github.com/BLAST-ImpactX/impactx/issues/903
Finish implementation of the polymorphic particle container. Use mostly with runtime components. Code-development on the application/executable level in the following PRs can be done already, and we can then update...
Compiling 25.02 for 32bit Linux raises this static assert: ``` src/Particle/ParticleContainer.cpp:52:8: required from here 2025-03-12T17:03:32.0388802Z /usr/local/include/AMReX_ParticleContainerI.H:65:61: error: static assertion failed: sizeof ParticleType is not a multiple of sizeof RealType 2025-03-12T17:03:32.0390003Z...
In order to let users implement their whole simulation in pyAMReX (e.g. [this user question](https://github.com/AMReX-Codes/pyamrex/discussions/392)), we could expose `AmrCore` again. Here is the logic to implement purely virtual and python-overwritable...