8 #ifndef MOLECULARMECHANICS_LENNARDJONESEVALUATOR_H
9 #define MOLECULARMECHANICS_LENNARDJONESEVALUATOR_H
20 class InteractionTermEliminator;
24 class DerivativeCollection;
27 namespace MolecularMechanics {
29 class AtomTypesHolder;
53 void setParameters(std::shared_ptr<GaffParameters> parameters);
66 std::shared_ptr<GaffParameters> parameters_ =
nullptr;
68 std::shared_ptr<AtomTypesHolder> atomTypesHolder_ =
nullptr;
70 std::shared_ptr<double> cutOffRadius_ = std::make_shared<double>(std::numeric_limits<double>::infinity());
80 const Eigen::SparseVector<bool>& otherAtoms,
double scaling);
86 #endif // MOLECULARMECHANICS_LENNARDJONESEVALUATOR_H
This class keeps track which pair-wise interaction between atoms is scaled. The scaling information i...
Definition: ScaledInteractions.h:22
LennardJonesEvaluator LennardJonesEvaluator.h.
Definition: LennardJonesEvaluator.h:34
void setCutOffRadius(std::shared_ptr< double > cutOffRadius)
Set the cut off radius for the electrostatic interactions.
Definition: LennardJonesEvaluator.cpp:85
double evaluate(Utils::DerivativeCollection &derivatives)
This function evaluates and returns the energy for all LJ interactions and updates the derivatives...
Definition: LennardJonesEvaluator.cpp:21
LennardJonesEvaluator(const Utils::PositionCollection &positions)
Constructor from positions.
Definition: LennardJonesEvaluator.cpp:17
This class handles the elimination of MM interaction terms, which are already covered by the QM calcu...
Definition: InteractionTermEliminator.h:39
void setAtomTypesHolder(std::shared_ptr< AtomTypesHolder > atomTypesHolder)
Setter for the atom types.
Definition: LennardJonesEvaluator.cpp:91
void setParameters(std::shared_ptr< GaffParameters > parameters)
Setter for the parameter object.
Definition: LennardJonesEvaluator.cpp:88
This class provides a framework to store exclusions of interactions between atoms. Such exclusions are required for the non-covalent interactions between bonded atoms or to eliminate contributions to the energy for the interaction between QM atoms in QM/MM.
Definition: InteractionExclusion.h:26