xnn.ffnn.models.reaxff_train#
The kernels of reaxff_kernels differentiable twice, for training: the per-atom energies of a term
kernel, its gradients in the inputs (positions or bond vectors, per-atom and per-bond arrays, parameter tables)
as a function that is itself differentiable. The second derivatives run the generated kernels of
reaxff_tangents: the adjoint’s tangent along the incoming direction (the Hessian-vector product, into
every input) and the forward kernel’s tangent (the gradient of the incoming energy gradients). The cell enters
as a constant: a stress loss takes the reference terms.
Functions
|
The per-atom energies |
Classes
|
|