ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
gint_vl_mgga_n4.h
Go to the documentation of this file.
1#ifndef ABACUS_SOURCE_HAMILT_MODULE_GINT_GINT_VL_MGGA_N4_H
2#define ABACUS_SOURCE_HAMILT_MODULE_GINT_GINT_VL_MGGA_N4_H
3
4#include "gint.h"
5#include "gint_info.h"
7#include <memory>
8#include <vector>
9
10namespace ModuleGint
11{
12
14{
15 public:
17 std::vector<const double *> vr_eff, std::vector<const double *> vofk, HContainer<std::complex<double>> *hR)
18 : vr_eff_(vr_eff), vofk_(vofk), hR_(hR), dr3_(gint_info_->get_mgrid_volume())
19 {
20 }
21
22 void cal_gint();
23
24 private:
25 void init_hr_gint_();
26
27 void cal_hr_gint_();
28
29 // input
30 std::vector<const double *> vr_eff_;
31 std::vector<const double *> vofk_;
32 // output
34
35 // Intermediate variables
36 const double dr3_;
37
38 const int nspin_ = 4;
39
40 std::vector<HContainer<double>> hr_gint_part_;
41};
42
43} // namespace ModuleGint
44
45#endif // ABACUS_SOURCE_HAMILT_MODULE_GINT_GINT_VL_MGGA_N4_H
std::vector< const double * > vr_eff_
Definition gint_vl_mgga_n4.h:30
std::vector< HContainer< double > > hr_gint_part_
Definition gint_vl_mgga_n4.h:40
std::vector< const double * > vofk_
Definition gint_vl_mgga_n4.h:31
const int nspin_
Definition gint_vl_mgga_n4.h:38
void cal_hr_gint_()
Definition gint_vl_mgga_n4.cpp:30
Gint_vl_metagga_nspin4(std::vector< const double * > vr_eff, std::vector< const double * > vofk, HContainer< std::complex< double > > *hR)
Definition gint_vl_mgga_n4.h:16
void cal_gint()
Definition gint_vl_mgga_n4.cpp:11
HContainer< std::complex< double > > * hR_
Definition gint_vl_mgga_n4.h:33
void init_hr_gint_()
Definition gint_vl_mgga_n4.cpp:21
const double dr3_
Definition gint_vl_mgga_n4.h:36
static GintInfo * gint_info_
Definition gint.h:31
Definition batch_biggrid.cpp:4
hamilt::HContainer< T > HContainer
Definition gint_type.h:15