@@ -45,7 +45,7 @@ void ESolver_KS<T, Device>::before_all_runners(UnitCell& ucell, const Input_para
4545{
4646 ModuleBase::TITLE (" ESolver_KS" , " before_all_runners" );
4747
48- // ! 1) init "before_all_runniers" in ESolver_FP
48+ // ! 1) setup "before_all_runniers" in ESolver_FP
4949 ESolver_FP::before_all_runners (ucell, inp);
5050
5151 // ! 2) setup some parameters
@@ -67,7 +67,7 @@ void ESolver_KS<T, Device>::before_all_runners(UnitCell& ucell, const Input_para
6767
6868 ModuleBase::GlobalFunc::DONE (GlobalV::ofs_running, " SETUP UNITCELL" );
6969
70- // ! 4) setup Exc for the first element '0', because all elements have same exc
70+ // ! 4) setup Exc for the first element '0' ( all elements have same exc)
7171 XC_Functional::set_xc_type (ucell.atoms [0 ].ncpp .xc_func );
7272
7373 // ! 5) setup the charge mixing parameters
@@ -84,7 +84,7 @@ void ESolver_KS<T, Device>::before_all_runners(UnitCell& ucell, const Input_para
8484 ModuleBase::GlobalFunc::DONE (GlobalV::ofs_running, " SYMMETRY" );
8585 }
8686
87- // ! 7) Setup the k points according to symmetry.
87+ // ! 7) setup k points in the Brillouin zone according to symmetry.
8888 this ->kv .set (ucell,ucell.symm , inp.kpoint_file , inp.nspin , ucell.G , ucell.latvec , GlobalV::ofs_running);
8989 ModuleBase::GlobalFunc::DONE (GlobalV::ofs_running, " INIT K-POINTS" );
9090
@@ -104,14 +104,7 @@ void ESolver_KS<T, Device>::before_all_runners(UnitCell& ucell, const Input_para
104104
105105template <typename T, typename Device>
106106void ESolver_KS<T, Device>::hamilt2rho_single(UnitCell& ucell, const int istep, const int iter, const double ethr)
107- {
108- ModuleBase::timer::tick (this ->classname , " hamilt2rho_single" );
109- // Temporarily, before HSolver is constructed, it should be overrided by
110- // LCAO, PW, SDFT and TDDFT.
111- // After HSolver is constructed, LCAO, PW, SDFT should delete their own
112- // hamilt2rho_single() and use:
113- ModuleBase::timer::tick (this ->classname , " hamilt2rho_single" );
114- }
107+ {}
115108
116109template <typename T, typename Device>
117110void ESolver_KS<T, Device>::hamilt2rho(UnitCell& ucell, const int istep, const int iter, const double ethr)
0 commit comments