ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
gint_vl_gpu.h
Go to the documentation of this file.
1#ifndef ABACUS_SOURCE_HAMILT_MODULE_GINT_GINT_VL_GPU_H
2#define ABACUS_SOURCE_HAMILT_MODULE_GINT_GINT_VL_GPU_H
3
4#include "gint.h"
5#include "gint_info.h"
7#include <memory>
8#include <vector>
9
10namespace ModuleGint
11{
12
13class Gint_vl_gpu : public Gint
14{
15 public:
16 Gint_vl_gpu(const double *vr_eff, HContainer<double> *hR)
17 : vr_eff_(vr_eff), hR_(hR), dr3_(gint_info_->get_mgrid_volume())
18 {
19 }
20
21 void cal_gint();
22
23 private:
24 template <typename Real>
25 void cal_gint_impl_();
26
27 // input
28 const double *vr_eff_ = nullptr;
29
30 // output
32
33 // Intermediate variables
34 double dr3_;
35};
36
37} // namespace ModuleGint
38
39#endif // ABACUS_SOURCE_HAMILT_MODULE_GINT_GINT_VL_GPU_H
Gint_vl_gpu(const double *vr_eff, HContainer< double > *hR)
Definition gint_vl_gpu.h:16
void cal_gint()
Definition gint_vl_gpu.cpp:14
double dr3_
Definition gint_vl_gpu.h:34
void cal_gint_impl_()
Definition gint_vl_gpu.cpp:32
HContainer< double > * hR_
Definition gint_vl_gpu.h:31
const double * vr_eff_
Definition gint_vl_gpu.h:28
static GintInfo * gint_info_
Definition gint.h:31
Definition batch_biggrid.cpp:4
hamilt::HContainer< T > HContainer
Definition gint_type.h:15