RDKit
Open-source cheminformatics and machine learning.
|
abstract base class for contributions to ForceFields More...
#include <Contrib.h>
Public Member Functions | |
ForceFieldContrib () | |
ForceFieldContrib (ForceFields::ForceField *owner) | |
virtual | ~ForceFieldContrib () |
virtual double | getEnergy (double *pos) const =0 |
returns our contribution to the energy of a position | |
virtual void | getGrad (double *pos, double *grad) const =0 |
calculates our contribution to the gradients of a position | |
virtual ForceFieldContrib * | copy () const =0 |
return a copy | |
Protected Attributes | |
ForceField * | dp_forceField {nullptr} |
our owning ForceField | |
Friends | |
class | ForceField |
abstract base class for contributions to ForceFields
|
inline |
|
inline |
|
inlinevirtual |
|
pure virtual |
return a copy
Implemented in DistGeom::ChiralViolationContrib, DistGeom::ChiralViolationContribs, DistGeom::DistViolationContrib, DistGeom::DistViolationContribs, DistGeom::FourthDimContrib, DistGeom::FourthDimContribs, ForceFields::AngleConstraintContrib, ForceFields::AngleConstraintContribs, ForceFields::DistanceConstraintContrib, ForceFields::DistanceConstraintContribs, ForceFields::MMFF::AngleBendContrib, ForceFields::MMFF::BondStretchContrib, ForceFields::MMFF::VdWContrib, ForceFields::MMFF::EleContrib, ForceFields::MMFF::OopBendContrib, ForceFields::MMFF::StretchBendContrib, ForceFields::MMFF::TorsionAngleContrib, ForceFields::PositionConstraintContrib, ForceFields::TorsionConstraintContrib, ForceFields::UFF::AngleBendContrib, ForceFields::UFF::BondStretchContrib, ForceFields::UFF::InversionContrib, ForceFields::UFF::InversionContribs, ForceFields::UFF::vdWContrib, ForceFields::UFF::TorsionAngleContrib, ForceFields::CrystalFF::TorsionAngleContribs, and ForceFields::CrystalFF::TorsionAngleContribM6.
|
pure virtual |
returns our contribution to the energy of a position
Implemented in DistGeom::ChiralViolationContrib, DistGeom::ChiralViolationContribs, DistGeom::DistViolationContrib, DistGeom::DistViolationContribs, DistGeom::FourthDimContrib, DistGeom::FourthDimContribs, ForceFields::AngleConstraintContrib, ForceFields::AngleConstraintContribs, ForceFields::DistanceConstraintContrib, ForceFields::DistanceConstraintContribs, ForceFields::MMFF::AngleBendContrib, ForceFields::MMFF::BondStretchContrib, ForceFields::MMFF::VdWContrib, ForceFields::MMFF::EleContrib, ForceFields::MMFF::OopBendContrib, ForceFields::MMFF::StretchBendContrib, ForceFields::MMFF::TorsionAngleContrib, ForceFields::PositionConstraintContrib, ForceFields::TorsionConstraintContrib, ForceFields::UFF::AngleBendContrib, ForceFields::UFF::BondStretchContrib, ForceFields::UFF::InversionContrib, ForceFields::UFF::InversionContribs, ForceFields::UFF::vdWContrib, ForceFields::UFF::TorsionAngleContrib, ForceFields::CrystalFF::TorsionAngleContribs, and ForceFields::CrystalFF::TorsionAngleContribM6.
|
pure virtual |
calculates our contribution to the gradients of a position
Implemented in DistGeom::ChiralViolationContrib, DistGeom::ChiralViolationContribs, DistGeom::DistViolationContrib, DistGeom::DistViolationContribs, DistGeom::FourthDimContrib, DistGeom::FourthDimContribs, ForceFields::AngleConstraintContrib, ForceFields::AngleConstraintContribs, ForceFields::DistanceConstraintContrib, ForceFields::DistanceConstraintContribs, ForceFields::MMFF::AngleBendContrib, ForceFields::MMFF::BondStretchContrib, ForceFields::MMFF::VdWContrib, ForceFields::MMFF::EleContrib, ForceFields::MMFF::OopBendContrib, ForceFields::MMFF::StretchBendContrib, ForceFields::MMFF::TorsionAngleContrib, ForceFields::PositionConstraintContrib, ForceFields::TorsionConstraintContrib, ForceFields::UFF::AngleBendContrib, ForceFields::UFF::BondStretchContrib, ForceFields::UFF::InversionContrib, ForceFields::UFF::InversionContribs, ForceFields::UFF::vdWContrib, ForceFields::UFF::TorsionAngleContrib, ForceFields::CrystalFF::TorsionAngleContribs, and ForceFields::CrystalFF::TorsionAngleContribM6.
|
friend |
|
protected |
our owning ForceField