Are PAW projectors used in .spn file? #19
Replies: 1 comment 1 reply
-
Hello again @stepan-tsirkin! To answer your question, my patch calculates the
I am actually not sure if normalizing the pseudo-wavefunction directly is a good idea. In VASP, the correct moments are recovered by adding the "compensation charges" using the multipole expansion method (see https://journals.aps.org/prb/pdf/10.1103/PhysRevB.59.1758). Directly normalizing the wavefunctions might be problematic. Regrettably, off the top of my head, I don't really have a good idea of calculating the Best, |
Beta Was this translation helpful? Give feedback.
-
Hi @Chengcheng-Xiao
Just one question to make sure my understanding is correct. In your patch, to calculate the spn file is the full PAW wavefunction is used? Or only the plane-wave part - the one given by plane-wave coeficients in the WAVECAR file?
In turn, my utility vaspspn uses only the plane-wave part (written in the WAVECAR) and normalizes it. This is a rough approximation but it used to work qualitatively.
Here @ma455173220 reported wrong results with vaspspn, but good results with your patch. So I want to find out if it is a bug that somehow crawled into vaspspn over time, or is it the issue of using only plane-wave part.
Best,
Stepan.
Beta Was this translation helpful? Give feedback.
All reactions