RPA calculation gives IPA response

Deals with issues related to computation of optical spectra in reciprocal space: RPA, TDDFT, local field effects.

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan

Post Reply
lilian
Posts: 3
Joined: Fri Apr 18, 2025 10:37 am

RPA calculation gives IPA response

Post by lilian » 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.
plot_RPA_IPA_eels.png
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)
You do not have the required permissions to view the files attached to this post.
Lilian Khelladi
Commissariat à l'Energie Atomique et aux Energies Alternatives (CEA), Paris, France

User avatar
Daniele Varsano
Posts: 4198
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: RPA calculation gives IPA response

Post by Daniele Varsano » Thu Apr 24, 2025 8:36 am

Dear Lilian,

please note that B=1 RL is not exactly the IP response, but in this case a scalar Dyson equation is solved. The IP is anyway always reported in the output in last column.
Having said that, your results are rather unusual, can you please post the input/output/report files of your calculations?

Best,

Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

lilian
Posts: 3
Joined: Fri Apr 18, 2025 10:37 am

Re: RPA calculation gives IPA response

Post by lilian » Fri Apr 25, 2025 11:17 am

Dear Daniele,

Thank you for your answer.
I have attached the inputs, outputs and reports of the three cases shown in the figure in the first post, as well as the QE inputs.

Many thanks in advance!
You do not have the required permissions to view the files attached to this post.
Lilian Khelladi
Commissariat à l'Energie Atomique et aux Energies Alternatives (CEA), Paris, France

Post Reply