xnn.common.models.dispersion_fast.d4_direct.d4_direct#

xnn.common.models.dispersion_fast.d4_direct.d4_direct(term, data)[source]#

D4 of a batch (molecules and cells of the dense EEQ regime) with its forces and stress: the energies per atom and per structure (B, 4) (total, two-body, three-body, tail; eV), the D4 coordination numbers, the EEQ charges, the dynamic polarizabilities (N, 23), the forces (N, 3) (eV / A) and dE / d(strain) (B, 3, 3) (eV). Molecules take d4_dense() where dense_applies() (its outputs instead).