|
| | 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, const General_Exx_Info &exx_info, const int nspin_in, const int kpar_in, const int my_rank_in, const int my_pool_in) |
| 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 | set_source (std::unique_ptr< ModulePW::PW_Basis_K > source_basis, std::unique_ptr< K_Vectors > source_points, const psi::Psi< T, Device > &source_psi, ModuleBase::matrix source_weights) |
| void | construct_ace () const |
| virtual | ~OperatorPW () |
| | Operator () |
| virtual | ~Operator () |
| virtual hpsi_info | hPsi (hpsi_info &input) const |
| | Core hot-path: compute H|psi> by traversing the operator chain.
|
| virtual void | init (const int ik_in) |
| virtual void | add (Operator *next) |
| virtual int | get_ik () 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, Real> |
| 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 | resmem_int_op = base_device::memory::resize_memory_op<int, Device> |
| using | delmem_int_op = base_device::memory::delete_memory_op<int, Device> |
| using | syncmem_int_h2d_op = base_device::memory::synchronize_memory_op<int, Device, base_device::DEVICE_CPU> |
| using | syncmem_int_d2h_op = base_device::memory::synchronize_memory_op<int, 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 T *tmpsi_in, T *tmhpsi, const int ispin, const bool has_kpoint) 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 | maybe_setup_exx_grid () const |
| bool | exx_grid_active () const |
| int | exx_band_chunk (const int nbands) const |
| int | exx_grid_size () const |
| const int * | active_map_rho () const |
| const int * | active_map_wfc (const int ik) const |
| void | cache_psi_nk_real (const int nbands, const int nbasis, const T *psi_in, const int ik) const |
| void | wfc_to_real_exx (const T *psi_m, const int iq, const int psi_stride) const |
| void | apply_fock_all_bands (const int nbands, const int nbasis, const int iq, const Real factor, T *tmhpsi) const |
| void | prepare_pair_densities (const int start, const int count) const |
| const T * | pair_density (const int n) const |
| void | setup_exx_small_grid () const |
| void | setup_full_grid_maps () const |
| void | apply_exx_nbatched (const int nbands, const int nbasis, const T *psi_mq_real, const Real factor, T *tmhpsi) const |
| void | calc_density_pw_nbatched (const int nbands, const T *nk_real, const T *psi_mq_real) const |
| void | ensure_exx_batch (const int nbands) 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 |
| 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 |