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,) in dtype of one class of bonded terms (see BondedTerms); extra the squared cutoff and the cosine bound of the hydrogen bonds.

Parameters:
Return type:

Tensor