xnn.ffnn.models.classical_kernels.bonded_terms#
- xnn.ffnn.models.classical_kernels.bonded_terms(pos, cell, batch, idx, shifts, kind, params, dtype, tiny, bound=1.0, options=None, extra=(0.0, 0.0))[source]#
The per-atom energies
(N,)indtypeof one class of bonded terms (seeBondedTerms);extrathe squared cutoff and the cosine bound of the hydrogen bonds.