Dear Dr. Daniele Varsano,

Thanks a lot for your help, it works now. I am currently doing some calculation related to the light-matter interaction, and I have found in yambo 4.0.2 revision 90 "Reflectivity # [BSS] Compute reflectivity at normal incidence" flag. I read about Reflectivity at a normal incidence and I found the governed equation is

\frac{E_{ref}}{E_{inc}}=[\frac{n_{m}-n_{inc}}{n_{m}+n_{inc}}]^{2},

where E_{ref} and E_{inc} are reflected and incident electric field respectivly, n_{m} and n_{inc} are the refractiv index of light through incident and refractive medium. Is this equation right ?.

I am looking to calculate the medium refractive index. I got the calculation result of the reflectivity, but I am getting confussed somehow

- Code: Select all
`# E/ev[1] refl /Refl refl0/Refl refl`/Refl`

#

0.000000 0.344289 0.325416 0.344289

0.01202 0.34429 0.32542 0.34429

let me formulate what I want to understand in questions

1) what is the title of every columes mean?

2)How can I get the refractive index of the medium from this result ?

3) can you provide me with any refrence or paper shows that the way of calculating reflectivity in yambo?

Thank you in advance.

Best regards,