-
Notifications
You must be signed in to change notification settings - Fork 0
/
Orbitals.h
41 lines (30 loc) · 1.01 KB
/
Orbitals.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
* File: Orbitals_old_old.h
* Author: Jørgen
*
* Created on 13. april 2012, 22:33
*/
#ifndef Orbitals_old_H
#define Orbitals_old_H
class Orbitals_old {
protected:
int n_p;
int n2;
int dim;
public:
Orbitals_old(int n_p, int dim);
virtual double phi(const Walker* walker, int particle, int q_num) const = 0;
virtual double del_phi(const Walker* walker, int particle, int q_num, int d) const = 0;
virtual double lapl_phi(const Walker* walker, int particle, int q_num) const = 0;
};
class oscillator_basis_HC : public Orbitals_old {
private:
double alpha;
double w;
public:
oscillator_basis_HC(int n_p, int dim, double alpha, double w = 1.0);
virtual double phi(const Walker* walker, int particle, int q_num) const;
virtual double del_phi(const Walker* walker, int particle, int q_num, int d) const;
virtual double lapl_phi(const Walker* walker, int particle, int q_num) const;
};
#endif /* Orbitals_old_H */