<div dir="ltr">Dear all,<div><br></div><div>We are trying to map the g-vectors to the coefficients of a wave function (in order to extrapolate to its asymptotic value in vacuum for some STM image simulation). After looking into some of the related codes in PP I am still struggling and I am hoping someone with better knowledge can help me out. </div><div><br></div><div>What we got now is that the coefficient and wave functions map as follows when using the definitions as in wfck2r.f90</div><div><br></div><div>Coeff (dfftp%nl(igk_k(i,kp)))=evc (i, iband) </div><div><br></div><div>(i goes from 1 to ngk for every k-point kp). Then we thought the g-vectors would map as</div><div><br></div><div>g1(dfftp%nl(igk_k(i,kp))) = g (1, igk_k(i,kp))  </div><div><br></div><div>for the first component of the g-vector but that does not seem to be the right way. Can anyone help me out with this?</div><div><br></div><div>Thanks in advance for your help and have a nice weekend!</div><div><br></div><div>Chris <br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Postdoctoral Researcher<br>Center for Quantum Nanoscience, Institute for Basic Science<br>Ewha Womans University, Seoul, South Korea<blockquote type="cite" style="font-size:12.8px"><div dir="ltr"><div><div dir="ltr"></div></div></div></blockquote></div></div></div></div>