11#ifndef __RD_FFCONTRIB_H__
12#define __RD_FFCONTRIB_H__
30 virtual void getGrad(
double *pos,
double *grad)
const = 0;
abstract base class for contributions to ForceFields
virtual double getEnergy(double *pos) const =0
returns our contribution to the energy of a position
virtual ForceFieldContrib * copy() const =0
return a copy
ForceFieldContrib(ForceFields::ForceField *owner)
virtual void getGrad(double *pos, double *grad) const =0
calculates our contribution to the gradients of a position
virtual ~ForceFieldContrib()
A class to store forcefields and handle minimization.
#define RDKIT_FORCEFIELD_EXPORT