RPA calculation gives IPA response
Posted: Wed Apr 23, 2025 12:35 pm
Dear developers and users,
I have observed what might be a bug in the RPA response, or at least something I don't understand.
The variable B=NGsBlkXd determines the size of the dielectric matrix. So if you increase this value, local field effects are taken into account more and the response should move further away from the IPA response.
However, above a certain value of B, which from my observations is lower than the number of G-vectors (determined by FFTGvecs) and depends on other parameters of the simulation (such as the k-point grid used in nscf), the RPA calculation gives the same result as the IPA one.
See the attached figure below, where B= 311 RL (black line) is the last case to give the RPA response. After this threshold, and from the next possible value (313 RL) all RPA responses are perfectly superimposed on the IPA curve.
Could you please enlighten me on this behavior, as I don't see any physical sense in the RPA response becoming identical to the IPA response beyond a certain matrix size?
Many thanks in advance!
(I can provide a minimal test upon request)
I have observed what might be a bug in the RPA response, or at least something I don't understand.
The variable B=NGsBlkXd determines the size of the dielectric matrix. So if you increase this value, local field effects are taken into account more and the response should move further away from the IPA response.
However, above a certain value of B, which from my observations is lower than the number of G-vectors (determined by FFTGvecs) and depends on other parameters of the simulation (such as the k-point grid used in nscf), the RPA calculation gives the same result as the IPA one.
See the attached figure below, where B= 311 RL (black line) is the last case to give the RPA response. After this threshold, and from the next possible value (313 RL) all RPA responses are perfectly superimposed on the IPA curve.
Could you please enlighten me on this behavior, as I don't see any physical sense in the RPA response becoming identical to the IPA response beyond a certain matrix size?
Many thanks in advance!
(I can provide a minimal test upon request)