xnn.ffnn.models.gfnff#
GFN-FF: the general force field for elements, built from the structure alone.
GFN-FF (Spicher & Grimme, Angew. Chem. Int. Ed. 59, 15665, 2020) needs no atom types and no input topology: neighbours, hybridization, pi systems and all parameters follow from the elements, the positions and the total charge. The energy is
- E = E_bond + E_angle + E_torsion + E_repulsion + E_bonded-ATM
E_dispersion + E_HB + E_XB + E_electrostatic
Bonds: Gaussians
k exp(-alpha (R - R0)^2)whose reference length follows the coordination numbers and whose exponent is softened for hydrogens in hydrogen bonds.Angles:
k (cos t - cos t0)^2(k (t - pi)^2for linear centres), damped with the two bond lengths.Torsions and inversions:
k [1 + cos(n (phi - phi0) + pi)]and the out-of-plane forms, damped with the three bond lengths.Repulsion:
c / R exp(-m R^1.5)over all pairs, with separate bonded and non-bonded constants.Bonded ATM: the three-body dispersion term over 1,4 pairs and their neighbours.
Dispersion: D4-type pairwise
C6/C8terms with charge-scaled reference polarizabilities.Hydrogen and halogen bonds: charge-scaled, angle-damped three-body terms over donor, hydrogen (or halogen) and acceptor.
Electrostatics: an electronegativity-equilibration model of Gaussian charges solved at every geometry.
The topology (neighbours, charges of the topology, rows of the bonded
terms) is generated once from the structure the model is built with
(gfnfflib); forward evaluates conformations of
that molecule, and forces follow by autograd through
ForceStressOutput. The hydrogen- and
halogen-bond rows depend on distances and follow each conformation. The implementation
reproduces the energies and gradients of the xtb program (release 6.8.0)
for molecules of the elements in SUPPORTED.
Module Attributes
Energy terms in the order of the model's |
|
Pair distance (Bohr) beyond which the reference program drops dispersion pairs. |
|
Repulsion pairs with an exponent above this value (terms below exp(-60) of their prefactor) are skipped. |
Classes
|
The GFN-FF force field of one molecule. |