11#ifndef __RD_BONDSTRETCH_H__
12#define __RD_BONDSTRETCH_H__
39 void getGrad(
double *pos,
double *grad)
const override;
49 double d_forceConstant;
64 double bondOrder,
const AtomicParams *end1Params,
65 const AtomicParams *end2Params);
78 double restLength,
const AtomicParams *end1Params,
79 const AtomicParams *end2Params);
abstract base class for contributions to ForceFields
A class to store forcefields and handle minimization.
class to store atomic parameters for the Universal Force Field
The bond-stretch term for the Universal Force Field.
BondStretchContrib(ForceField *owner, unsigned int idx1, unsigned int idx2, double bondOrder, const AtomicParams *end1Params, const AtomicParams *end2Params)
Constructor.
void getGrad(double *pos, double *grad) const override
calculates our contribution to the gradients of a position
BondStretchContrib * copy() const override
return a copy
double getEnergy(double *pos) const override
returns our contribution to the energy of a position
#define RDKIT_FORCEFIELD_EXPORT