@@ -58,7 +58,7 @@ void ModuleIO::write_current(const UnitCell& ucell,
5858 {
5959 if (TD_info::td_vel_op == nullptr )
6060 {
61- ModuleBase::WARNING_QUIT (" ModuleIO::write_current" , " velocity gague infos is null!" );
61+ ModuleBase::WARNING_QUIT (" ModuleIO::write_current" , " velocity gauge infos is null!" );
6262 }
6363 for (int dir = 0 ; dir < 3 ; dir++)
6464 {
@@ -250,7 +250,7 @@ void ModuleIO::cal_tmp_DM_k(const UnitCell& ucell,
250250 double arg_td = 0.0 ;
251251 if (elecstate::H_TDDFT_pw::stype == 2 )
252252 {
253- // cal tddft phase for hybrid gague
253+ // cal tddft phase for hybrid gauge
254254 const int iat1 = tmp_ap_real.get_atom_i ();
255255 const int iat2 = tmp_ap_real.get_atom_j ();
256256 ModuleBase::Vector3<double > dtau = ucell.cal_dtau (iat1, iat2, r_index);
@@ -320,7 +320,7 @@ void ModuleIO::cal_tmp_DM_k(const UnitCell& ucell,
320320 if (elecstate::H_TDDFT_pw::stype == 2 )
321321 {
322322 // new
323- // cal tddft phase for mixing gague
323+ // cal tddft phase for mixing gauge
324324 const int iat1 = tmp_ap_real.get_atom_i ();
325325 const int iat2 = tmp_ap_real.get_atom_j ();
326326 ModuleBase::Vector3<double > dtau = ucell.cal_dtau (iat1, iat2, r_index);
@@ -424,7 +424,7 @@ void ModuleIO::write_current_eachk(const UnitCell& ucell,
424424 {
425425 if (TD_info::td_vel_op == nullptr )
426426 {
427- ModuleBase::WARNING_QUIT (" ModuleIO::write_current" , " velocity gague infos is null!" );
427+ ModuleBase::WARNING_QUIT (" ModuleIO::write_current" , " velocity gauge infos is null!" );
428428 }
429429 for (int dir = 0 ; dir < 3 ; dir++)
430430 {
0 commit comments