Scine::Sparrow  5.0.0
Library for fast and agile quantum chemical calculations with semiempirical methods.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
AM1Method.h
Go to the documentation of this file.
1 
8 #ifndef SPARROW_AM1METHOD_H
9 #define SPARROW_AM1METHOD_H
10 
12 
13 namespace Scine {
14 namespace Utils {
15 enum class DerivativeOrder;
16 }
17 namespace Sparrow {
18 
19 namespace nddo {
20 class FockMatrix;
21 class NDDOInitializer;
22 struct Parameters;
23 class OneElectronMatrix;
24 class TwoElectronMatrix;
25 
26 class AM1Method : public Utils::ScfMethod {
27  public:
28  AM1Method();
29  ~AM1Method() override;
30 
32  void setStructure(const Utils::AtomCollection& atoms, std::string parameterPath = "");
34  void readParameters(const std::string& parameterPath);
36  void saveParameters(const std::string& fileName);
37 
38  NDDOInitializer& getInitializer() {
39  return *am1Settings_;
40  }
41  const NDDOInitializer& getInitializer() const {
42  return *am1Settings_;
43  }
44 
48  const Parameters& getRawParameters() const;
49 
50  const nddo::OneElectronMatrix& getOneElectronMatrix() const;
51  const nddo::TwoElectronMatrix& getTwoElectronMatrix() const;
52 
53  private:
54  std::shared_ptr<NDDOInitializer> am1Settings_;
55  std::shared_ptr<FockMatrix> am1Fock_;
56 };
57 
58 } // namespace nddo
59 
60 } // namespace Sparrow
61 } // namespace Scine
62 #endif // SPARROW_AM1METHOD_H
void saveParameters(const std::string &fileName)
Definition: AM1Method.cpp:59
Settings for generic NDDO methods. Reads the parameters and applies them to the system of interest...
Definition: NDDOInitializer.h:32
void readParameters(const std::string &parameterPath)
Definition: AM1Method.cpp:55
This class generates the one-electron matrix H for semi-empirical methods.
Definition: OneElectronMatrix.h:32
Class to generate the two-electron matrix G for semi-empirical methods. This class is parallelized wi...
Definition: TwoElectronMatrix.h:42
void setStructure(const Utils::AtomCollection &atoms, std::string parameterPath="")
Definition: AM1Method.cpp:44
Definition: AM1Method.h:26
Parameters & getRawParameters()
Definition: AM1Method.cpp:63
Nddo method parameters.
Definition: Parameters.h:20