valence
#
Convert valence potentials to OpenMM forces.
Modules:
-
smee
–Differentiably evaluate energies of molecules using SMIRNOFF force fields
Functions:
-
convert_bond_potential
–Convert a harmonic bond potential to a corresponding OpenMM force.
-
convert_torsion_potential
–Convert a torsion potential to a corresponding OpenMM force.
convert_bond_potential
#
convert_bond_potential(
potential: TensorPotential, system: TensorSystem
) -> HarmonicBondForce
Convert a harmonic bond potential to a corresponding OpenMM force.
Source code in smee/converters/openmm/valence.py
convert_torsion_potential
#
convert_torsion_potential(
potential: TensorPotential, system: TensorSystem
) -> PeriodicTorsionForce
Convert a torsion potential to a corresponding OpenMM force.