OpenMD  2.5
Molecular Dynamics in the Open
OpenMD::FluctuatingChargeAtomTypesSectionParser Class Reference

#include <FluctuatingChargeAtomTypesSectionParser.hpp>

Inheritance diagram for OpenMD::FluctuatingChargeAtomTypesSectionParser:
OpenMD::SectionParser

Public Member Functions

 FluctuatingChargeAtomTypesSectionParser (ForceFieldOptions &options)
 
- Public Member Functions inherited from OpenMD::SectionParser
virtual ~SectionParser ()
 
void parse (std::istream &input, ForceField &ff, int lineNo)
 
const std::string & getSectionName () const
 
virtual void validateSection ()
 

Private Types

enum  FluctuatingTypeEnum { fqtHardness, fqtMultipleMinima, fqtMetal, fqtUnknown }
 

Private Member Functions

void parseLine (ForceField &ff, const string &line, int lineNo)
 
FluctuatingTypeEnum getFluctuatingTypeEnum (const std::string &str)
 

Private Attributes

std::map< std::string, FluctuatingTypeEnumstringToEnumMap_
 
ForceFieldOptionsoptions_
 

Additional Inherited Members

- Protected Member Functions inherited from OpenMD::SectionParser
void setSectionName (const std::string &sectionName)
 

Detailed Description

Definition at line 51 of file FluctuatingChargeAtomTypesSectionParser.hpp.

Member Enumeration Documentation

◆ FluctuatingTypeEnum

Enumerator
fqtHardness 
fqtMultipleMinima 
fqtMetal 
fqtUnknown 

Definition at line 57 of file FluctuatingChargeAtomTypesSectionParser.hpp.

Constructor & Destructor Documentation

◆ FluctuatingChargeAtomTypesSectionParser()

OpenMD::FluctuatingChargeAtomTypesSectionParser::FluctuatingChargeAtomTypesSectionParser ( ForceFieldOptions options)

Member Function Documentation

◆ getFluctuatingTypeEnum()

FluctuatingChargeAtomTypesSectionParser::FluctuatingTypeEnum OpenMD::FluctuatingChargeAtomTypesSectionParser::getFluctuatingTypeEnum ( const std::string &  str)
private

Definition at line 200 of file FluctuatingChargeAtomTypesSectionParser.cpp.

References fqtUnknown, and stringToEnumMap_.

Referenced by parseLine().

◆ parseLine()

Member Data Documentation

◆ options_

ForceFieldOptions& OpenMD::FluctuatingChargeAtomTypesSectionParser::options_
private

Definition at line 69 of file FluctuatingChargeAtomTypesSectionParser.hpp.

◆ stringToEnumMap_

std::map<std::string, FluctuatingTypeEnum> OpenMD::FluctuatingChargeAtomTypesSectionParser::stringToEnumMap_
private

The documentation for this class was generated from the following files: