xnn.ffnn.models.classical_step#
Molecular-dynamics steps of the classical force fields (OPLS, AMBER, CHARMM, DREIDING) on their kernels.
A ClassicalStepper evaluates the energy and forces of one structure at a sequence of positions. It
keeps a neighbor list built with cutoff + skin while no atom has moved by half the skin, and with it
the model’s kernel terms (evaluate_spec(): parameter tables, term
atoms) and the image shifts of the bonded vectors; a step then runs the kernels alone, as a
CUDA graph replay once recorded. The list keeps each pair once and no excluded pair; the pairs beyond the
cutoff are skipped by the pair kernel. The numbers are those of the model’s fast evaluation (and of its eager
reference to round-off).
Classes
|
Energy and forces of one structure along a trajectory from the kernels of a classical force field. |