![]() |
RDKit
Open-source cheminformatics and machine learning.
|
The angle-bend term for MMFF. More...
#include <AngleBend.h>
Public Member Functions | |
| AngleBendContrib () | |
| AngleBendContrib (ForceField *owner, unsigned int idx1, unsigned int idx2, unsigned int idx3, const MMFFAngle *mmffAngleParams, const MMFFProp *mmffPropParamsCentralAtom) | |
| Constructor. More... | |
| double | getEnergy (double *pos) const override |
| returns our contribution to the energy of a position More... | |
| void | getGrad (double *pos, double *grad) const override |
| calculates our contribution to the gradients of a position More... | |
| AngleBendContrib * | copy () const override |
| return a copy More... | |
Public Member Functions inherited from ForceFields::ForceFieldContrib | |
| ForceFieldContrib () | |
| ForceFieldContrib (ForceFields::ForceField *owner) | |
| virtual | ~ForceFieldContrib () |
| virtual double | getEnergy (double *pos) const =0 |
| returns our contribution to the energy of a position More... | |
| virtual void | getGrad (double *pos, double *grad) const =0 |
| calculates our contribution to the gradients of a position More... | |
| virtual ForceFieldContrib * | copy () const =0 |
| return a copy More... | |
Additional Inherited Members | |
Protected Attributes inherited from ForceFields::ForceFieldContrib | |
| ForceField * | dp_forceField {nullptr} |
| our owning ForceField More... | |
The angle-bend term for MMFF.
Definition at line 26 of file MMFF/AngleBend.h.
|
inline |
Definition at line 28 of file MMFF/AngleBend.h.
| ForceFields::MMFF::AngleBendContrib::AngleBendContrib | ( | ForceField * | owner, |
| unsigned int | idx1, | ||
| unsigned int | idx2, | ||
| unsigned int | idx3, | ||
| const MMFFAngle * | mmffAngleParams, | ||
| const MMFFProp * | mmffPropParamsCentralAtom | ||
| ) |
Constructor.
The angle is between atom1 - atom2 - atom3
| owner | pointer to the owning ForceField |
| idx1 | index of atom1 in the ForceField's positions |
| idx2 | index of atom2 in the ForceField's positions |
| idx3 | index of atom3 in the ForceField's positions |
| angleType | MMFF type of the angle (as an unsigned int) |
|
inlineoverridevirtual |
return a copy
Implements ForceFields::ForceFieldContrib.
Definition at line 45 of file MMFF/AngleBend.h.
|
overridevirtual |
returns our contribution to the energy of a position
Implements ForceFields::ForceFieldContrib.
|
overridevirtual |
calculates our contribution to the gradients of a position
Implements ForceFields::ForceFieldContrib.