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
OneCenterTwoElectronIntegralExpression.h
Go to the documentation of this file.
1 
8 #ifndef SPARROW_ONECENTERTWOELECTRONINTEGRALEXPRESSION_H
9 #define SPARROW_ONECENTERTWOELECTRONINTEGRALEXPRESSION_H
10 
12 
13 namespace Scine {
14 namespace Sparrow {
15 
16 namespace nddo {
17 
24  public:
25  OneCenterTwoElectronIntegralExpression(double F1, sc_t E1, double F2, sc_t E2, double F3, sc_t E3)
26  : f1(F1), f2(F2), f3(F3), e1(E1), e2(E2), e3(E3) {
27  }
28 
29  OneCenterTwoElectronIntegralExpression(double F1, sc_t E1, double F2, sc_t E2)
30  : OneCenterTwoElectronIntegralExpression(F1, E1, F2, E2, 0, F0ss) {
31  }
32 
34  }
35 
37  }
38 
39  double result(const SlaterCondonParameters* p) {
40  return f1 * p->get(e1) + f2 * p->get(e2) + f3 * p->get(e3);
41  }
42 
43  private:
44  double f1, f2, f3;
45  sc_t e1, e2, e3;
46 };
47 
48 } // namespace nddo
49 
50 } // namespace Sparrow
51 } // namespace Scine
52 #endif // SPARROW_ONECENTERTWOELECTRONINTEGRALEXPRESSION_H
Definition: SlaterCondonParameters.h:43
Definition: OneCenterTwoElectronIntegralExpression.h:23