Skip to content

Commit 5e83ae5

Browse files
committed
update the function in charge_init.cpp
1 parent c5d01cc commit 5e83ae5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/module_elecstate/module_charge/charge_init.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include "module_hamilt_pw/hamilt_pwdft/parallel_grid.h"
1717
#include "module_io/cube_io.h"
1818
#include "module_io/rhog_io.h"
19-
#include "module_io/read_wfc_to_rho.h"
19+
#include "module_io/read_wf2rho_pw.h"
2020
#ifdef USE_PAW
2121
#include "module_cell/module_paw/paw_cell.h"
2222
#endif
@@ -247,7 +247,7 @@ void Charge::init_rho(elecstate::efermi& eferm_iout,
247247
const K_Vectors* kv = reinterpret_cast<const K_Vectors*>(klist);
248248
const int nkstot = kv->get_nkstot();
249249
const std::vector<int>& isk = kv->isk;
250-
ModuleIO::read_wfc_to_rho(pw_wfc, symm, kv->ik2iktot.data(), nkstot, isk, *this);
250+
ModuleIO::read_wf2rho_pw(pw_wfc, symm, kv->ik2iktot.data(), nkstot, isk, *this);
251251
}
252252
}
253253

0 commit comments

Comments
 (0)