|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include <hamilt_ulr.h>
Public Member Functions | |
| HamiltULR (const std::string &xc_kernel, 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, const Grid_Driver &gd_in, const psi::Psi< T > &psi_ks_in, const ModuleBase::matrix &eig_ks, const std::vector< std::shared_ptr< 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) | |
| ~HamiltULR () | |
| void | hPsi (const T *const psi_in, T *const hpsi, const int ld_psi, const int &nband) const |
| std::vector< T > | matrix () const |
Private Attributes | |
| const std::vector< int > & | nocc |
| const std::vector< int > & | nvirt |
| const std::vector< Parallel_Blkcyclic > & | pX |
| int | nk = 1 |
| int | ldim = 1 |
| int | gdim = 1 |
| std::vector< hamilt::Operator< T > * > | ops |
| 4 operator lists: uu, ud, du, dd | |
| std::unique_ptr< module_dm::DensityMatrix< T, T > > | DM_trans |
| std::function< void(const int &, const T *const)> | cal_dm_trans |
| const bool | tdm_sym = false |
| whether to symmetrize the transition density matrix | |
Unristricted TDDFT (TDA) for open-shell systems The A matrix is diveded by 4 blocks: uu, ud, du, dd
| LR::HamiltULR< T >::HamiltULR | ( | const std::string & | xc_kernel, |
| 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, | ||
| const Grid_Driver & | gd_in, | ||
| const psi::Psi< T > & | psi_ks_in, | ||
| const ModuleBase::matrix & | eig_ks, | ||
| const std::vector< std::shared_ptr< 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 ) |
| nocc | {up, down} |
| nvirt | {up, down} |
| pX_in | {up, down} |
| LR::HamiltULR< T >::~HamiltULR | ( | ) |
| void LR::HamiltULR< T >::hPsi | ( | const T *const | psi_in, |
| T *const | hpsi, | ||
| const int | ld_psi, | ||
| const int & | nband ) const |
band-wise act (also works for close-shell, but not efficient)
| std::vector< T > LR::HamiltULR< T >::matrix | ( | ) | const |
|
private |
|
private |
transition density matrix in AO representation Hxc only: size=1, calculate on the same address for each bands Hxc+Exx: size=nbands, store the result of each bands for common use
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
4 operator lists: uu, ud, du, dd
|
private |
|
private |
whether to symmetrize the transition density matrix