@@ -180,7 +180,7 @@ void ESolver_FP::after_scf(UnitCell& ucell, const int istep, const bool conv_eso
180180 {
181181 this ->pw_rhod ->real2recip (this ->chr .rho_save [is], this ->chr .rhog_save [is]);
182182
183- std::string fn =PARAM.globalv .global_out_dir + " / chg" ;
183+ std::string fn =PARAM.globalv .global_out_dir + " chg" ;
184184
185185 std::string spin_block;
186186 if (PARAM.inp .nspin == 2 || PARAM.inp .nspin == 4 )
@@ -207,7 +207,7 @@ void ESolver_FP::after_scf(UnitCell& ucell, const int istep, const bool conv_eso
207207
208208 if (XC_Functional::get_ked_flag ())
209209 {
210- fn = PARAM.globalv .global_out_dir + " / tau" ;
210+ fn = PARAM.globalv .global_out_dir + " tau" ;
211211
212212 fn += spin_block + " .cube" ;
213213
@@ -228,7 +228,7 @@ void ESolver_FP::after_scf(UnitCell& ucell, const int istep, const bool conv_eso
228228 {
229229 for (int is = 0 ; is < PARAM.inp .nspin ; is++)
230230 {
231- std::string fn =PARAM.globalv .global_out_dir + " / pot" ;
231+ std::string fn =PARAM.globalv .global_out_dir + " pot" ;
232232
233233 std::string spin_block;
234234 if (PARAM.inp .nspin == 2 || PARAM.inp .nspin == 4 )
@@ -256,7 +256,7 @@ void ESolver_FP::after_scf(UnitCell& ucell, const int istep, const bool conv_eso
256256 }
257257 else if (PARAM.inp .out_pot == 2 )
258258 {
259- std::string fn =PARAM.globalv .global_out_dir + " / pot_es.cube" ;
259+ std::string fn =PARAM.globalv .global_out_dir + " pot_es.cube" ;
260260 ModuleIO::write_elecstat_pot (
261261#ifdef __MPI
262262 this ->pw_big ->bz ,
@@ -398,7 +398,7 @@ void ESolver_FP::before_scf(UnitCell& ucell, const int istep)
398398 for (int is = 0 ; is < PARAM.inp .nspin ; is++)
399399 {
400400 std::stringstream ss;
401- ss << PARAM.globalv .global_out_dir << " / chgs" << is + 1 << " _ini.cube" ;
401+ ss << PARAM.globalv .global_out_dir << " chgs" << is + 1 << " _ini.cube" ;
402402 ModuleIO::write_vdata_palgrid (this ->Pgrid ,
403403 this ->chr .rho [is],
404404 is,
0 commit comments