Page 1 of 1

writing \chi_0(q, G=G'=0) and rho(q, G=0)

Posted: Thu Nov 22, 2018 3:55 pm
by sky-zhou
Dear Yamboo developer,

I want to write the independent-particle response function at G=G'=0, i.e., \chi_0(q, G=G'=0), and the oscillator strength rho defined as rho(q)=<k1,b1|e^{- iqr}| k2, b2>. Could you please how can I find them? I am a new Yambo user. I found in routine "vi src/wf_and_fft/scatter_Bamp.F" rho is difined as "rhotw(G)=<ib ik_is i_sp| e^[I(RsG-G0).r] | ob ok_os o_sp>", thus I would like to print ib, ik_is, , ob, ok_os, rhotw(G=0).
Thank you very much in advance!

Cheers,

Sky

Re: writing \chi_0(q, G=G'=0) and rho(q, G=0)

Posted: Fri Nov 23, 2018 9:34 am
by claudio
Dear Sky

dipole matrix elements are calculated in

src/pol_function/DIPOLE_driver.F

while the dielectric constant is constructed in

src/pol_function/X_irredux.F

best
claudio