xnn.ffnn.models.gfnfflib.extra_ok#

xnn.ffnn.models.gfnfflib.extra_ok(t, i, j, k, l, cz, s5)[source]#

Whether a torsion takes the extra one-fold term (extra_n1): ends with neighbours of their own, no H, no d metal other than sp3 and no sp metal end, none at a hypervalent S; sp or sp2 ends take none (a pi S only when it is a torsion pi atom), sp3 ends with a pi flag (ethers, amines) keep it.