xnn.ffnn.models.amoeba_ladders#
Derivative ladders of the HIPPO radial kernels as Triton device functions.
Generated by tools/generate_amoeba_ladders.py from the kernel layouts and ladder plans of
xnn.ffnn.models.amoeba (do not edit by hand; regenerate). Each function takes the pair
distance R, its inverse inv and the exponents of the two atoms, all as Triton tensors of
one block of pairs, and returns D_0 .. D_order with D_n = (1/R d/dR)^n g. The one-center
and the two-center overlap Coulomb kernels are returned as deficits C_n - D_n with C_n the
ladder of 1/R: the exponential parts of the damping alone, so that the pair kernels contract
the total charges with the Coulomb (or Ewald) ladder and subtract these small terms instead of
cancelling core-sized terms in the working precision. The squared Slater overlap is returned as
itself. The closed forms of the two-center kernels cancel at nearly equal exponents, where the
series in the exponent difference take over (*_series); the *_pair functions evaluate both
with a stand-in exponent on the pairs of the other form and select per pair, as the compiled path
of the eager module does.
Module Attributes
the float64 constants the device functions load through |