|
| | OperatorEXXPW (const int *isk_in, const ModulePW::PW_Basis_K *wfcpw_in, const ModulePW::PW_Basis *rhopw_in, K_Vectors *kv_in, const UnitCell *ucell) |
| |
| template<typename T_in , typename Device_in = Device> |
| | OperatorEXXPW (const OperatorEXXPW< T_in, Device_in > *op_exx) |
| |
| virtual | ~OperatorEXXPW () |
| |
| virtual void | act (const int nbands, const int nbasis, const int npol, const T *tmpsi_in, T *tmhpsi, const int ngk_ik=0, const bool is_first_node=false) const override |
| |
| double | cal_exx_energy (psi::Psi< T, Device > *psi_) const |
| |
| void | set_psi (psi::Psi< T, Device > &psi_in) const |
| |
| void | set_wg (const ModuleBase::matrix *wg_in) |
| |
| void | construct_ace () const |
| |
| virtual | ~OperatorPW () |
| |
| | Operator () |
| |
| virtual | ~Operator () |
| |
| virtual hpsi_info | hPsi (hpsi_info &input) const |
| |
| virtual void | init (const int ik_in) |
| |
| virtual void | add (Operator *next) |
| |
| virtual int | get_ik () const |
| |
| virtual void | act (const psi::Psi< T, Device > &psi_in, psi::Psi< T, Device > &psi_out, const int nbands) const |
| |
| int | get_act_type () const |
| |
| calculation_type | get_cal_type () const |
| |
|
| using | Real = typename GetTypeReal< T >::type |
| |
| using | ct_Device = typename ct::PsiToContainer< Device >::type |
| |
| using | setmem_complex_op = base_device::memory::set_memory_op< T, Device > |
| |
| using | setmem_real_op = base_device::memory::set_memory_op< Real, Device > |
| |
| using | setmem_real_cpu_op = base_device::memory::set_memory_op< Real, base_device::DEVICE_CPU > |
| |
| using | resmem_complex_op = base_device::memory::resize_memory_op< T, Device > |
| |
| using | delmem_complex_op = base_device::memory::delete_memory_op< T, Device > |
| |
| using | syncmem_complex_op = base_device::memory::synchronize_memory_op< T, Device, Device > |
| |
| using | resmem_real_op = base_device::memory::resize_memory_op< Real, Device > |
| |
| using | delmem_real_op = base_device::memory::delete_memory_op< Real, Device > |
| |
| using | gemm_complex_op = ModuleBase::gemm_op< T, Device > |
| |
| using | axpy_complex_op = ModuleBase::axpy_op< T, Device > |
| |
| using | vec_add_vec_complex_op = ModuleBase::vector_add_vector_op< T, Device > |
| |
| using | dot_op = ModuleBase::dot_real_op< T, Device > |
| |
| using | syncmem_complex_c2d_op = base_device::memory::synchronize_memory_op< T, Device, base_device::DEVICE_CPU > |
| |
| using | syncmem_complex_d2c_op = base_device::memory::synchronize_memory_op< T, base_device::DEVICE_CPU, Device > |
| |
| using | syncmem_real_c2d_op = base_device::memory::synchronize_memory_op< Real, Device, base_device::DEVICE_CPU > |
| |
| using | syncmem_real_d2c_op = base_device::memory::synchronize_memory_op< Real, base_device::DEVICE_CPU, Device > |
| |
| using | lapack_potrf = container::kernels::lapack_potrf< T, ct_Device > |
| |
| using | lapack_trtri = container::kernels::lapack_trtri< T, ct_Device > |
| |
|
| std::vector< int > | get_q_points (const int ik) const |
| |
| const T * | get_pw (const int m, const int iq) const |
| |
| void | multiply_potential (T *density_recip, int ik, int iq) const |
| |
| void | act_op (const int nbands, const int nbasis, const int npol, const T *tmpsi_in, T *tmhpsi, const int ngk_ik=0, const bool is_first_node=false) const |
| |
| void | act_op_kpar (const int nbands, const int nbasis, const int npol, const T *tmpsi_in, T *tmhpsi, const int ngk_ik=0, const bool is_first_node=false) const |
| |
| void | act_op_ace (const int nbands, const int nbasis, const int npol, const T *tmpsi_in, T *tmhpsi, const int ngk_ik=0, const bool is_first_node=false) const |
| |
| double | cal_exx_energy_op (psi::Psi< T, Device > *psi_) const |
| |
| double | cal_exx_energy_ace (psi::Psi< T, Device > *psi_) const |
| |
| void | cal_density_recip (const T *psi_nk_real, const T *psi_mq_real, double omega) const |
| |
| void | rho_recip2real (const T *rho_recip, T *rho_real, bool add=false, Real factor=1.0) const |
| |
| void | cal_density_recip (const std::complex< double > *psi_nk_real, const std::complex< double > *psi_mq_real, double omega) const |
| |
| void | cal_density_recip (const std::complex< float > *psi_nk_real, const std::complex< float > *psi_mq_real, double omega) const |
| |
| void | rho_recip2real (const std::complex< double > *rho_recip, std::complex< double > *rho_real, bool add, double factor) const |
| |
| void | rho_recip2real (const std::complex< float > *rho_recip, std::complex< float > *rho_real, bool add, float factor) const |
| |