![]() |
RDKit
Open-source cheminformatics and machine learning.
|
#include <ChiralViolationContribs.h>
Public Member Functions | |
| ChiralViolationContribs ()=default | |
| ChiralViolationContribs (ForceFields::ForceField *owner) | |
| Constructor. | |
| void | addContrib (const ChiralSet *cset, double weight=1.0) |
| adds a new chiral constraint | |
| double | getEnergy (double *pos) const override |
| return the contribution of this contrib to the energy of a given state | |
| void | getGrad (double *pos, double *grad) const override |
| ChiralViolationContribs * | copy () const override |
| return a copy | |
| bool | empty () const |
| unsigned int | size () const |
| Public Member Functions inherited from ForceFields::ForceFieldContrib | |
| ForceFieldContrib () | |
| ForceFieldContrib (ForceFields::ForceField *owner) | |
| virtual | ~ForceFieldContrib () |
Additional Inherited Members | |
| Protected Attributes inherited from ForceFields::ForceFieldContrib | |
| ForceField * | dp_forceField {nullptr} |
| our owning ForceField | |
A term to capture the violation of chirality at atom centers
Definition at line 46 of file ChiralViolationContribs.h.
|
default |
Referenced by copy().
| DistGeom::ChiralViolationContribs::ChiralViolationContribs | ( | ForceFields::ForceField * | owner | ) |
Constructor.
| owner | pointer to the owning forcefield |
| cset | a chiral set containing the four chiral atom ids (in sequence) and the upper and lower limits on the signed chiral volume |
| weight | (optional) the weight to be used for this contrib |
| void DistGeom::ChiralViolationContribs::addContrib | ( | const ChiralSet * | cset, |
| double | weight = 1.0 ) |
adds a new chiral constraint
| cset | a chiral set containing the four chiral atom ids (in sequence) and the upper and lower limits on the signed chiral volume |
| weight | (optional) the weight to be used for this contrib |
|
inlineoverridevirtual |
return a copy
Implements ForceFields::ForceFieldContrib.
Definition at line 78 of file ChiralViolationContribs.h.
References ChiralViolationContribs().
|
inline |
Definition at line 81 of file ChiralViolationContribs.h.
|
overridevirtual |
return the contribution of this contrib to the energy of a given state
Implements ForceFields::ForceFieldContrib.
|
overridevirtual |
calculate the contribution of this contrib to the gradient at a given state
Implements ForceFields::ForceFieldContrib.
|
inline |
Definition at line 82 of file ChiralViolationContribs.h.