8 #ifndef MOLECULARMECHANICS_GAFFPARAMETERPARSER_H
9 #define MOLECULARMECHANICS_GAFFPARAMETERPARSER_H
15 #include <unordered_map>
19 namespace MolecularMechanics {
42 void parseFirstLine(std::istream& in);
43 void parseAtomTypesInfo(std::istream& in,
GaffParameters& parameters);
44 void parseHydrophilicAtomSymbols(std::istream& in,
GaffParameters& parameters);
48 void parseImproperDihedrals(std::istream& in,
GaffParameters& parameters);
50 void parseLennardJones(std::istream& in,
GaffParameters& parameters);
53 void checkIter(
const std::sregex_token_iterator& iter);
55 std::string parameterFile_;
56 std::unordered_map<std::string, double> atomicMasses_;
62 #endif // MOLECULARMECHANICS_GAFFPARAMETERPARSER_H
Class containing the parameters for the GAFF model obtained after parsing a GAFF parameter file...
Definition: GaffParameters.h:38
This class reads in the GAFF parameters from the parameter file. The parsing relies on Qt and the con...
Definition: GaffParameterParser.h:28
GaffParameterParser(std::string filename)
Constructor from filename of parameter file.
Definition: GaffParameterParser.cpp:19
std::unique_ptr< GaffParameters > parseParameters()
Parse the parameters.
Definition: GaffParameterParser.cpp:22