12 #ifndef __RD_UFFANGLECONSTRAINT_H__ 13 #define __RD_UFFANGLECONSTRAINT_H__ 36 unsigned int idx2,
unsigned int idx3,
37 double minAngleDeg,
double maxAngleDeg,
40 unsigned int idx2,
unsigned int idx3,
bool relative,
41 double minAngleDeg,
double maxAngleDeg,
47 void getGrad(
double *pos,
double *grad)
const;
53 int d_at1Idx, d_at2Idx, d_at3Idx;
54 double d_minAngleDeg, d_maxAngleDeg;
55 double d_forceConstant;
~AngleConstraintContrib()
abstract base class for contributions to ForceFields
An angle range constraint modelled after a AngleBendContrib.
virtual AngleConstraintContrib * 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
double getEnergy(double *pos) const
returns our contribution to the energy of a position