ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
center2_orb.h
Go to the documentation of this file.
1//==========================================================
2// AUTHOR : Peize Lin
3// DATE : 2016-01-24
4//==========================================================
5
6#ifndef CENTER2_ORB_H
7#define CENTER2_ORB_H
8
11
12#include <set>
13
15{
16 public:
17 class Orb11;
18 class Orb21;
19 class Orb22;
20
21 //=========================================================================
22 // The following functions used to be in module_ao/ORB_table_phi.h, but
23 // are moved here to decouple module_ao from Center2_Orb
24 //=========================================================================
25
26 static int get_rmesh(const double& R1, const double& R2, const double dr);
27
28 static void init_Lmax(const int orb_num,
29 const int mode,
30 int& Lmax_used,
31 int& Lmax,
32 const int& Lmax_exx,
33 const int lmax_orb,
34 const int lmax_beta);
35
36 static void init_Table_Spherical_Bessel(const int orb_num,
37 const int mode,
38 int& Lmax_used,
39 int& Lmax,
40 const int& Lmax_exx,
41 const int lmax_orb,
42 const int lmax_beta,
43 const double dr,
44 const double dk,
45 const int kmesh,
46 const int Rmesh,
48
49 static void cal_ST_Phi12_R(const int& job,
50 const int& l,
51 const Numerical_Orbital_Lm& n1,
52 const Numerical_Orbital_Lm& n2,
53 const int& rmesh,
54 double* rs,
55 double* drs,
57
58 // Peize Lin add 2017-10-13
59 static void cal_ST_Phi12_R(const int& job,
60 const int& l,
61 const Numerical_Orbital_Lm& n1,
62 const Numerical_Orbital_Lm& n2,
63 const std::set<size_t>& radials, // only calculate ir in radials
64 double* rs,
65 double* drs,
67};
68
69#endif // CENTER2_ORB_H
Definition center2_orb-orb11.h:20
Definition center2_orb-orb21.h:20
Definition center2_orb-orb22.h:20
Definition center2_orb.h:15
static void init_Table_Spherical_Bessel(const int orb_num, const int mode, int &Lmax_used, int &Lmax, const int &Lmax_exx, const int lmax_orb, const int lmax_beta, const double dr, const double dk, const int kmesh, const int Rmesh, ModuleBase::Sph_Bessel_Recursive::D2 *&psb)
Definition center2_orb.cpp:102
static int get_rmesh(const double &R1, const double &R2, const double dr)
Definition center2_orb.cpp:11
static void init_Lmax(const int orb_num, const int mode, int &Lmax_used, int &Lmax, const int &Lmax_exx, const int lmax_orb, const int lmax_beta)
Definition center2_orb.cpp:32
static void cal_ST_Phi12_R(const int &job, const int &l, const Numerical_Orbital_Lm &n1, const Numerical_Orbital_Lm &n2, const int &rmesh, double *rs, double *drs, const ModuleBase::Sph_Bessel_Recursive::D2 *psb)
Definition center2_orb.cpp:141
Definition sph_bessel_recursive.h:49
Definition ORB_atomic_lm.h:22