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
DiatomicParameters.h
Go to the documentation of this file.
1 
8 #ifndef SPARROW_DIATOMICPARAMETERS_H
9 #define SPARROW_DIATOMICPARAMETERS_H
10 
12 
13 namespace Scine {
14 namespace Sparrow {
15 
16 namespace nddo {
17 
24  public:
25  DiatomicParameters() = default;
26  virtual ~DiatomicParameters() = default;
27 
28  bool isValid() const {
29  return e1_ != Utils::ElementType::none && e2_ != Utils::ElementType::none;
30  }
31 
32  void setFirstElement(Utils::ElementType e) {
33  e1_ = e;
34  }
35  void setSecondElement(Utils::ElementType e) {
36  e2_ = e;
37  }
38  Utils::ElementType firstElement() const {
39  return e1_;
40  }
41  Utils::ElementType secondElement() const {
42  return e2_;
43  }
44 
45  private:
46  Utils::ElementType e1_{Utils::ElementType::none}, e2_{Utils::ElementType::none};
47 };
48 
49 } // namespace nddo
50 
51 } // namespace Sparrow
52 } // namespace Scine
53 #endif // SPARROW_DIATOMICPARAMETERS_H
Definition: DiatomicParameters.h:23