12template<
typename FPTYPE,
typename Device>
24 psi::Psi<std::complex<FPTYPE>, Device>* p_psi_in,
39 void KG(
const int& smear_type,
93 const int& smear_type,
void calcondw(const int nt, const double dt, const int &smear_type, const double fwhmin, const double wcut, const double dw_in, double *ct11, double *ct12, double *ct22)
Calculate the conductivity using the response function.
Definition elecond.cpp:241
void KG(const int &smear_type, const double &fwhmin, const double &wcut, const double &dw_in, const double &dt_in, const bool &nonlocal, ModuleBase::matrix &wg)
calculate Onsager coefficients Lmn(\omega) and conductivities with Kubo-Greenwood formula
Definition elecond.cpp:46
elecstate::ElecState * p_elec
pointer to the electronic state
Definition elecond.h:52
ModulePW::PW_Basis_K * p_wfcpw
pointer to the plane wave basis
Definition elecond.h:50
psi::Psi< std::complex< FPTYPE >, Device > * p_psi
pointer to the wavefunction
Definition elecond.h:53
K_Vectors * p_kv
pointer to the k vectors
Definition elecond.h:51
UnitCell * p_ucell
pointer to the unit cell
Definition elecond.h:49
pseudopot_cell_vnl * p_ppcell
pointer to the pseudopotential
Definition elecond.h:48
~EleCond()
Definition elecond.h:26
void jjresponse_ks(const int ik, const int nt, const double dt, const double decut, ModuleBase::matrix &wg, hamilt::Velocity< FPTYPE, Device > &velop, double *ct11, double *ct12, double *ct22)
calculate the response function Cmn(t) for currents
Definition elecond.cpp:110
Special pw_basis class. It includes different k-points.
Definition pw_basis_k.h:57
Definition elecstate.h:15
Definition velocity_pw.h:13
Definition VNL_in_pw.h:21
Definition memory_op.h:77
Definition memory_op.h:17
Definition memory_op.h:45