Dear Amos,
Thank you for your information. In that case, you may need to construct by hand the new charge density by summing over u^*_{nk}(r) u_{nk}(r) for all occupied states, as well as write accordingly into the QE format.
Or, if you know that the pp.x process does not actually involve any charge density properties, for example, you are just plotting the projected wavefunctions (only depends on wavefunctions), then reading charge-density is simply just a procedural requirement
with no actual consequences. In this case, you can just pass in the old charge density.
Best,
Zhenglu
From: Amos Afugu <amosa...@gmail.com>
Sent: Tuesday, August 13, 2024 9:50 AM
To: BerkeleyGW Help <he...@berkeleygw.org>
Subject: How to Convert Wavefunction files to Charge-density.hdf5 readable by Quantum Espresso pp.x