@@ -709,17 +709,7 @@ void ESolver_KS_PW<T, Device>::after_scf(UnitCell& ucell, const int istep, const
709709 }
710710
711711 // ------------------------------------------------------------------
712- // 4) output wavefunctions in pw basis
713- // ------------------------------------------------------------------
714- if (PARAM.inp .out_wfc_pw == 1 || PARAM.inp .out_wfc_pw == 2 )
715- {
716- std::stringstream ssw;
717- ssw << PARAM.globalv .global_out_dir << " WAVEFUNC" ;
718- ModuleIO::write_wfc_pw (ssw.str (), this ->psi [0 ], this ->kv , this ->pw_wfc );
719- }
720-
721- // ------------------------------------------------------------------
722- // 5) calculate band-decomposed (partial) charge density in pw basis
712+ // 4) calculate band-decomposed (partial) charge density in pw basis
723713 // ------------------------------------------------------------------
724714 const std::vector<int > out_pchg = PARAM.inp .out_pchg ;
725715 if (out_pchg.size () > 0 )
@@ -748,7 +738,7 @@ void ESolver_KS_PW<T, Device>::after_scf(UnitCell& ucell, const int istep, const
748738 }
749739
750740 // ------------------------------------------------------------------
751- // ! 6 ) calculate Wannier functions in pw basis
741+ // ! 5 ) calculate Wannier functions in pw basis
752742 // ------------------------------------------------------------------
753743 if (PARAM.inp .calculation == " nscf" && PARAM.inp .towannier90 )
754744 {
@@ -766,7 +756,7 @@ void ESolver_KS_PW<T, Device>::after_scf(UnitCell& ucell, const int istep, const
766756 }
767757
768758 // ------------------------------------------------------------------
769- // ! 7 ) calculate Berry phase polarization in pw basis
759+ // ! 6 ) calculate Berry phase polarization in pw basis
770760 // ------------------------------------------------------------------
771761 if (PARAM.inp .calculation == " nscf" && berryphase::berry_phase_flag && ModuleSymmetry::Symmetry::symm_flag != 1 )
772762 {
@@ -777,7 +767,7 @@ void ESolver_KS_PW<T, Device>::after_scf(UnitCell& ucell, const int istep, const
777767 }
778768
779769 // ------------------------------------------------------------------
780- // 8 ) write spin constrian results in pw basis
770+ // 7 ) write spin constrian results in pw basis
781771 // spin constrain calculations, write atomic magnetization and magnetic force.
782772 // ------------------------------------------------------------------
783773 if (PARAM.inp .sc_mag_switch )
@@ -789,7 +779,7 @@ void ESolver_KS_PW<T, Device>::after_scf(UnitCell& ucell, const int istep, const
789779 }
790780
791781 // ------------------------------------------------------------------
792- // 9 ) write onsite occupations for charge and magnetizations
782+ // 8 ) write onsite occupations for charge and magnetizations
793783 // ------------------------------------------------------------------
794784 if (PARAM.inp .onsite_radius > 0 )
795785 { // float type has not been implemented
0 commit comments