@@ -56,7 +56,7 @@ void ESolver_KS_LCAO<TK, TR>::before_all_runners(UnitCell& ucell, const Input_pa
5656 {
5757 // TK stands for double and std::complex<double>?
5858 this ->pelec = new elecstate::ElecStateLCAO<TK>(&(this ->chr ), &(this ->kv ),
59- this ->kv .get_nks (), &( this -> GG ), &( this -> GK ), this ->pw_rho , this ->pw_big );
59+ this ->kv .get_nks (), this ->pw_rho , this ->pw_big );
6060 }
6161
6262 // 3) read LCAO orbitals/projectors and construct the interpolation tables.
@@ -134,7 +134,7 @@ void ESolver_KS_LCAO<TK, TR>::before_all_runners(UnitCell& ucell, const Input_pa
134134 // 16) init rdmft, added by jghan
135135 if (inp.rdmft == true )
136136 {
137- rdmft_solver.init (this ->GG , this -> GK , this -> pv , ucell,
137+ rdmft_solver.init (this ->pv , ucell,
138138 this ->gd , this ->kv , *(this ->pelec ), this ->orb_ ,
139139 two_center_bundle_, inp.dft_functional , inp.rdmft_power_alpha );
140140 }
@@ -196,8 +196,6 @@ void ESolver_KS_LCAO<TK, TR>::before_scf(UnitCell& ucell, const int istep)
196196 elecstate::DensityMatrix<TK, double >* DM = estate->get_DM ();
197197
198198 this ->p_hamilt = new hamilt::HamiltLCAO<TK, TR>(
199- PARAM.globalv .gamma_only_local ? &(this ->GG ) : nullptr ,
200- PARAM.globalv .gamma_only_local ? nullptr : &(this ->GK ),
201199 ucell, this ->gd , &this ->pv , this ->pelec ->pot , this ->kv ,
202200 two_center_bundle_, orb_, DM, this ->deepks , istep, exx_nao);
203201 }
@@ -357,7 +355,7 @@ void ESolver_KS_LCAO<TK, TR>::after_all_runners(UnitCell& ucell)
357355 ModuleIO::ctrl_runner_lcao<TK, TR>(ucell,
358356 PARAM.inp , this ->kv , estate, this ->pv , this ->Pgrid ,
359357 this ->gd , this ->psi , this ->chr , hamilt_lcao,
360- this ->two_center_bundle_ , this -> GG , this -> GK ,
358+ this ->two_center_bundle_ ,
361359 this ->orb_ , this ->pw_rho , this ->pw_rhod ,
362360 this ->sf , this ->locpp .vloc , this ->exx_nao , this ->solvent );
363361
@@ -618,9 +616,9 @@ void ESolver_KS_LCAO<TK, TR>::after_scf(UnitCell& ucell, const int istep, const
618616 ModuleIO::ctrl_scf_lcao<TK, TR>(ucell,
619617 PARAM.inp , this ->kv , estate, this ->pv ,
620618 this ->gd , this ->psi , hamilt_lcao,
621- this ->two_center_bundle_ , this -> GK ,
619+ this ->two_center_bundle_ ,
622620 this ->orb_ , this ->pw_wfc , this ->pw_rho ,
623- this ->GridT , this -> pw_big , this ->sf ,
621+ this ->pw_big , this ->sf ,
624622 this ->rdmft_solver , this ->deepks , this ->exx_nao ,
625623 this ->conv_esolver , this ->scf_nmax_flag ,
626624 istep);
0 commit comments