<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Dear pwscf community,<br>
<br>
I was reading through the epsilon.f90 code and I noticed that (5.2.1 version) at <br>
line 420 we have the following condition<br>
<br>
IF (abs(focc(iband2,ik)-focc(iband1,ik))< 1e-3) CYCLE<br>
<br>
this basically means that the contribution to the dielectric function due to the transitions between<br>
iband2 and iband1 is neglected if the two states have nearly the same occupation. I removed this<br>
condition and noticed that, in some test case, states close to the Fermi level and closely spaced in energy would otherwise contribute a huge amount. This seems to be due to the fact that the denominator of eq. 10 ( epsilon.x manual ) becomes close to zero.<br>
<br>
I would like to ask experts of pwscf and epsilon.x, in particular, if the CYCLE condition was introduced for any specific physical or numerical reason and why it is safe to proceed this way.<br>
<br>
Thank you very much for your attention and have a nice day.<br>
<br>
Roberto Gaspari<br>
Ph.D.<br>
Compunet-Istituto Italiano di Tecnologia<br>
<br>
<br>
</div>
</body>
</html>