-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wave function in real space can't reproduce charge density from CHGCAR #9
Comments
Hi Yes, there is a difference between VASP PARCHG and the charge density calculated by my script. The reason is that may code only deals with WAVECAR file, which contains only the information of the pseudo-wavefunction. Therefore, the charge density obtained by my code is the pseudo-charge density, which does not include the charge density within the PAW augmentation sphere. On the other hand, if you look into the source code of VASP, e.g. line 1193, pardens.F vasp.5.4.4, you could see that VASP call the DEPLE subroutine, which is defined in line 2748 of us.F and adds the augmentation-density to the pseudo charge density. Best |
Hi Qijing,
That makes much more sense, thank you very much for your reply!
Thanks!
Qian
…On Thu, Apr 30, 2020 at 3:13 AM 郑奇靖 ***@***.***> wrote:
Hi
Yes, there is a difference between VASP PARCHG and the charge density
calculated by my script.
The reason is that may code only deals with WAVECAR file, which contains
only the information of the pseudo-wavefunction. Therefore, the charge
density obtained by my code is the pseudo-charge density, which does not
include the charge density within the PAW augmentation sphere. On the other
hand, if you look into the source code of VASP, e.g. line 1193, pardens.F
vasp.5.4.4, you could see that VASP call the DEPLE subroutine, which is
defined in line 2748 of us.F and adds the augmentation-density to the
pseudo charge density.
Best
Qijing
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APKOLZHEUN3KTYRGTOC5SQ3RPEXLHANCNFSM4MQMJ3XA>
.
--
Qian Meng
Graduate Research Assistant
Laboratory for Advanced Semiconductor Epitaxy (LASE)
Department of Electrical and Computer Engineering
The University of Texas at Austin
E-mail: [email protected]
Mobile: 512-203-9157
|
Hi Qijing,
Thanks for sharing the code with us. My team is recently working on extracting wave functions in real space using your code vaspwfc. And we check the 2-atom GaAs in rho cell. Since the |real part|^2+|imginary part|^2 of the wave function is the charge density, we compared the charge density calculated by the wave function and PARCHG generated by VASP itself for GaAs conduction band minimum. Here's the result we get.
charge density calculated by |real part|^2+|imginary part|^2
charge density by PARCHG at Gamma point pf conduction band minimum.
Do you know why there's a difference? Also, I can provide sample files if you would like.
Thank you very much again!
Qian
The text was updated successfully, but these errors were encountered: