xnn.ffnn.models.gfnff_kernels.Plan#
- class xnn.ffnn.models.gfnff_kernels.Plan(model)[source]#
Bases:
objectOne energy-and-gradient evaluation of a bound GFN-FF model on the CPU.
Calling it with positions
(N, 3)in Angstrom returns the nine term energies (Hartree, in the order ofgfnff.TERMS) and the gradient of their sum in Hartree per Angstrom.- has_moved()[source]#
Whether the last evaluation found an atom farther than half the skin from the positions of the hydrogen- and halogen-bond lists (only plans with
checkslook).- Return type:
- tangents()[source]#
Make the launches of the tangent kernels (once;
Unsupportedwhere the CPU kernels do not cover them).- Return type:
None