xnn.ffnn.models.classical_fast.fast_bonded#
- xnn.ffnn.models.classical_fast.fast_bonded(data, idx, kind, params, shifts, options=None, extra=(0.0, 0.0), twice=False, tiny=1e-12)[source]#
The per-atom energies
(N,)of one class of bonded terms from the kernels ofclassical_kernels(kind,paramsandextraas there), in the model’s dtype;twicethe kernels differentiable twice (classical_train);tinythe regularizer of the lengths (0 for none).