solprop.backends#

Execution backends behind one seam.

The NumPy reference, Numba CPU and native backend (docs/dev/backends.md). This package exports the seam itself — the Backend protocol and the record types it returns — and solprop.backends.registry, which selects a backend by name and says why one is not usable.

Modules

batch

Establish fixed-schedule lockstep with independent backend workspaces.

bodies

Per-element mathematics, written once and compiled for each backend family.

driver

The step loop every backend runs, with the kernels left abstract.

exponential

The phi functions and exponential Adams weights, in NumPy (SEP 16 sections 4.2-4.3).

low_storage

The low-storage interaction-picture RK4 march: replay-only, accepted in place.

memory

Estimate a run's persistent memory before a backend allocates it.

mlx_gpu

The mlx backend: single-precision propagation on Apple-silicon GPUs (SEP 33).

multistep

The interaction-picture Adams march every CPU backend steps with (SEP 13, SEP 14).

numba_cpu

The CPU backend: fused numba kernels over FFTW plans.

numpy_ref

The NumPy reference backend: the oracle.

populations

Map backend channel reductions onto the mixture's ordered species axis.

protocol

The seam: what a backend is, and what comes back from one.

registry

Selecting a backend by name, and saying why one is not usable.

spatial

Collect spatial host statistics through bounded transverse reconstruction chunks.