Skip to content

Commit 59dc8ca

Browse files
committed
remove legacy code
1 parent 824ee77 commit 59dc8ca

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

source/source_esolver/esolver_ks_lcao.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,6 @@ void ESolver_KS_LCAO<TK, TR>::before_scf(UnitCell& ucell, const int istep)
198198
elecstate::DensityMatrix<TK, double>* DM = estate->get_DM();
199199

200200
this->p_hamilt = new hamilt::HamiltLCAO<TK, TR>(
201-
PARAM.globalv.gamma_only_local ? &(this->GG) : nullptr,
202-
PARAM.globalv.gamma_only_local ? nullptr : &(this->GK),
203201
ucell, this->gd, &this->pv, this->pelec->pot, this->kv,
204202
two_center_bundle_, orb_, DM, this->deepks
205203
#ifdef __EXX
@@ -639,9 +637,9 @@ void ESolver_KS_LCAO<TK, TR>::after_scf(UnitCell& ucell, const int istep, const
639637
ModuleIO::ctrl_scf_lcao<TK, TR>(ucell,
640638
PARAM.inp, this->kv, estate, this->pv,
641639
this->gd, this->psi, hamilt_lcao,
642-
this->two_center_bundle_, this->GK,
640+
this->two_center_bundle_,
643641
this->orb_, this->pw_wfc, this->pw_rho,
644-
this->GridT, this->pw_big, this->sf,
642+
this->pw_big, this->sf,
645643
this->rdmft_solver, this->deepks, this->exx_nao,
646644
this->conv_esolver, this->scf_nmax_flag,
647645
istep);

0 commit comments

Comments
 (0)