Skip to content

Commit a6172e5

Browse files
committed
fix
1 parent a21959d commit a6172e5

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

source/source_io/td_current_io.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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
{

source/source_lcao/module_operator_lcao/td_pot_hybrid.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ void hamilt::TD_pot_hybrid<hamilt::OperatorLCAO<TK, TR>>::init_td()
238238
template <typename TK, typename TR>
239239
void hamilt::TD_pot_hybrid<hamilt::OperatorLCAO<TK, TR>>::update_td()
240240
{
241-
//std::cout<<"hybrid gague" <<std::endl;
241+
//std::cout<<"hybrid gauge" <<std::endl;
242242
this->cart_At = TD_info::cart_At;
243243
//std::cout<<"At: "<< TD_info::td_vel_op->cart_At[0] <<" "<<TD_info::td_vel_op->cart_At[1]<<" "<<TD_info::td_vel_op->cart_At[2]<<" "<<std::endl;
244244
Et = elecstate::H_TDDFT_pw::Et;

source/source_lcao/module_rt/td_folding.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ void folding_HR_td(const hamilt::HContainer<TR>& hR,
2121
const ModuleBase::Vector3<int> r_index = tmp.get_R_index(ir);
2222

2323
//new
24-
//cal tddft phase for hybrid gague
24+
//cal tddft phase for hybrid gauge
2525
const int iat1 = tmp.get_atom_i();
2626
const int iat2 = tmp.get_atom_j();
2727
ModuleBase::Vector3<double> dtau = ucell->cal_dtau(iat1, iat2, r_index);

source/source_lcao/module_rt/td_folding.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include "source_base/abfs-vector3_order.h"
55

66
namespace module_rt{
7-
// folding HR to hk, for hybrid gague
7+
// folding HR to hk, for hybrid gauge
88
template<typename TR>
99
void folding_HR_td(const hamilt::HContainer<TR>& hR,
1010
std::complex<double>* hk,

0 commit comments

Comments
 (0)