#include <hamilt_casida.h>
|
template<typename TGint > |
| HamiltLR (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, TGint *gint_in, std::weak_ptr< PotHxcLR > pot_in, const K_Vectors &kv_in, const std::vector< Parallel_2D > &pX_in, const Parallel_2D &pc_in, const Parallel_Orbitals &pmat_in, const std::string &spin_type, const std::string &ri_hartree_benchmark="none", const std::vector< int > &aims_nbasis={}) |
|
| ~HamiltLR () |
|
std::vector< T > | matrix () const |
|
void | hPsi (const T *const psi_in, T *const hpsi, const int ld_psi, const int &nband) const |
|
void | global2local (T *lvec, const T *gvec, const int &nband) const |
|
|
T | one () const |
|
double | one () const |
|
std::complex< double > | one () const |
|
◆ HamiltLR()
template<typename
TGint >
LR::HamiltLR< T >::HamiltLR |
( |
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, |
|
|
TGint * |
gint_in, |
|
|
std::weak_ptr< PotHxcLR > |
pot_in, |
|
|
const K_Vectors & |
kv_in, |
|
|
const std::vector< Parallel_2D > & |
pX_in, |
|
|
const Parallel_2D & |
pc_in, |
|
|
const Parallel_Orbitals & |
pmat_in, |
|
|
const std::string & |
spin_type, |
|
|
const std::string & |
ri_hartree_benchmark = "none" , |
|
|
const std::vector< int > & |
aims_nbasis = {} |
|
) |
| |
|
inline |
◆ ~HamiltLR()
◆ global2local()
void LR::HamiltLR< T >::global2local |
( |
T * |
lvec, |
|
|
const T * |
gvec, |
|
|
const int & |
nband |
|
) |
| const |
|
inline |
◆ hPsi()
void LR::HamiltLR< T >::hPsi |
( |
const T *const |
psi_in, |
|
|
T *const |
hpsi, |
|
|
const int |
ld_psi, |
|
|
const int & |
nband |
|
) |
| const |
|
inline |
◆ matrix()
◆ one() [1/3]
◆ one() [2/3]
std::complex< double > LR::HamiltLR< std::complex< double > >::one |
( |
| ) |
const |
|
private |
◆ one() [3/3]
◆ cal_dm_trans
std::function<void(const int&, const T* const)> LR::HamiltLR< T >::cal_dm_trans |
|
private |
◆ DM_trans
transition density matrix in AO representation calculate on the same address for each bands, and commonly used by all the operators
◆ nk
◆ nocc
◆ nspin
◆ nvirt
◆ ops
first node operator, add operations from each operators
◆ pX
◆ tdm_sym
whether to symmetrize the transition density matrix
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_lcao/module_lr/hamilt_casida.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_lcao/module_lr/hamilt_casida.cpp