|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include <exx_lri.h>
Public Types | |
| using | CoulombSettings |
Public Member Functions | |
| Exx_LRI (const Exx_Info_RI &info_in) | |
| Exx_LRI | operator= (const Exx_LRI &)=delete |
| Exx_LRI | operator= (Exx_LRI &&) |
| RI::Exx< TA, Tcell, Ndim, Tdata > & | get () |
| const Exx_Info_RI & | get_info () const |
| const MPI_Comm & | get_mpi_comm () const |
| std::shared_ptr< Exx_LRI< Tdata > > | make_lr_workspace (const UnitCell &ucell, const K_Vectors &kv) const |
| void | init (const MPI_Comm &mpi_comm_in, const UnitCell &ucell, const K_Vectors &kv_in, const LCAO_Orbitals &orb, const std::vector< std::vector< std::vector< Numerical_Orbital_Lm > > > &abfs_in={}) |
| void | init (const MPI_Comm &mpi_comm_in, const UnitCell &ucell, const K_Vectors &kv_in, const LCAO_Orbitals &orb, const std::vector< std::vector< std::vector< Numerical_Orbital_Lm > > > &abfs_in, const bool use_gpu) |
| void | refresh_coulomb (const UnitCell &ucell, const LCAO_Orbitals &orb, const CoulombSettings &settings, const bool use_gpu) |
| Refresh changed Coulomb kernels while retaining the initialized basis and Gaunt table. | |
| void | init_spencer (const MPI_Comm &mpi_comm_in, const UnitCell &ucell, const K_Vectors &kv_in, const LCAO_Orbitals &orb, const std::vector< std::vector< std::vector< Numerical_Orbital_Lm > > > &abfs_in={}) |
| void | cal_exx_ions (const UnitCell &ucell, const bool write_cv=false) |
| void | cal_cut_coulomb_cs (std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > &Vs_cut_IJR, std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > &Cs, const UnitCell &ucell, const bool write_cv=false) |
| void | cal_ewald_coulomb (std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > &Vs_full_IJR, std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > &Cs, const UnitCell &ucell, const bool write_cv=false) |
| void | cal_exx_elec (const std::vector< std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > > &Ds, const UnitCell &ucell, const Parallel_Orbitals &pv, const ModuleSymmetry::Symmetry_rotation *p_symrot=nullptr) |
| void | cal_exx_elec_soc (const std::vector< std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > > &Ds, const UnitCell &ucell, const std::vector< std::tuple< std::set< TA >, std::set< TA > > > &judge, const ModuleSymmetry::Symmetry_rotation *p_symrot) |
| void | cal_exx_force (const int &nat) |
| void | cal_exx_stress (const double &omega, const double &lat0) |
| void | reset_Cs (const std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > &Cs_in) |
| void | reset_Vs (const std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > &Vs_in) |
| void | post_process_Hexx (std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > &Hexxs_io) const |
| double | post_process_Eexx (const double &Eexx_in) const |
| int | abfs_Lmax () const |
| const Exx_Info_RI & | get_info_ri () const |
| const std::array< int, 3 > & | hybrid_images_period () const |
Public Attributes | |
| std::vector< std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > > | Hexxs |
| double | Eexx = 0.0 |
| ModuleBase::matrix | force_exx |
| ModuleBase::matrix | stress_exx |
Private Types | |
| using | TA = int |
| using | Tcell = int |
| using | TC = std::array<Tcell,Ndim> |
| using | TAC = std::pair<TA,TC> |
| using | TatomR = std::array<double,Ndim> |
Private Attributes | |
| Exx_Info_RI | info |
| std::array< int, 3 > | hybrid_images_period_ {{1, 1, 1}} |
| int | abfs_Lmax_ = 0 |
| MPI_Comm | mpi_comm |
| const K_Vectors * | p_kv = nullptr |
| std::shared_ptr< ORB_gaunt_table > | MGT |
| std::vector< double > | orb_cutoff_ |
| std::vector< std::vector< std::vector< Numerical_Orbital_Lm > > > | lcaos |
| std::vector< std::vector< std::vector< Numerical_Orbital_Lm > > > | abfs |
| std::map< Conv_Coulomb_Pot_K::Coulomb_Method, Exx_Obj< Tdata > > | exx_objs |
| RI::Exx< TA, Tcell, Ndim, Tdata > | exx_lri |
| CoulombSettings | coulomb_settings |
Static Private Attributes | |
| static constexpr std::size_t | Ndim = 3 |
| using Exx_LRI< Tdata >::CoulombSettings |
|
private |
|
private |
|
inline |
|
inline |
| void Exx_LRI< Tdata >::cal_cut_coulomb_cs | ( | std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > & | Vs_cut_IJR, |
| std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > & | Cs, | ||
| const UnitCell & | ucell, | ||
| const bool | write_cv = false ) |
| void Exx_LRI< Tdata >::cal_ewald_coulomb | ( | std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > & | Vs_full_IJR, |
| std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > & | Cs, | ||
| const UnitCell & | ucell, | ||
| const bool | write_cv = false ) |
| void Exx_LRI< Tdata >::cal_exx_elec | ( | const std::vector< std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > > & | Ds, |
| const UnitCell & | ucell, | ||
| const Parallel_Orbitals & | pv, | ||
| const ModuleSymmetry::Symmetry_rotation * | p_symrot = nullptr ) |
| void Exx_LRI< Tdata >::cal_exx_elec_soc | ( | const std::vector< std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > > & | Ds, |
| const UnitCell & | ucell, | ||
| const std::vector< std::tuple< std::set< TA >, std::set< TA > > > & | judge, | ||
| const ModuleSymmetry::Symmetry_rotation * | p_symrot ) |
| void Exx_LRI< Tdata >::cal_exx_force | ( | const int & | nat | ) |
| void Exx_LRI< Tdata >::cal_exx_ions | ( | const UnitCell & | ucell, |
| const bool | write_cv = false ) |
| void Exx_LRI< Tdata >::cal_exx_stress | ( | const double & | omega, |
| const double & | lat0 ) |
|
inline |
|
inline |
|
inline |
|
inline |
| void Exx_LRI< Tdata >::init | ( | const MPI_Comm & | mpi_comm_in, |
| const UnitCell & | ucell, | ||
| const K_Vectors & | kv_in, | ||
| const LCAO_Orbitals & | orb, | ||
| const std::vector< std::vector< std::vector< Numerical_Orbital_Lm > > > & | abfs_in, | ||
| const bool | use_gpu ) |
| void Exx_LRI< Tdata >::init | ( | const MPI_Comm & | mpi_comm_in, |
| const UnitCell & | ucell, | ||
| const K_Vectors & | kv_in, | ||
| const LCAO_Orbitals & | orb, | ||
| const std::vector< std::vector< std::vector< Numerical_Orbital_Lm > > > & | abfs_in = {} ) |
| void Exx_LRI< Tdata >::init_spencer | ( | const MPI_Comm & | mpi_comm_in, |
| const UnitCell & | ucell, | ||
| const K_Vectors & | kv_in, | ||
| const LCAO_Orbitals & | orb, | ||
| const std::vector< std::vector< std::vector< Numerical_Orbital_Lm > > > & | abfs_in = {} ) |
| template std::shared_ptr< Exx_LRI< std::complex< double > > > Exx_LRI< Tdata >::make_lr_workspace | ( | const UnitCell & | ucell, |
| const K_Vectors & | kv ) const |
| double Exx_LRI< Tdata >::post_process_Eexx | ( | const double & | Eexx_in | ) | const |
| void Exx_LRI< Tdata >::post_process_Hexx | ( | std::map< TA, std::map< TAC, RI::Tensor< Tdata > > > & | Hexxs_io | ) | const |
| void Exx_LRI< Tdata >::refresh_coulomb | ( | const UnitCell & | ucell, |
| const LCAO_Orbitals & | orb, | ||
| const CoulombSettings & | settings, | ||
| const bool | use_gpu ) |
Refresh changed Coulomb kernels while retaining the initialized basis and Gaunt table.
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
|
private |
|
private |
| double Exx_LRI< Tdata >::Eexx = 0.0 |
|
private |
| ModuleBase::matrix Exx_LRI< Tdata >::force_exx |
| std::vector< std::map<TA, std::map<TAC, RI::Tensor<Tdata> > > > Exx_LRI< Tdata >::Hexxs |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticconstexprprivate |
|
private |
| ModuleBase::matrix Exx_LRI< Tdata >::stress_exx |