@@ -808,13 +808,13 @@ void ESolver_KS_LCAO<TK, TR>::update_pot(const int istep, const int iter)
808808 // 1) print Hamiltonian and Overlap matrix
809809 if (this ->conv_elec || iter == GlobalV::SCF_NMAX)
810810 {
811- if (!GlobalV::GAMMA_ONLY_LOCAL && (hsolver::HSolverLCAO<TK>:: out_mat_hs[0 ] || GlobalV::deepks_v_delta))
811+ if (!GlobalV::GAMMA_ONLY_LOCAL && (PARAM. inp . out_mat_hs [0 ] || GlobalV::deepks_v_delta))
812812 {
813813 this ->GK .renew (true );
814814 }
815815 for (int ik = 0 ; ik < this ->kv .get_nks (); ++ik)
816816 {
817- if (hsolver::HSolverLCAO<TK>:: out_mat_hs[0 ]|| GlobalV::deepks_v_delta)
817+ if (PARAM. inp . out_mat_hs [0 ]|| GlobalV::deepks_v_delta)
818818 {
819819 this ->p_hamilt ->updateHk (ik);
820820 }
@@ -828,13 +828,13 @@ void ESolver_KS_LCAO<TK, TR>::update_pot(const int istep, const int iter)
828828
829829 this ->p_hamilt ->matrix (h_mat, s_mat);
830830
831- if (hsolver::HSolverLCAO<TK>:: out_mat_hs[0 ])
831+ if (PARAM. inp . out_mat_hs [0 ])
832832 {
833833 ModuleIO::save_mat (istep,
834834 h_mat.p ,
835835 GlobalV::NLOCAL,
836836 bit,
837- hsolver::HSolverLCAO<TK>:: out_mat_hs[1 ],
837+ PARAM. inp . out_mat_hs [1 ],
838838 1 ,
839839 PARAM.inp .out_app_flag ,
840840 " H" ,
@@ -845,7 +845,7 @@ void ESolver_KS_LCAO<TK, TR>::update_pot(const int istep, const int iter)
845845 s_mat.p ,
846846 GlobalV::NLOCAL,
847847 bit,
848- hsolver::HSolverLCAO<TK>:: out_mat_hs[1 ],
848+ PARAM. inp . out_mat_hs [1 ],
849849 1 ,
850850 PARAM.inp .out_app_flag ,
851851 " S" ,
0 commit comments