xnn.ffnn.models#

Modules

amber

AMBER: the fixed-topology force field of Cornell et al. (1995).

amberlib

AMBER parameter libraries: the SEAMM .frc format and native JSON.

amoeba

AMOEBA and HIPPO: polarizable atomic multipole force fields.

amoeba_cpu

The AMOEBA and HIPPO kernels on the CPU: xnn.common.cpu_kernels.launch() runs them as C++ loops, with lane-wise twins of the helpers and kernels that reduce over a block.

amoeba_ewald

Ewald and particle-mesh Ewald sums for atomic multipoles and r^-6 dispersion.

amoeba_kernels

Fused Triton kernels of the AMOEBA and HIPPO nonbonded pair terms.

amoeba_ladders

Derivative ladders of the HIPPO radial kernels as Triton device functions.

amoeba_lammps

Inputs for the AMOEBA package of LAMMPS (pair_style amoeba and hippo) from an AMOEBA or HIPPO model.

amoeba_tangents

Tangents (forward-mode derivatives) of the Triton device functions of the AMOEBA and HIPPO kernels.

amoeba_valence

The valence terms of AMOEBA and HIPPO on fused kernels: bonds, angles (in-plane included), stretch-bends, Urey-Bradley terms, out-of-plane bends and torsions of a step plan, from its bonded vectors.

amoebalib

AMOEBA and HIPPO parameter libraries: .frc bridge and Tinker file formats.

charmm

CHARMM: the all-atom protein force field of MacKerell et al. (1998).

charmmlib

CHARMM parameter libraries: the SEAMM .frc format and native JSON.

classical_cpu

The classical kernels on the CPU: xnn.common.cpu_kernels.launch() runs them as C++ loops, with the lane-wise twins of the helpers that reduce over a block, and Plan holds the launches of one molecular-dynamics step.

classical_fast

The fast nonbonded pair terms of the classical force fields (OPLS, AMBER, CHARMM, DREIDING): the half neighbor list, the exclusion weights, the per-type-pair table over the atom types a topology uses, and the call of the pair kernel of classical_kernels.

classical_kernels

Fused Triton kernels of the nonbonded pair terms of the classical force fields (OPLS, AMBER, CHARMM, DREIDING).

classical_step

Molecular-dynamics steps of the classical force fields (OPLS, AMBER, CHARMM, DREIDING) on their kernels.

classical_tangents

Derivatives of the Triton kernels of the classical force fields (OPLS, AMBER, CHARMM, DREIDING)

classical_train

The kernels of classical_kernels differentiable twice, for training: the per-atom energies of the pair and bonded terms with the gradients of their parameter arrays, and the position gradients as a function that is itself differentiable (force losses, Hessian-vector products).

dreiding

DREIDING: the rule-generated generic force field.

dreidinglib

DREIDING parameter library and generation rules.

ffield

ReaxFF parameter libraries: the SEAMM .frc format and ReaxFF-nn JSON.

geometry

Shared bonded-term geometry for fixed-topology force fields.

gfnff

GFN-FF: the general force field for elements, built from the structure alone.

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.

gfnff_kernels

The GFN-FF energy terms as fused kernels: every kernel adds the energy of its rows and their position gradient, one row (or a block of pairs) per program.

gfnff_periodic

Nonbonded terms of a periodic GFN-FF model: EEQ electrostatics by an Ewald sum, dispersion over the images, and the hydrogen- and halogen-bond rows over the images.

gfnff_tangents

Derivatives of the fused GFN-FF kernels

gfnfflib

Topology and parameter rules of the GFN-FF force field.

lammps_input(model, pos[, cell, atomic_numbers])

The LAMMPS data file, the commands, the energy offset and the further files of a classical force field.

opls

OPLS: the all-atom (and united-atom) fixed-topology force field.

oplslib

OPLS parameter libraries: the SEAMM .frc format and native JSON.

reaxff

ReaxFF: the reactive force field, classical and machine-learned (ReaxFF-nn).

reaxff_fast

The fast path of ReaxFF: the terms on the kernels of reaxff_kernels, their backward from the generated adjoints of reaxff_tangents.

reaxff_kernels

Triton kernels of the ReaxFF terms (the fast path of ReaxFF), the energies of one evaluation from the positions: the tapered van der Waals and shielded Coulomb pairs.

reaxff_step

Molecular-dynamics steps of ReaxFF (LAMMPS conventions) on its kernels.

reaxff_tangents

Derivatives of the Triton kernels of ReaxFF (the fast path of xnn.ffnn.models.ReaxFF)

reaxff_train

The kernels of reaxff_kernels differentiable twice, for training: the per-atom energies of a term kernel, its gradients in the inputs (positions or bond vectors, per-atom and per-bond arrays, parameter tables) as a function that is itself differentiable.

terms

Classical energy terms evaluated with per-term parameters.

topology

Fixed molecular topology for valence force fields (OPLS and friends).