xnn.hybnn.models.byteff_export#
The scriptable core of an exported ByteFF-Pol model (see export_torchscript_potential()).
A ByteFF-Pol model predicts the parameters of the system it is bound to once; the export keeps those parameter
rows. For molecules and clusters (every pair, no cell) it evaluates the energy block of the reference
(_PolEnergy) with the induced-dipole solve; in periodic cells the terms of the
reference’s periodic path from the same functions: the bonded terms and the pairs within 1,5 on minimum-image
vectors, the neighbor pairs, the particle-mesh Ewald sums and the induced dipoles by the reference’s
preconditioned conjugate gradients, with the forces of the polarization energy from its variational form at the
solved dipoles (the gradient the reference’s adjoint gives).
Classes
|
|
|
|