30template <
typename TK,
typename TR>
36 using TAC = std::pair<int, std::array<int, 3>>;
63 const std::vector<double>& orb_cutoff);
67 if (this->
ops !=
nullptr)
82 return this->
hsk->get_hk();
88 return this->
hsk->get_sk();
93 return this->
hsk->get_size();
128 virtual void updateHk(
const int ik)
override;
138 void updateSk(
const int ik,
const int hk_type = 0);
Definition setup_exx.h:19
Definition sltk_grid_driver.h:43
Definition parallel_orbitals.h:9
Definition setup_deepks.h:23
Definition two_center_bundle.h:11
A class to compute two-center integrals.
Definition two_center_integrator.h:35
Definition density_matrix.h:36
Definition potential_new.h:49
Definition hcontainer.h:144
Definition hs_matrix_k.hpp:11
Definition hamilt_lcao.h:32
void refresh() override
refresh the status of HR
Definition hamilt_lcao.cpp:493
std::vector< TR > hRS2
Definition hamilt_lcao.h:163
TK * getHk() const
get H(k) pointer
Definition hamilt_lcao.h:80
virtual void updateHk(const int ik) override
for target K point, update consequence of hPsi() and matrix()
Definition hamilt_lcao.cpp:467
int current_spin
Definition hamilt_lcao.h:170
const int istep
Definition hamilt_lcao.h:172
void updateSk(const int ik, const int hk_type=0)
special for LCAO, update SK only
Definition hamilt_lcao.cpp:518
int refresh_times
Definition hamilt_lcao.h:165
const K_Vectors * kv
Definition hamilt_lcao.h:146
std::pair< int, std::array< int, 3 > > TAC
Definition hamilt_lcao.h:36
int get_size_hsk() const
Definition hamilt_lcao.h:91
Operator< TK > *& getOperator()
get pointer of Operator<TK> ops
Definition hamilt_lcao.cpp:512
const HContainer< TR > * getSR() const
Definition hamilt_lcao.h:111
HS_Matrix_K< TK > * hsk
Hamiltonian and overlap matrices for a specific k point.
Definition hamilt_lcao.h:159
TK * getSk() const
get S(k) pointer
Definition hamilt_lcao.h:86
HContainer< TR > * hR
Real space Hamiltonian H(R), where R is the Bravis lattice vector.
Definition hamilt_lcao.h:149
HContainer< TR > * V_delta_R
Definition hamilt_lcao.h:155
HContainer< TR > *& getHR()
get HR pointer of *this->hR, which is a HContainerand contains H(R)
Definition hamilt_lcao.h:97
~HamiltLCAO()
Definition hamilt_lcao.h:65
HContainer< TR > *& get_V_delta_R()
get V_delta_R pointer of *this->V_delta_R, which is a HContainerand contains V_delta(R)
Definition hamilt_lcao.h:118
HContainer< TR > * sR
Real space overlap matrix S(R), where R is the Bravis lattice vector.
Definition hamilt_lcao.h:152
HContainer< TR > *& getSR()
get SR pointer of *this->sR, which is a HContainerand contains S(R)
Definition hamilt_lcao.h:107
const HContainer< TR > * getHR() const
Definition hamilt_lcao.h:101
virtual std::vector< TK > matrix()
Definition hamilt.h:54
Operator< TK, base_device::DEVICE_CPU > * ops
first node operator, add operations from each operators
Definition hamilt.h:61
Definition matrixblock.h:9