42template <
typename T,
typename Device>
55template <
typename T,
typename Device>
56ElecStatePW<T, Device>::~ElecStatePW()
60template <
typename T,
typename Device>
65template <
typename T,
typename Device>
70template <
typename T,
typename Device>
75template class ElecStatePW<std::complex<float>, base_device::DEVICE_CPU>;
76template class ElecStatePW<std::complex<double>, base_device::DEVICE_CPU>;
77#if ((defined __CUDA) || (defined __ROCM))
78template class ElecStatePW<std::complex<float>, base_device::DEVICE_GPU>;
79template class ElecStatePW<std::complex<double>, base_device::DEVICE_GPU>;
82Potential::~Potential()
90void Potential::cal_fixed_v(
double* vl_pseudo)
98template <
typename T,
typename Device>
107template <
typename T,
typename Device>
116template <
typename T,
typename Device>
double ** rho
Definition charge.h:38
Definition complexmatrix.h:14
Definition pw_basis_big.h:16
Special pw_basis class. It includes different k-points.
Definition pw_basis_k.h:57
A class which can convert a function of "r" to the corresponding linear superposition of plane waves ...
Definition pw_basis.h:56
Definition parallel_grid.h:8
~Stochastic_WF()
Definition hsolver_supplementary_mock.h:108
Stochastic_WF()
Definition hsolver_supplementary_mock.h:99
void init(K_Vectors *p_kv, const int npwx_in)
Definition hsolver_supplementary_mock.h:117
ElecStatePW(ModulePW::PW_Basis_K *wfc_basis_in, Charge *chg_in, K_Vectors *pkv_in, UnitCell *ucell_in, pseudopot_cell_vnl *ppcell_in, ModulePW::PW_Basis *rhodpw_in, ModulePW::PW_Basis *rhopw_in, ModulePW::PW_Basis_Big *bigpw_in)
Definition elecstate_pw.cpp:15
void init_scf(const int istep, const UnitCell &ucell, const Parallel_Grid &pgrid, const ModuleBase::ComplexMatrix &strucfac, const bool *numeric, ModuleSymmetry::Symmetry &symm, const void *wfcpw=nullptr)
Init rho_core, init rho, renormalize rho, init pot.
Definition elecstate.cpp:30
virtual const double * getRho(int spin) const
Definition elecstate.cpp:13
void init_ks(Charge *chg_in, const K_Vectors *klist_in, int nk_in, ModulePW::PW_Basis *rhopw_in, const ModulePW::PW_Basis_Big *bigpw_in)
Definition elecstate.cpp:57
Charge * charge
pointer to charge density
Definition elecstate.h:124
void init_nelec_spin()
Definition elecstate.cpp:20
Definition VNL_in_pw.h:21