@@ -229,11 +229,8 @@ template <typename TR, typename Device>
229229void ESolver_KS_LCAO_TDDFT<TR, Device>::print_step()
230230{
231231 std::cout << " -------------------------------------------" << std::endl;
232- GlobalV::ofs_running << " \n -------------------------------------------" << std::endl;
233232 std::cout << " STEP OF ELECTRON EVOLVE : " << unsigned (totstep) << std::endl;
234- GlobalV::ofs_running << " STEP OF ELECTRON EVOLVE : " << unsigned (totstep) << std::endl;
235233 std::cout << " -------------------------------------------" << std::endl;
236- GlobalV::ofs_running << " -------------------------------------------" << std::endl;
237234}
238235template <typename TR, typename Device>
239236void ESolver_KS_LCAO_TDDFT<TR, Device>::hamilt2rho_single(UnitCell& ucell,
@@ -321,10 +318,7 @@ void ESolver_KS_LCAO_TDDFT<TR, Device>::iter_finish(
321318 // print occupation of each band
322319 if (iter == 1 && istep <= 2 )
323320 {
324- GlobalV::ofs_running << " ---------------------------------------------------------"
325- << std::endl;
326- GlobalV::ofs_running << " occupations of electrons" << std::endl;
327- GlobalV::ofs_running << " k-point state occupation" << std::endl;
321+ GlobalV::ofs_running << " k-point State Occupations" << std::endl;
328322 GlobalV::ofs_running << std::setiosflags (std::ios::showpoint);
329323 GlobalV::ofs_running << std::left;
330324 std::setprecision (6 );
@@ -337,8 +331,6 @@ void ESolver_KS_LCAO_TDDFT<TR, Device>::iter_finish(
337331 << std::setw (12 ) << this ->pelec ->wg (ik, ib) << std::endl;
338332 }
339333 }
340- GlobalV::ofs_running << " ---------------------------------------------------------"
341- << std::endl;
342334 }
343335
344336 ESolver_KS_LCAO<std::complex <double >, TR>::iter_finish (ucell, istep, iter, conv_esolver);
@@ -471,32 +463,6 @@ void ESolver_KS_LCAO_TDDFT<TR, Device>::update_pot(UnitCell& ucell,
471463 }
472464 }
473465
474- // print "eigen value" for tddft
475- // it seems uncessary to print out E_ii because the band energies are printed
476- /*
477- if (conv_esolver)
478- {
479- GlobalV::ofs_running << "----------------------------------------------------------"
480- << std::endl;
481- GlobalV::ofs_running << " Print E=<psi_i|H|psi_i> " << std::endl;
482- GlobalV::ofs_running << " k-point state energy (eV)" << std::endl;
483- GlobalV::ofs_running << "----------------------------------------------------------"
484- << std::endl;
485- GlobalV::ofs_running << std::setprecision(6);
486- GlobalV::ofs_running << std::setiosflags(std::ios::showpoint);
487-
488- for (int ik = 0; ik < this->kv.get_nks(); ik++)
489- {
490- for (int ib = 0; ib < PARAM.inp.nbands; ib++)
491- {
492- GlobalV::ofs_running << " " << std::setw(7) << ik + 1
493- << std::setw(7) << ib + 1
494- << std::setw(10) << this->pelec->ekb(ik, ib) * ModuleBase::Ry_to_eV
495- << std::endl;
496- }
497- }
498- }
499- */
500466}
501467
502468template <typename TR, typename Device>
@@ -555,7 +521,7 @@ void ESolver_KS_LCAO_TDDFT<TR, Device>::after_scf(UnitCell& ucell, const int ist
555521 }
556522 }
557523 // (3) output energy for sub loop
558- std::cout << " Potential (Ry): " << std::setprecision (15 ) << this ->pelec ->f_en .etot <<std::endl;
524+ std::cout << " Potential (Ry): " << std::setprecision (15 ) << this ->pelec ->f_en .etot <<std::endl;
559525
560526 // (4) output file for restart
561527 if (istep % PARAM.inp .out_interval == 0 )
0 commit comments