@@ -40,6 +40,9 @@ void Input::Print(const std::string &fn)const
4040 ModuleBase::GlobalFunc::OUTP (ofs," symmetry_prec" ,symmetry_prec," accuracy for symmetry" ); // LiuXh add 2021-08-12, accuracy for symmetry
4141 ModuleBase::GlobalFunc::OUTP (ofs," nelec" ,nelec," input number of electrons" );
4242 ModuleBase::GlobalFunc::OUTP (ofs," tot_magnetization" ,tot_magnetization," total magnetization of the system" );
43+ ModuleBase::GlobalFunc::OUTP (ofs," mulliken" , GlobalV::mulliken," mulliken charge or not" );// qifeng add 2019/9/10
44+ ModuleBase::GlobalFunc::OUTP (ofs," noncolin" ,noncolin," using non-collinear-spin" );
45+ ModuleBase::GlobalFunc::OUTP (ofs," lspinorb" ,lspinorb," consider the spin-orbit interaction" );
4346
4447 ofs << " \n #Parameters (2.PW)" << std::endl;
4548 ModuleBase::GlobalFunc::OUTP (ofs," ecutwfc" ,ecutwfc," #energy cutoff for wave functions" );
@@ -205,16 +208,6 @@ void Input::Print(const std::string &fn)const
205208 << vdw_period.z << " #periods of periodic structure" << std::endl;
206209
207210
208- ofs << " \n #Parameters (14.spectrum)" << std::endl; // pengfei Li add 2016-11-23
209- ModuleBase::GlobalFunc::OUTP (ofs," ocp" ,GlobalV::ocp," change occupation or not" );
210- ModuleBase::GlobalFunc::OUTP (ofs," ocp_set" ,GlobalV::ocp_set," set occupation" );
211- ModuleBase::GlobalFunc::OUTP (ofs," mulliken" , GlobalV::mulliken," mulliken charge or not" );// qifeng add 2019/9/10
212-
213-
214- ModuleBase::GlobalFunc::OUTP (ofs," noncolin" ,noncolin," using non-collinear-spin" );
215- ModuleBase::GlobalFunc::OUTP (ofs," lspinorb" ,lspinorb," consider the spin-orbit interaction" );
216-
217-
218211 ofs << " \n #Parameters (14.exx)" << std::endl;
219212 ModuleBase::GlobalFunc::OUTP (ofs," dft_functional" ,dft_functional," no, hf, pbe0, hse or opt_orb" );
220213 ModuleBase::GlobalFunc::OUTP (ofs," exx_hybrid_alpha" ,exx_hybrid_alpha," " );
@@ -249,6 +242,8 @@ void Input::Print(const std::string &fn)const
249242 ModuleBase::GlobalFunc::OUTP (ofs," td_vexttype" ,td_vexttype," extern potential type" );
250243 ModuleBase::GlobalFunc::OUTP (ofs," td_vextout" ,td_vextout," output extern potential or not" );
251244 ModuleBase::GlobalFunc::OUTP (ofs," td_dipoleout" ,td_dipoleout," output dipole or not" );
245+ ModuleBase::GlobalFunc::OUTP (ofs," ocp" ,GlobalV::ocp," change occupation or not" );
246+ ModuleBase::GlobalFunc::OUTP (ofs," ocp_set" ,GlobalV::ocp_set," set occupation" );
252247
253248
254249 ofs << " \n #Parameters (17.berry_wannier)" << std::endl;
0 commit comments