xnn.ffnn.models.gfnff_export#
Deployment of a bound GFN-FF model: the scriptable cores of its TorchScript export and the forces and strain derivative that the ASE calculator and the MDI engine take from it.
A GFN-FF model is bound to the structure it was built from, so both routes serve that system with its atoms in
their order. The exported cores hold the rows of the terms as buffers and evaluate the eager terms of
GFNFF. For molecules and clusters (GFNFFExport) the hydrogen- and
halogen-bond rows of each conformation are chosen inside the scripted module: every row the topology allows is
kept and the distance cuts are applied at each evaluation, which gives the rows of the model’s lists. Periodic cells
(GFNFFCellExport) keep the rows the model holds, which stay valid while every atom is within half the
model’s skin of the positions they were chosen at. direct_outputs() serves molecules and periodic cells
through energy_and_gradient(), with the fused kernels where the model takes them.
Functions
|
The outputs of |
Classes
|
|
|
|