8 #ifndef MOLECULARMECHANICS_HYDROGENBONDEVALUATOR_H
9 #define MOLECULARMECHANICS_HYDROGENBONDEVALUATOR_H
16 class InteractionTermEliminator;
19 namespace MolecularMechanics {
43 const std::vector<double>& atomicCharges_;
45 std::vector<HydrogenBondTerm> hydrogenBondTerms_;
51 #endif // MOLECULARMECHANICS_HYDROGENBONDEVALUATOR_H
This class evaluates the total energy and its derivative from all hydrogen bonds. ...
Definition: HydrogenBondEvaluator.h:24
HydrogenBondEvaluator(const Utils::AtomCollection &structure, const std::vector< double > &atomicCharges)
Constructor from structure and partial atomic charges.
Definition: HydrogenBondEvaluator.cpp:13
This class handles the elimination of MM interaction terms, which are already covered by the QM calcu...
Definition: InteractionTermEliminator.h:39
double evaluate(Utils::AtomicSecondDerivativeCollection &derivatives)
This function calculates and returns the total hydrogen bond energy and updates the derivatives...
Definition: HydrogenBondEvaluator.cpp:17
void setHydrogenBondTerms(std::vector< HydrogenBondTerm > &&hydrogenBondTerms)
Sets a vector of instances of the HydrogenBondTerm class.
Definition: HydrogenBondEvaluator.cpp:27