14#ifndef __MLALGOTEMPLATE
15#define __MLALGOTEMPLATE
29template <
typename TK,
typename TR>
34 const std::vector<ModuleBase::Vector3<double>>& kvec_d_in,
64 return this->V_delta_R;
102 void cal_HR_IJR(
const double* hr_in,
const int& row_size,
const int& col_size, TR* data_pointer);
Definition sltk_grid_driver.h:43
Definition LCAO_deepks.h:52
A class to compute two-center integrals.
Definition two_center_integrator.h:35
Definition density_matrix.h:36
HContainer< TR > * get_V_delta_R() const
Definition deepks_lcao.h:62
elecstate::DensityMatrix< TK, double > * DM
Definition deepks_lcao.h:69
std::vector< AdjacentAtomInfo > adjs_all
initialize V_delta_R, search the nearest neighbor atoms used for calculate the DeePKS real space Hami...
Definition deepks_lcao.h:108
void calculate_HR()
calculate the DeePKS correction matrix with specific <I,J,R> atom-pairs use the adjs_all to calculate...
virtual void contributeHk(int ik) override
contribute the DeePKS correction for each k-point to V_delta this function is not used for update hK,...
void initialize_HR(const Grid_Driver *GridD)
initialize HR, search the nearest neighbor atoms HContainer is used to store the DeePKS real space Ha...
virtual void contributeHR() override
contribute the DeePKS correction to real space Hamiltonian this function is used for update hR and V_...
const int & nks
Definition deepks_lcao.h:110
void cal_HR_IJR(const double *hr_in, const int &row_size, const int &col_size, TR *data_pointer)
calculate the HR local matrix of <I,J,R> atom pair
Definition deepks_lcao.h:24
Definition hcontainer.h:144
Definition hs_matrix_k.hpp:11
Definition operator_lcao.h:12
#define T
Definition exp.cpp:237