 |
RDKit
Open-source cheminformatics and machine learning.
|
Go to the documentation of this file.
13 #ifndef __RD_MMFFANGLECONSTRAINT_H__
14 #define __RD_MMFFANGLECONSTRAINT_H__
38 unsigned int idx2,
unsigned int idx3,
39 double minAngleDeg,
double maxAngleDeg,
42 unsigned int idx2,
unsigned int idx3,
bool relative,
43 double minAngleDeg,
double maxAngleDeg,
49 void getGrad(
double *pos,
double *grad)
const;
56 int d_at1Idx, d_at2Idx, d_at3Idx;
57 double d_minAngleDeg, d_maxAngleDeg;
58 double d_forceConstant;
~AngleConstraintContrib()
An angle range constraint modelled after a AngleBendContrib.
void getGrad(double *pos, double *grad) const
calculates our contribution to the gradients of a position
A class to store forcefields and handle minimization.
AngleConstraintContrib(ForceField *owner, unsigned int idx1, unsigned int idx2, unsigned int idx3, bool relative, double minAngleDeg, double maxAngleDeg, double forceConst)
virtual AngleConstraintContrib * copy() const
return a copy
abstract base class for contributions to ForceFields
#define RDKIT_FORCEFIELD_EXPORT
double getEnergy(double *pos) const
returns our contribution to the energy of a position
AngleConstraintContrib(ForceField *owner, unsigned int idx1, unsigned int idx2, unsigned int idx3, double minAngleDeg, double maxAngleDeg, double forceConst)
Constructor.