1010#include " module_elecstate/module_charge/symmetry_rho.h"
1111#include " module_hamilt_general/module_xc/xc_functional.h"
1212#include " module_hamilt_pw/hamilt_pwdft/parallel_grid.h"
13- #include " module_io/read_wfc_to_rho .h"
13+ #include " module_io/read_wf2rho_pw .h"
1414#include " module_io/write_wfc_pw.h"
1515#include " module_parameter/parameter.h"
1616#include " module_psi/psi.h"
@@ -87,7 +87,7 @@ Parallel_Grid Pgrid;
8787/* *
8888 * - Tested Functions:
8989 * - write_wfc_pw()
90- * - read_wfc_to_rho ()
90+ * - read_wf2rho_pw ()
9191 */
9292
9393class ReadWfcRhoTest : public ::testing::Test
@@ -222,7 +222,7 @@ TEST_F(ReadWfcRhoTest, ReadWfcRho)
222222 ModuleIO::write_wfc_pw (" WAVEFUNC" , *psi, *kv, wfcpw);
223223
224224 // Read the wave functions to charge density
225- ModuleIO::read_wfc_to_rho (wfcpw, symm, kv->ik2iktot .data (), nkstot, kv->isk , chg);
225+ ModuleIO::read_wf2rho_pw (wfcpw, symm, kv->ik2iktot .data (), nkstot, kv->isk , chg);
226226
227227 // compare the charge density
228228 for (int ir = 0 ; ir < rhopw->nrxx ; ++ir)
@@ -292,4 +292,4 @@ int main(int argc, char** argv)
292292 finishmpi ();
293293#endif
294294 return result;
295- }
295+ }
0 commit comments