jaxrens.backends.geometry¶
Geometry helpers shared by energy backends and configuration constraints.
The minimum-image pairwise-distance computation lives here so that the
soft-core repulsion term (jaxrens.backends.softcore) and the
configuration constraints (jaxrens.constraints) share a single,
tested implementation rather than each carrying their own copy.
All functions are jit/vmap/pmap safe: no Python conditionals on traced values.
Functions
Full |