OESmirnoffStretchData

Attention

This API is currently available in C++ and Python.

class OESmirnoffStretchData : public OEMolSmirnoff::OESmirnoffData

The OESmirnoffStretchData class provides the ability to add new parameters and modify existing bond stretching parameters in the SMIRNOFF force field that has the functional form: \(V_b = k_b(r - r_0)^2\) (see SMIRNOFF).

See also

The following methods are publicly inherited from OESmirnoffData class:
The class defines the following public methods:

Constructors

OESmirnoffStretchData() -> OESmirnoffStretchData
OESmirnoffStretchData(id: str, smarts: str) -> OESmirnoffStretchData
OESmirnoffStretchData(arg2: OESmirnoffStretchData) -> OESmirnoffStretchData

GetEquilibriumBondLength

GetEquilibriumBondLength() -> float

Returns the equilibrium bond length (\(r_0\)) in Angstrom associated with the parameter

GetEneConst

GetEneConst() -> float

Returns the energy constant (\(k_b\)) \({kcal/mol/Angstrom^{2}}\) associated with the parameter

SetParams

SetParams(eneConst: float, bondLength: float) -> bool

Sets equilibrium bond length and energy constant for the the parameter