Skip to content

Commit a24ecd1

Browse files
committed
Unify wf naming in get_wf_pw
1 parent 4e42f23 commit a24ecd1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/module_io/get_wf_pw.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ void get_wf_pw(const std::vector<int>& out_wfc_norm,
143143
}
144144

145145
std::stringstream ss_file;
146-
ss_file << global_out_dir << "wf" << ib + 1 << "s" << spin_index + 1 << "k" << k_number << ".cube";
146+
ss_file << global_out_dir << "wfi" << ib + 1 << "s" << spin_index + 1 << "k" << k_number << ".cube";
147147

148148
ModuleIO::write_vdata_palgrid(pgrid,
149149
rho_band_norm[spin_index].data(),
@@ -211,7 +211,7 @@ void get_wf_pw(const std::vector<int>& out_wfc_norm,
211211
}
212212

213213
std::stringstream ss_real;
214-
ss_real << global_out_dir << "wf" << ib + 1 << "s" << spin_index + 1 << "k" << k_number << "re.cube";
214+
ss_real << global_out_dir << "wfi" << ib + 1 << "s" << spin_index + 1 << "k" << k_number << "re.cube";
215215

216216
ModuleIO::write_vdata_palgrid(pgrid,
217217
rho_band_re[spin_index].data(),
@@ -226,7 +226,7 @@ void get_wf_pw(const std::vector<int>& out_wfc_norm,
226226
true); // reduce_all_pool is true
227227

228228
std::stringstream ss_imag;
229-
ss_imag << global_out_dir << "wf" << ib + 1 << "s" << spin_index + 1 << "k" << k_number << "im.cube";
229+
ss_imag << global_out_dir << "wfi" << ib + 1 << "s" << spin_index + 1 << "k" << k_number << "im.cube";
230230

231231
ModuleIO::write_vdata_palgrid(pgrid,
232232
rho_band_im[spin_index].data(),

0 commit comments

Comments
 (0)