openff.interchange.components.foyer.FoyerHarmonicBondHandler
- pydantic model openff.interchange.components.foyer.FoyerHarmonicBondHandler[source]
Bases:
FoyerConnectedAtomsHandler
Handler storing bond potentials as produced by a Foyer force field.
- Fields
- field type: str = 'harmonic_bonds'
- field expression: str = 'k/2*(r-length)**2'
- get_params_with_units(params)[source]
Get the parameters of this handler, tagged with units.
- store_matches(atom_slots: Dict[TopologyKey, PotentialKey], topology: Topology) None [source]
Populate self.slot_map with key-val pairs of [TopologyKey, PotentialKey].