Skip to content

Commit ba64a15

Browse files
authored
Fix: remove gamma_only_local as para of write_rhog (#6733)
1 parent f5baedd commit ba64a15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/source_esolver/esolver_fp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ void ESolver_FP::iter_finish(UnitCell& ucell, const int istep, int& iter, bool&
161161
this->pw_rhod->real2recip(this->chr.rho_save[is], this->chr.rhog_save[is]);
162162
}
163163
ModuleIO::write_rhog(PARAM.globalv.global_out_dir + PARAM.inp.suffix + "-CHARGE-DENSITY.restart",
164-
PARAM.globalv.gamma_only_pw || PARAM.globalv.gamma_only_local,
164+
PARAM.globalv.gamma_only_pw,
165165
this->pw_rhod,
166166
PARAM.inp.nspin,
167167
ucell.GT,
@@ -180,7 +180,7 @@ void ESolver_FP::iter_finish(UnitCell& ucell, const int istep, int& iter, bool&
180180
this->pw_rhod->real2recip(this->chr.kin_r_save[is], kin_g[is]);
181181
}
182182
ModuleIO::write_rhog(PARAM.globalv.global_out_dir + PARAM.inp.suffix + "-TAU-DENSITY.restart",
183-
PARAM.globalv.gamma_only_pw || PARAM.globalv.gamma_only_local,
183+
PARAM.globalv.gamma_only_pw,
184184
this->pw_rhod,
185185
PARAM.inp.nspin,
186186
ucell.GT,

0 commit comments

Comments
 (0)