Distributed fields
A field on the nodes of a 1D, 2D or 3D grid, one or several components per node, split over MPI ranks with halo nodes (mpiarray’s layout, simgeometry’s grid).
Distributed fields
A field on the nodes of a 1D, 2D or 3D grid, one or several components per node, split over MPI ranks with halo nodes (mpiarray’s layout, simgeometry’s grid).
Gather and scatter
Interpolate the field at marker positions and deposit marker values onto the nodes with cloud-in-cell weights, exact transposes of each other.
Compiled kernels
Pyccel with OpenMP on the CPU, CUDA for CuPy arrays, Metal on Apple silicon, a NumPy fallback: the same arguments for all.
Fields as values
Arithmetic, ufuncs, gradients, cross and dot products, smoothing, reductions over all ranks, xarray evaluation, plots through plasma-plots, NetCDF files.