18#ifndef __TD_POT_HYBRIDTEMPLATE
19#define __TD_POT_HYBRIDTEMPLATE
40template <
typename TK,
typename TR>
53 const std::vector<double>& orb_cutoff,
85 bool allocated =
false;
87 bool HR_fixed_done =
false;
Definition sltk_grid_driver.h:43
3 elements vector
Definition vector3.h:22
Definition parallel_orbitals.h:9
A class to compute two-center integrals.
Definition two_center_integrator.h:35
Definition cal_r_overlap_R.h:25
Definition hcontainer.h:144
Definition hs_matrix_k.hpp:11
Definition operator_lcao.h:12
static cal_r_overlap_R r_calculator
Definition td_pot_hybrid.h:89
std::vector< double > orb_cutoff_
Definition td_pot_hybrid.h:76
void cal_HR_IJR(const int &iat1, const int &iat2, const Parallel_Orbitals *paraV, const ModuleBase::Vector3< double > &dtau, TR *hr_mat_p, TR *sr_p)
calculate the HR local matrix of <I,J,R> atom pair
virtual void set_HR_fixed(void *) override
set_HR_fixed() is used for pass HR_fixed matrix to the next node in sub-chain table not used in base ...
void initialize_HR(const Grid_Driver *GridD_in)
initialize HR, search the nearest neighbor atoms HContainer is used to store the electronic kinetic m...
ModuleBase::Vector3< double > cart_At
Store the vector potential for td_ekinetic term.
Definition td_pot_hybrid.h:94
ModuleBase::Vector3< double > Et
Definition td_pot_hybrid.h:95
virtual void contributeHk(int ik) override
void calculate_HR()
calculate the electronic kinetic matrix with specific <I,J,R> atom-pairs use the adjs_all to calculat...
const LCAO_Orbitals & orb_
Definition td_pot_hybrid.h:77
virtual void contributeHR() override
contributeHR() is used to calculate the HR matrix <phi_{\mu, 0}|-\Nabla^2|phi_{\nu,...
std::vector< AdjacentAtomInfo > adjs_all
exact the nearest neighbor atoms from all adjacent atoms
Definition td_pot_hybrid.h:125
Definition td_pot_hybrid.h:28
#define T
Definition exp.cpp:237