 |
RDKit
Open-source cheminformatics and machine learning.
|
Go to the documentation of this file.
13 #ifndef __RD_UFFPOSITIONCONSTRAINT_H__
14 #define __RD_UFFPOSITIONCONSTRAINT_H__
37 double maxDispl,
double forceConst);
42 void getGrad(
double *pos,
double *grad)
const;
51 double d_forceConstant;
PositionConstraintContrib(ForceField *owner, unsigned int idx, double maxDispl, double forceConst)
Constructor.
double getEnergy(double *pos) const
returns our contribution to the energy of a position
virtual PositionConstraintContrib * copy() const
return a copy
A class to store forcefields and handle minimization.
void getGrad(double *pos, double *grad) const
calculates our contribution to the gradients of a position
A position constraint of the type 0.5k * deltaX^2.
~PositionConstraintContrib()
abstract base class for contributions to ForceFields
#define RDKIT_FORCEFIELD_EXPORT
PositionConstraintContrib()