16template<
class T>
class Veff :
public T {};
22template<
typename T,
typename Device>
28 Veff(
const int* isk_in,
34 template<
typename T_in,
typename Device_in = Device>
39 virtual void act(
const int nbands,
45 const bool is_first_node =
false)
const override;
59 const int* isk =
nullptr;
64 base_device::DEVICE_CPU* cpu_ctx = {};
68 const Real *veff =
nullptr, *h_veff =
nullptr, *d_veff =
nullptr;
Special pw_basis class. It includes different k-points.
Definition pw_basis_k.h:57
Definition operator_pw.h:8
const ModulePW::PW_Basis_K * get_wfcpw() const
Definition veff_pw.h:52
const int * get_isk() const
Definition veff_pw.h:51
int get_veff_col() const
Definition veff_pw.h:49
veff_pw_op< Real, Device > veff_op
Definition veff_pw.h:72
int get_veff_row() const
Definition veff_pw.h:50
const Real * get_veff() const
Definition veff_pw.h:48
typename GetTypeReal< T >::type Real
Definition veff_pw.h:26
Definition veff_lcao.h:20
#define T
Definition exp.cpp:237
AbacusDevice_t
Definition types.h:12
T type
Definition macros.h:8
Definition memory_op.h:77
Definition memory_op.h:17
Definition memory_op.h:31