openff.interchange.components.foyer.FoyerHarmonicBondHandler
- pydantic model openff.interchange.components.foyer.FoyerHarmonicBondHandler[source]
Handler storing bond potentials as produced by a Foyer force field.
- Config
arbitrary_types_allowed: bool = True
json_encoders: dict = {<class ‘openff.units.units.Quantity’>: <function custom_quantity_encoder at 0x7fdff3466f70>}
json_loads: function = <function json_loader at 0x7fdff3459280>
validate_assignment: bool = True
- Fields
- field type: str = 'harmonic_bonds'
- field expression: str = '1/2 * k * (r - length) ** 2'
- get_params_with_units(params)[source]
Get the parameters of this handler, tagged with units.