|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include <hamilt_bse.h>
Public Member Functions | |
| HamiltBSE (const int &nspin, const int &naos, const std::vector< int > &nocc, const std::vector< int > &nvirt, const UnitCell &ucell_in, const std::vector< double > &orb_cutoff_in, const Grid_Driver &gd_in, const psi::Psi< T > &psi_in, const psi::Psi< T > &psi_glb_in, const ModuleBase::matrix &eig_gw_in, MolecularLRI< T > &mo_lri_in, std::weak_ptr< LR::PotHxcLR > pot_in, const K_Vectors &kv_in, const std::vector< Parallel_Blkcyclic > &pX_in, const Parallel_Blkcyclic &pc_in, const Parallel_Orbitals &pmat_in, const std::vector< std::string > &spin_types_in, const std::string &tda, const bool bse_ri_hartree_in, const bool bse_mem_save_in, const int bse_continue_in, const bool out_bse_ab_in, const std::string &out_dir_in, const std::string &readin_dir_in, const int my_rank_in, const int nproc_in, const std::string &ri_hartree_benchmark_in="none") | |
| constructor for BSE_Matrix | |
| void | cal_V_for_A () |
| void | cal_W_for_A () |
| void | cal_V_for_B () |
| void | cal_W_for_B () |
| void | init_bse_matrix (const bool is_full, const int &st_index) |
| initialize BSE matrix | |
| void | tda_solver (const int &st_index, const int &nstates, double *ene_out, T *X_out) |
| void | full_solver (const int &st_index, const int &nstates, double *ene_out, T *X_out, T *Y_out) |
| void | cal_V_by_grid (bool is_A) |
| void | grid_calculation (hamilt::HContainer< T > &VR) const |
| void | write_AB_matrix (const std::string &file, const int &prec, const T *ptr, const Parallel_Blkcyclic &pM) |
| void | read_AB_matrix (const std::string &file, T *ptr, const Parallel_Blkcyclic &pM) |
| void | full_solver (const int &st_index, const int &nstates, double *ene_out, double *X_out, double *Y_out) |
| void | full_solver (const int &st_index, const int &nstates, double *ene_out, std::complex< double > *X_out, std::complex< double > *Y_out) |
| void | grid_calculation (hamilt::HContainer< double > &VR) const |
| void | grid_calculation (hamilt::HContainer< std::complex< double > > &VR) const |
Public Attributes | |
| std::vector< T > | BSE_A_local |
| std::vector< T > | BSE_B_local |
| std::vector< T > | VA_local |
| std::vector< T > | WA_local |
| std::vector< T > | VB_local |
| std::vector< T > | WB_local |
| int | ndim = 0 |
| Parallel_Blkcyclic | pA |
Private Attributes | |
| const int | nspin |
| const int | naos |
| const std::vector< int > | nocc |
| const std::vector< int > | nvirt |
| const UnitCell & | ucell |
| const std::vector< double > & | orb_cutoff |
| const Grid_Driver & | gd |
| const psi::Psi< T > & | psi_ks |
| const psi::Psi< T > & | psi_ks_glb |
| const ModuleBase::matrix & | eig_gw |
| MolecularLRI< T > & | mo_lri |
| std::weak_ptr< LR::PotHxcLR > | pot |
| const K_Vectors & | kv |
| int | nk = 1 |
| const std::vector< Parallel_Blkcyclic > & | pX |
| const Parallel_Blkcyclic & | pc |
| const Parallel_Orbitals & | pmat |
| const std::vector< std::string > & | spin_types |
| const bool | bse_ri_hartree |
| const bool | bse_mem_save |
| const int | bse_continue |
| const bool | out_bse_ab |
| const std::string | out_dir |
| const std::string | readin_dir |
| const int | my_rank |
| const int | nproc |
| const std::string | ri_hartree_benchmark |
| std::unique_ptr< module_dm::DensityMatrix< T, T > > | DM_trans = nullptr |
| BSE::HamiltBSE< T >::HamiltBSE | ( | const int & | nspin, |
| const int & | naos, | ||
| const std::vector< int > & | nocc, | ||
| const std::vector< int > & | nvirt, | ||
| const UnitCell & | ucell_in, | ||
| const std::vector< double > & | orb_cutoff_in, | ||
| const Grid_Driver & | gd_in, | ||
| const psi::Psi< T > & | psi_in, | ||
| const psi::Psi< T > & | psi_glb_in, | ||
| const ModuleBase::matrix & | eig_gw_in, | ||
| MolecularLRI< T > & | mo_lri_in, | ||
| std::weak_ptr< LR::PotHxcLR > | pot_in, | ||
| const K_Vectors & | kv_in, | ||
| const std::vector< Parallel_Blkcyclic > & | pX_in, | ||
| const Parallel_Blkcyclic & | pc_in, | ||
| const Parallel_Orbitals & | pmat_in, | ||
| const std::vector< std::string > & | spin_types_in, | ||
| const std::string & | tda, | ||
| const bool | bse_ri_hartree_in, | ||
| const bool | bse_mem_save_in, | ||
| const int | bse_continue_in, | ||
| const bool | out_bse_ab_in, | ||
| const std::string & | out_dir_in, | ||
| const std::string & | readin_dir_in, | ||
| const int | my_rank_in, | ||
| const int | nproc_in, | ||
| const std::string & | ri_hartree_benchmark_in = "none" ) |
constructor for BSE_Matrix
| void BSE::HamiltBSE< T >::cal_V_by_grid | ( | bool | is_A | ) |
| void BSE::HamiltBSE< T >::cal_V_for_A | ( | ) |
| void BSE::HamiltBSE< T >::cal_V_for_B | ( | ) |
| void BSE::HamiltBSE< T >::cal_W_for_A | ( | ) |
| void BSE::HamiltBSE< T >::cal_W_for_B | ( | ) |
| void BSE::HamiltBSE< double >::full_solver | ( | const int & | st_index, |
| const int & | nstates, | ||
| double * | ene_out, | ||
| double * | X_out, | ||
| double * | Y_out ) |
| void BSE::HamiltBSE< std::complex< double > >::full_solver | ( | const int & | st_index, |
| const int & | nstates, | ||
| double * | ene_out, | ||
| std::complex< double > * | X_out, | ||
| std::complex< double > * | Y_out ) |
| void BSE::HamiltBSE< T >::full_solver | ( | const int & | st_index, |
| const int & | nstates, | ||
| double * | ene_out, | ||
| T * | X_out, | ||
| T * | Y_out ) |
| void BSE::HamiltBSE< double >::grid_calculation | ( | hamilt::HContainer< double > & | VR | ) | const |
| void BSE::HamiltBSE< std::complex< double > >::grid_calculation | ( | hamilt::HContainer< std::complex< double > > & | VR | ) | const |
| void BSE::HamiltBSE< T >::grid_calculation | ( | hamilt::HContainer< T > & | VR | ) | const |
| void BSE::HamiltBSE< T >::init_bse_matrix | ( | const bool | is_full, |
| const int & | st_index ) |
initialize BSE matrix
|
inline |
| void BSE::HamiltBSE< T >::tda_solver | ( | const int & | st_index, |
| const int & | nstates, | ||
| double * | ene_out, | ||
| T * | X_out ) |
|
inline |
| std::vector<T> BSE::HamiltBSE< T >::BSE_A_local |
| std::vector<T> BSE::HamiltBSE< T >::BSE_B_local |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| int BSE::HamiltBSE< T >::ndim = 0 |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| Parallel_Blkcyclic BSE::HamiltBSE< T >::pA |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| std::vector<T> BSE::HamiltBSE< T >::VA_local |
| std::vector<T> BSE::HamiltBSE< T >::VB_local |
| std::vector<T> BSE::HamiltBSE< T >::WA_local |
| std::vector<T> BSE::HamiltBSE< T >::WB_local |