20 #ifndef OB_CHARGEMODEL_H 21 #define OB_CHARGEMODEL_H 23 #include <openbabel/babelconfig.h> 37 const char*
TypeID(){
return "charges";};
50 {
return m_formalCharges; }
55 {
return m_partialCharges; }
65 void FillChargeVectors(
OBMol &mol);
virtual bool ComputeCharges(OBMol &m)
Definition: chargemodel.h:41
virtual double DipoleScalingFactor()
Provide a scaling factor for the dipole moment – ideally calibrated from many molecules.
Definition: chargemodel.h:68
Atomic partial charge models.
Definition: chargemodel.h:32
const std::vector< double > & GetPartialCharges() const
Definition: chargemodel.h:54
Base class for all types of dynamic classes discovered at runtime.
Definition: plugin.h:52
Molecule Class.
Definition: mol.h:118
const std::vector< double > & GetFormalCharges() const
Definition: chargemodel.h:49
virtual bool ComputeCharges(OBMol &m, const char *args)
Definition: chargemodel.h:42
std::vector< double > m_partialCharges
Definition: chargemodel.h:61
#define MAKE_PLUGIN(BaseClass)
Definition: plugin.h:195
Simplify 'plugin' classes to be discovered and/or loaded at runtime.
Represents a vector in 3-dimensional real space.
Definition: vector3.h:44
std::vector< double > m_formalCharges
Definition: chargemodel.h:62
const char * TypeID()
Redefined by each plugin type: "formats", "fingerprints", etc.
Definition: chargemodel.h:37
Global namespace for all Open Babel code.
Definition: alias.h:22