ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
gint_vl.h
Go to the documentation of this file.
1#pragma once
2
3#include <memory>
4#include <vector>
6#include "gint.h"
7#include "gint_info.h"
8
9namespace ModuleGint
10{
11
12class Gint_vl : public Gint
13{
14 public:
16 const double* vr_eff,
18 : vr_eff_(vr_eff), hR_(hR), dr3_(gint_info_->get_mgrid_volume()) {}
19
20 void cal_gint();
21
22 private:
23
24 void init_hr_gint_();
25
26 // note that only the upper triangle matrix of hR is calculated
27 // that's why we need compose_hr_gint() to fill the lower triangle matrix.
28 void cal_hr_gint_();
29
30 // input
31 const double* vr_eff_;
32
33 // output
35
36 // Intermediate variables
37 double dr3_;
38
40};
41
42}
Definition gint_vl.h:13
double dr3_
Definition gint_vl.h:37
HContainer< double > hr_gint_
Definition gint_vl.h:39
void cal_gint()
Definition gint_vl.cpp:9
const double * vr_eff_
Definition gint_vl.h:31
HContainer< double > * hR_
Definition gint_vl.h:34
void init_hr_gint_()
Definition gint_vl.cpp:24
Gint_vl(const double *vr_eff, HContainer< double > *hR)
Definition gint_vl.h:15
void cal_hr_gint_()
Definition gint_vl.cpp:29
Definition gint.h:10
static GintInfo * gint_info_
Definition gint.h:23
Definition hcontainer.h:144
Definition batch_biggrid.cpp:4