Skip to content

kups.potential.classical.ewald.reciprocal

Reciprocal structure-factor kernels independent of Ewald caches and potentials.

_structure_factor_full selects factored phase grids on CPU, direct sums on GPU, or bounded explicit tiles. The tiled path also bounds derivative workspace when tiled=True. Each kernel accepts signed charges for incremental deltas.