xnn.dnn.fast.acsf_direct#
The gradient of the atom-centered symmetry functions, written out (HDNNP on CPUs).
The reference (AtomCenteredSymmetryFunctions) gets the forces from an
autograd pass through its radial and angular blocks. Here, with the networks’ gradient lam = dE / dG
of every atom and symmetry function, the derivative of sum(lam * G) in the edge vectors is formed in one
pass over the edges and triplets: each function’s slope in its distances and angle, as the reference’s
formulas give them, contracted with lam of its center. The function types 1, 2, 3 and 9 (the factorized
angular functions) with any cutoff kind; evaluation only. forward_direct() serves a standalone 2G HDNNP
on a CPU (see ForceStressOutput).
Functions
|
The factorized angular functions (types 3 and 9) of every atom |
|
|
|
|
|
Every triplet's products of angular and radial factors summed per center and neighbor species pair, |
|
Whether the written-out gradient covers |
|
|
|
|
|
A 2G |
|
|
|
The triplets of the edges |