8 #ifndef MOLECULARMECHANICS_GAFFPOTENTIALTERMSGENERATOR_H
9 #define MOLECULARMECHANICS_GAFFPOTENTIALTERMSGENERATOR_H
11 #include "../Interactions/AngleTerm.h"
12 #include "../Interactions/BondedTerm.h"
13 #include "../Interactions/DihedralTerm.h"
14 #include "../Interactions/ElectrostaticTerm.h"
15 #include "../Interactions/ImproperDihedralTerm.h"
16 #include "../Interactions/LennardJonesTerm.h"
25 namespace MolecularMechanics {
26 class IndexedStructuralTopology;
27 class AtomTypesHolder;
50 const double& nonCovalentCutoffRadius,
Core::Log& log);
78 std::shared_ptr<double> cutoff_;
82 static constexpr
double scalingFactorForElectrostaticOneFourTerms_ = 0.5;
83 static constexpr
double scalingFactorForLennardJonesOneFourTerms_ = 0.5;
89 #endif // MOLECULARMECHANICS_GAFFPOTENTIALTERMSGENERATOR_H
Class containing the structural information about the connectivity of a system.
Definition: IndexedStructuralTopology.h:25
Class containing the parameters for the GAFF model obtained after parsing a GAFF parameter file...
Definition: GaffParameters.h:38
GaffPotentialTermsGenerator(int nAtoms, const AtomTypesHolder &atomTypes, const IndexedStructuralTopology &topology, const GaffParameters ¶meters, const Utils::PositionCollection &positions, const double &nonCovalentCutoffRadius, Core::Log &log)
Constructor.
Definition: GaffPotentialTermsGenerator.cpp:19
This class creates the actual potential terms that are employed during a GAFF molecular mechanics cal...
Definition: GaffPotentialTermsGenerator.h:37
std::vector< AngleTerm > getAngleTerms()
Getter for angle terms.
Definition: GaffPotentialTermsGenerator.cpp:37
Class containing the MM atom types of the atoms in a molecular system.
Definition: AtomTypesHolder.h:21
std::vector< ElectrostaticTerm > getElectrostaticTerms(bool applyCutoff)
Getter for electrostatic terms with decision whether to use a cutoff radius.
Definition: GaffPotentialTermsGenerator.cpp:133
std::vector< DihedralTerm > getDihedralTerms()
Getter for dihedral terms.
Definition: GaffPotentialTermsGenerator.cpp:41
std::vector< LennardJonesTerm > getLennardJonesTerms(bool applyCutoff)
Getter for Lennard-Jones terms with decision whether to use a cutoff radius.
Definition: GaffPotentialTermsGenerator.cpp:100
std::vector< BondedTerm > getBondedTerms()
Getter for bonded terms.
Definition: GaffPotentialTermsGenerator.cpp:33
std::vector< DihedralTerm > getImproperDihedralTerms()
Getter for improper dihedral terms. In GAFF, an improper dihedral is treated as a normal dihedral...
Definition: GaffPotentialTermsGenerator.cpp:72