ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
gint_gpu_vars.h
Go to the documentation of this file.
1#pragma once
2
3#include <cuda_runtime.h>
4#include "set_const_mem.cuh"
7
8namespace ModuleGint
9{
10
12{
13 public:
14 GintGpuVars(std::shared_ptr<const BigGridInfo> bgrid_info,
15 const UnitCell& ucell,
16 const Numerical_Orbital* Phi);
18
19 int nwmax;
20 double dr_uniform;
21 double nr_max;
22 double* rcut_d = nullptr;
23 int* atom_nw_d = nullptr;
24 int* ucell_atom_nwl_d = nullptr;
25 bool* atom_iw2_new_d = nullptr;
26 int* atom_iw2_ylm_d = nullptr;
27 int* atom_iw2_l_d = nullptr;
28 double* psi_u_d = nullptr;
29 double* dpsi_u_d = nullptr;
30 double* d2psi_u_d = nullptr;
31 double3* mgrids_pos_d = nullptr;
32 int* iat2it_d = nullptr;
33
34 // the index of gpu device
35 int dev_id_ = 0;
36
37};
38
39}
Definition gint_gpu_vars.h:12
bool * atom_iw2_new_d
Definition gint_gpu_vars.h:25
int * atom_iw2_l_d
Definition gint_gpu_vars.h:27
int * atom_nw_d
Definition gint_gpu_vars.h:23
int * iat2it_d
Definition gint_gpu_vars.h:32
double dr_uniform
Definition gint_gpu_vars.h:20
int * ucell_atom_nwl_d
Definition gint_gpu_vars.h:24
int dev_id_
Definition gint_gpu_vars.h:35
~GintGpuVars()
Definition gint_gpu_vars.cpp:102
int nwmax
Definition gint_gpu_vars.h:19
double3 * mgrids_pos_d
Definition gint_gpu_vars.h:31
double * dpsi_u_d
Definition gint_gpu_vars.h:29
int * atom_iw2_ylm_d
Definition gint_gpu_vars.h:26
double * d2psi_u_d
Definition gint_gpu_vars.h:30
double nr_max
Definition gint_gpu_vars.h:21
double * rcut_d
Definition gint_gpu_vars.h:22
double * psi_u_d
Definition gint_gpu_vars.h:28
Definition ORB_atomic.h:52
Definition unitcell.h:15
Definition batch_biggrid.cpp:4