|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include <rpa_lri.h>
Public Member Functions | |
| RPA_LRI (const Exx_Info_RI &info_in, const ModuleRI::RpaLriRuntime &runtime_in) | |
| ~RPA_LRI () | |
| void | postSCF (const UnitCell &ucell, const MPI_Comm &mpi_comm_in, const module_dm::DensityMatrix< T, Tdata > &dm, const elecstate::ElecState *pelec, const K_Vectors &kv, const LCAO_Orbitals &orb, const Parallel_Orbitals ¶v, const psi::Psi< T > &psi) |
| void | init (const MPI_Comm &mpi_comm_in, const K_Vectors &kv_in, const std::vector< double > &orb_cutoff) |
| void | cal_postSCF_exx (const module_dm::DensityMatrix< T, Tdata > &dm, const MPI_Comm &mpi_comm_in, const UnitCell &ucell, const K_Vectors &kv, const LCAO_Orbitals &orb, const Parallel_Orbitals ¶v) |
| void | output_ewald_coulomb (const UnitCell &ucell, const K_Vectors &kv, const LCAO_Orbitals &orb) |
| void | cal_large_Cs (const UnitCell &ucell, const LCAO_Orbitals &orb, const K_Vectors &kv) |
| void | cal_abfs_overlap (const UnitCell &ucell, const LCAO_Orbitals &orb, const K_Vectors &kv) |
| void | inverse_olp (const UnitCell &ucell, std::map< TA, std::map< TAq, RI::Tensor< std::complex< double > > > > &overlap_abfs_abfs, const ModuleBase::Element_Basis_Index::IndexLNM &index_abfs_s) |
| void | out_abfs_overlap (const UnitCell &ucell, std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > &overlap_abfs_abfs, std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > &overlap_abfs_abf, std::string filename, const ModuleBase::Element_Basis_Index::IndexLNM &index_abfs_s, const ModuleBase::Element_Basis_Index::IndexLNM &index_abfs) |
| void | out_abfs_overlap_v1 (const UnitCell &ucell, std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > &overlap_abfs_abfs, std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > &overlap_abfs_abf, std::string filename, const ModuleBase::Element_Basis_Index::IndexLNM &index_abfs_s, const ModuleBase::Element_Basis_Index::IndexLNM &index_abfs) |
| void | out_eigen_vector (const Parallel_Orbitals ¶v, const psi::Psi< T > &psi) |
| void | out_struc (const UnitCell &ucell) |
| void | out_bz_sampling (const UnitCell &ucell) |
| void | out_bands (const elecstate::ElecState *pelec) |
| void | out_velocity (const UnitCell &ucell, const Grid_Driver &gd, const TwoCenterBundle &two_center_bundle, const Parallel_Orbitals ¶v, const psi::Psi< T > &psi, const elecstate::ElecState *pelec) |
| void | output_cut_coulomb_cs (const UnitCell &ucell, Exx_LRI< double > *exx_lri_rpa) |
| void | out_Cs (const UnitCell &ucell, std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > &Cs_in, std::string filename) |
| void | out_Cs_v1 (const UnitCell &ucell, std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > &Cs_in, std::string filename) |
| void | out_coulomb_k (const UnitCell &ucell, std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > &Vs, std::string filename, Exx_LRI< double > *exx_lri) |
| void | out_coulomb_k_v1 (const UnitCell &ucell, std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > &Vs, std::string filename, Exx_LRI< double > *exx_lri) |
| void | out_librpa_basis_v1 (const UnitCell &ucell, Exx_LRI< double > *exx_lri, const std::string &aux_filename, const std::string &legacy_filename, bool write_wfc_basis) |
Public Attributes | |
| Tdata | Erpa |
Private Types | |
| using | TA = int |
| using | Tcell = int |
| using | TC = std::array<Tcell, Ndim> |
| using | Tq = std::array<double, Ndim> |
| using | TAC = std::pair<TA, TC> |
| using | TAq = std::pair<TA, Tq> |
| using | TatomR = std::array<double, Ndim> |
Private Member Functions | |
| void | out_eigen_vector_v1 (const Parallel_Orbitals ¶v, const psi::Psi< T > &psi) |
| void | out_eigen_vector_legacy (const Parallel_Orbitals ¶v, const psi::Psi< T > &psi) |
| Conv_Coulomb_Pot_K::Coulomb_Method | select_coulomb_basis_method_ (Exx_LRI< double > *exx_lri) const |
| std::vector< int > | collect_atom_naux_ (const UnitCell &ucell, Exx_LRI< double > *exx_lri) const |
Private Attributes | |
| const ModuleRI::RpaLriRuntime | runtime |
| Exx_Info_RI | info |
| const K_Vectors * | p_kv =nullptr |
| MPI_Comm | mpi_comm |
| std::vector< double > | orb_cutoff_ |
| double | ccp_rmesh_times_ewald = 0.0 |
| double | ccp_rmesh_times_cut = 0.0 |
| std::vector< std::vector< std::vector< Numerical_Orbital_Lm > > > | lcaos |
| std::vector< std::vector< std::vector< Numerical_Orbital_Lm > > > | abfs |
| std::shared_ptr< ORB_gaunt_table > | MGT |
| std::vector< std::vector< std::vector< Numerical_Orbital_Lm > > > | abfs_shrink |
| std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > | Vs_period |
| std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > | Cs_period |
| std::unique_ptr< Exx_LRI< double > > | exx_cut_coulomb |
| std::unique_ptr< Exx_LRI< double > > | exx_full_coulomb |
Static Private Attributes | |
| static constexpr std::size_t | Ndim = 3 |
|
private |
|
private |
|
private |
|
inline |
| template void RPA_LRI< T, Tdata >::cal_abfs_overlap | ( | const UnitCell & | ucell, |
| const LCAO_Orbitals & | orb, | ||
| const K_Vectors & | kv ) |
| template void RPA_LRI< T, Tdata >::cal_large_Cs | ( | const UnitCell & | ucell, |
| const LCAO_Orbitals & | orb, | ||
| const K_Vectors & | kv ) |
| template void RPA_LRI< T, Tdata >::cal_postSCF_exx | ( | const module_dm::DensityMatrix< T, Tdata > & | dm, |
| const MPI_Comm & | mpi_comm_in, | ||
| const UnitCell & | ucell, | ||
| const K_Vectors & | kv, | ||
| const LCAO_Orbitals & | orb, | ||
| const Parallel_Orbitals & | parav ) |
|
private |
| template void RPA_LRI< T, Tdata >::init | ( | const MPI_Comm & | mpi_comm_in, |
| const K_Vectors & | kv_in, | ||
| const std::vector< double > & | orb_cutoff ) |
| template void RPA_LRI< T, Tdata >::inverse_olp | ( | const UnitCell & | ucell, |
| std::map< TA, std::map< TAq, RI::Tensor< std::complex< double > > > > & | overlap_abfs_abfs, | ||
| const ModuleBase::Element_Basis_Index::IndexLNM & | index_abfs_s ) |
| template void RPA_LRI< T, Tdata >::out_abfs_overlap | ( | const UnitCell & | ucell, |
| std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > & | overlap_abfs_abfs, | ||
| std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > & | overlap_abfs_abf, | ||
| std::string | filename, | ||
| const ModuleBase::Element_Basis_Index::IndexLNM & | index_abfs_s, | ||
| const ModuleBase::Element_Basis_Index::IndexLNM & | index_abfs ) |
| template void RPA_LRI< T, Tdata >::out_abfs_overlap_v1 | ( | const UnitCell & | ucell, |
| std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > & | overlap_abfs_abfs, | ||
| std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > & | overlap_abfs_abf, | ||
| std::string | filename, | ||
| const ModuleBase::Element_Basis_Index::IndexLNM & | index_abfs_s, | ||
| const ModuleBase::Element_Basis_Index::IndexLNM & | index_abfs ) |
| template void RPA_LRI< T, Tdata >::out_bands | ( | const elecstate::ElecState * | pelec | ) |
| template void RPA_LRI< T, Tdata >::out_bz_sampling | ( | const UnitCell & | ucell | ) |
| template void RPA_LRI< T, Tdata >::out_coulomb_k | ( | const UnitCell & | ucell, |
| std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > & | Vs, | ||
| std::string | filename, | ||
| Exx_LRI< double > * | exx_lri ) |
| template void RPA_LRI< T, Tdata >::out_coulomb_k_v1 | ( | const UnitCell & | ucell, |
| std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > & | Vs, | ||
| std::string | filename, | ||
| Exx_LRI< double > * | exx_lri ) |
| template void RPA_LRI< T, Tdata >::out_Cs | ( | const UnitCell & | ucell, |
| std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > & | Cs_in, | ||
| std::string | filename ) |
| template void RPA_LRI< T, Tdata >::out_Cs_v1 | ( | const UnitCell & | ucell, |
| std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > & | Cs_in, | ||
| std::string | filename ) |
| template void RPA_LRI< T, Tdata >::out_eigen_vector | ( | const Parallel_Orbitals & | parav, |
| const psi::Psi< T > & | psi ) |
|
private |
|
private |
| template void RPA_LRI< T, Tdata >::out_librpa_basis_v1 | ( | const UnitCell & | ucell, |
| Exx_LRI< double > * | exx_lri, | ||
| const std::string & | aux_filename, | ||
| const std::string & | legacy_filename, | ||
| bool | write_wfc_basis ) |
| template void RPA_LRI< T, Tdata >::out_struc | ( | const UnitCell & | ucell | ) |
| template void RPA_LRI< T, Tdata >::out_velocity | ( | const UnitCell & | ucell, |
| const Grid_Driver & | gd, | ||
| const TwoCenterBundle & | two_center_bundle, | ||
| const Parallel_Orbitals & | parav, | ||
| const psi::Psi< T > & | psi, | ||
| const elecstate::ElecState * | pelec ) |
| template void RPA_LRI< T, Tdata >::output_cut_coulomb_cs | ( | const UnitCell & | ucell, |
| Exx_LRI< double > * | exx_lri_rpa ) |
| template void RPA_LRI< T, Tdata >::output_ewald_coulomb | ( | const UnitCell & | ucell, |
| const K_Vectors & | kv, | ||
| const LCAO_Orbitals & | orb ) |
| template void RPA_LRI< T, Tdata >::postSCF | ( | const UnitCell & | ucell, |
| const MPI_Comm & | mpi_comm_in, | ||
| const module_dm::DensityMatrix< T, Tdata > & | dm, | ||
| const elecstate::ElecState * | pelec, | ||
| const K_Vectors & | kv, | ||
| const LCAO_Orbitals & | orb, | ||
| const Parallel_Orbitals & | parav, | ||
| const psi::Psi< T > & | psi ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticconstexprprivate |
|
private |
|
private |