xnn.common.models.dispersion_fast.d3_direct.d3_direct#

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

D3 of a batched graph with its forces, no autograd: the energies per atom and per structure (B, 3) (total, two-body, three-body; eV), the features (N, 2) (coordination number, homoatomic C6), the forces (N, 3) (eV / A) and dE / d(strain) (B, 3, 3) (eV). Molecules take d3_dense() where dense_applies() (its outputs instead).