xnn.ffnn.models.classical_tangents#

Derivatives of the Triton kernels of the classical force fields (OPLS, AMBER, CHARMM, DREIDING)

Generated by tools/generate_amoeba_derivatives.py --target classical (do not edit by hand; regenerate). <kernel>_t is the tangent of a kernel along the positions (loads of pos_ptr carry the tangents pos_ptr_t, its outputs write their tangents to <output>_t); <kernel>_r is the adjoint of a forward kernel with respect to its parameter arrays (their gradients into <param>_g from the incoming gradients of the energies); <kernel>_r_t is that adjoint’s tangent along the positions.