13#ifndef __RD_MMFFANGLEBEND_H__
14#define __RD_MMFFANGLEBEND_H__
41 unsigned int idx3,
const MMFFAngle *mmffAngleParams,
42 const MMFFProp *mmffPropParamsCentralAtom);
44 void getGrad(
double *pos,
double *grad)
const override;
51 int d_at1Idx{-1}, d_at2Idx{-1}, d_at3Idx{-1};
52 double d_ka, d_theta0;
70 const double cosTheta);
72 double **g,
double &dE_dTheta,
abstract base class for contributions to ForceFields
A class to store forcefields and handle minimization.
The angle-bend term for MMFF.
AngleBendContrib * copy() const override
return a copy
void getGrad(double *pos, double *grad) const override
calculates our contribution to the gradients of a position
AngleBendContrib(ForceField *owner, unsigned int idx1, unsigned int idx2, unsigned int idx3, const MMFFAngle *mmffAngleParams, const MMFFProp *mmffPropParamsCentralAtom)
Constructor.
double getEnergy(double *pos) const override
returns our contribution to the energy of a position
class to store MMFF parameters for angle bending
class to store MMFF parameters for bond stretching
class to store MMFF Properties
#define RDKIT_FORCEFIELD_EXPORT