AMReX-Codes / pyamrex

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

Doc: Compute Section #230

Closed ax3l closed 10 months ago

ax3l commented 10 months ago

Demonstrate how to use the Zero-Copy data access to compute (read & write) on fields and particles. This uses the typical AMReX level - block - compute loop pattern in AMReX.

Also adds some breakage to clean up attributes (e.g., nGrowVect -> n_grow_vect).