<div dir="ltr">Greetings Developers,<div><br></div><div>I am new to developing QE code and want to understand how it works internally. I was trying to understand how the epsilon.f90 module works. I got stuck on how these two lines of code were used in the SUBROUTINE dipole_calc:</div><div><br></div><div>caux = caux + conjg(evc(ig+npwx,iband1))*evc(ig+npwx,iband1)</div><div>dipole_aux(:,iband1,iband1) = dipole_aux(:,iband1,iband1) + ( g(:,igk_k(ig,ik))+ xk(:,ik) ) * caux</div><div><br></div><div>I couldn't understand this relation between the dipole matrix element dipole_aux and the reciprocal lattice vector g(:,igk_k(ig,ik))+ xk(:,ik).</div><div><br></div><div>I even read the epsilon.x user manual trying to understand the underlying maths behind this code. I ultimately want to know the mathematical relation between the epsilon and the reciprocal lattice vector g(:,igk_k(ig,ik))+ xk(:,ik) that is used in this module. </div><div><br></div><div>If anyone can please direct me to any source material, developer guide or papers, it would be great! <br><br>Regards,</div><div>Yuvam<br><br><br></div><br><div id="mt-signature">
<table border="0" cellpadding="8" cellspacing="0" style="user-select: none;">
<tbody><tr style="display:flex">
<td style="padding:0 4px 0 0">
<img src="https://s3.amazonaws.com/mailtrack-signature/logo-grey.png" alt="Mailsuite" class="" width="24" height="20">
</td>
<td style="padding:0 10px 0 0">
<span style="color:#333;font-size:12px;font-family:Inter,sans-serif;font-weight:400;line-height:185%">Sent with Mailsuite · <a href="https://mailtrack.io/en/privacy/opt-out/unsubscribe/f25ff0520c7f92862d90d119d4400efddaa1e655/19cb2954a06300aee416bd56de996ea5c49869f220cc31212c189ece974e5217ef8dd41e208e76c2a715be79bf8d92293c5012d43e2f986377966e2b75e63ca1" target="_blank" style="color:#666;font-size:11px;font-family:Inter,sans-serif;font-weight:400;line-height:185%">Unsubscribe</a></span><br>
</td>
<td><span style="color:transparent;font-size:0">09/25/24, 02:16:37 AM</span></td>
</tr>
</tbody></table>
</div><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/f25ff0520c7f92862d90d119d4400efddaa1e655.png?u=7297304"></div>