Scine::Swoose  1.0.0
This is the SCINE module Swoose.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
AtomicInformationReader.h
Go to the documentation of this file.
1 
8 #ifndef MMPARAMETRIZATION_ATOMICINFORMATIONREADER_H
9 #define MMPARAMETRIZATION_ATOMICINFORMATIONREADER_H
10 
11 #include <map>
12 #include <string>
13 
14 namespace Scine {
15 
16 namespace Core {
17 struct Log;
18 } // namespace Core
19 
20 namespace SwooseUtilities {
21 
23  public:
27  explicit AtomicInformationReader(Core::Log& log);
36  void read(const std::string& filename, std::map<int, int>& formalCharges, std::map<int, int>& unpairedElectrons,
37  int numberOfAtoms);
38 
39  private:
40  // The logger.
41  Core::Log& log_;
42 };
43 
44 } // namespace SwooseUtilities
45 } // namespace Scine
46 
47 #endif // MMPARAMETRIZATION_ATOMICINFORMATIONREADER_H
Definition: AtomicInformationReader.h:22
AtomicInformationReader(Core::Log &log)
Constructor.
Definition: AtomicInformationReader.cpp:16
void read(const std::string &filename, std::map< int, int > &formalCharges, std::map< int, int > &unpairedElectrons, int numberOfAtoms)
Reads the formal charges and number of unpaired electrons information from file and updates the Param...
Definition: AtomicInformationReader.cpp:19