29 #ifndef CDPL_FORCEFIELD_MMFF94VANDERWAALSPARAMETERTABLE_HPP
30 #define CDPL_FORCEFIELD_MMFF94VANDERWAALSPARAMETERTABLE_HPP
34 #include <unordered_map>
38 #include <boost/iterator/transform_iterator.hpp>
57 typedef std::unordered_map<unsigned int, Entry> DataStorage;
69 Entry(
unsigned int atom_type,
double atom_pol,
double eff_el_num,
double fact_a,
double fact_g,
107 unsigned int atomType;
108 double polarizability;
116 typedef boost::transform_iterator<std::function<
const Entry&(
const DataStorage::value_type&)>,
117 DataStorage::const_iterator>
120 typedef boost::transform_iterator<std::function<
Entry&(DataStorage::value_type&)>,
121 DataStorage::iterator>
126 void addEntry(
unsigned int atom_type,
double atom_pol,
double eff_el_num,
double fact_a,
double fact_g,
Definition of the preprocessor macro CDPL_FORCEFIELD_API.
#define CDPL_FORCEFIELD_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Definition of the class CDPL::ForceField::MMFF94VanDerWaalsInteraction.
HDonorAcceptorType
Definition: MMFF94VanDerWaalsInteraction.hpp:47
Definition: MMFF94VanDerWaalsParameterTable.hpp:64
double getAtomicPolarizability() const
Returns the atomic polarizability parameter.
Entry(unsigned int atom_type, double atom_pol, double eff_el_num, double fact_a, double fact_g, HDonorAcceptorType don_acc_type)
HDonorAcceptorType getHDonorAcceptorType() const
double getFactorG() const
Returns the scaling factor G parameter.
double getFactorA() const
Returns the scaling factor A parameter.
unsigned int getAtomType() const
double getEffectiveElectronNumber() const
Returns the Slater-Kirkwood effective number of valence electrons parameter.
Definition: MMFF94VanDerWaalsParameterTable.hpp:51
static void set(const SharedPointer &table)
EntryIterator removeEntry(const EntryIterator &it)
boost::transform_iterator< std::function< Entry &(DataStorage::value_type &)>, DataStorage::iterator > EntryIterator
Definition: MMFF94VanDerWaalsParameterTable.hpp:122
double getFactorB() const
Returns the value of the B factor used in the calculation of van der Waals interaction energies.
MMFF94VanDerWaalsParameterTable()
static const SharedPointer & get()
double getFactorDARAD() const
Returns the value of the DARAD factor used in the calculation of van der Waals interaction energies.
boost::transform_iterator< std::function< const Entry &(const DataStorage::value_type &)>, DataStorage::const_iterator > ConstEntryIterator
Definition: MMFF94VanDerWaalsParameterTable.hpp:118
MMFF94VanDerWaalsInteraction::HDonorAcceptorType HDonorAcceptorType
Definition: MMFF94VanDerWaalsParameterTable.hpp:61
const Entry & getEntry(unsigned int atom_type) const
void setFactorDAEPS(double value)
void setBeta(double value)
ConstEntryIterator getEntriesEnd() const
void setFactorDARAD(double value)
void load(std::istream &is)
double getBeta() const
Returns the value of beta used in the calculation of van der Waals interaction energies.
EntryIterator getEntriesBegin()
ConstEntryIterator end() const
std::shared_ptr< MMFF94VanDerWaalsParameterTable > SharedPointer
Definition: MMFF94VanDerWaalsParameterTable.hpp:60
double getFactorDAEPS() const
Returns the value of the DAEPS factor used in the calculation of van der Waals interaction energies.
ConstEntryIterator getEntriesBegin() const
void addEntry(unsigned int atom_type, double atom_pol, double eff_el_num, double fact_a, double fact_g, HDonorAcceptorType don_acc_type)
void setFactorB(double value)
EntryIterator getEntriesEnd()
double getExponent() const
Returns the exponent used in the calculation of van der Waals interaction energies.
bool removeEntry(unsigned int atom_type)
ConstEntryIterator begin() const
void setExponent(double value)
std::size_t getNumEntries() const
The namespace of the Chemical Data Processing Library.