<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span class="x_elementToProof" style="font-size:12pt;margin:0px;background-color:rgb(255, 255, 255)">Dear Wien2k community</span>
<div class="x_elementToProof" style="font-size:12pt;margin:0px;background-color:rgb(255, 255, 255)">
<br>
</div>
<div class="x_elementToProof" style="font-size:12pt;margin:0px;background-color:rgb(255, 255, 255)">
It seems there is a bug in dipan.f.</div>
<div class="x_elementToProof" style="font-size:12pt;margin:0px;background-color:rgb(255, 255, 255)">
<br>
</div>
<div class="x_elementToProof" style="font-size:12pt;margin:0px;background-color:rgb(255, 255, 255)">
In line 341,  dipole anisotropy energy is defined as</div>
<div class="x_elementToProof" style="font-size:12pt;margin:0px;background-color:rgb(255, 255, 255)">
 <span style="margin:0px">         </span><span style="margin:0px">dipa=-10.**7*(coef_an/(2.*volume))*tmom(jat)*dipf(i)</span></div>
<div class="x_elementToProof" style="font-size:12pt;margin:0px;background-color:rgb(255, 255, 255)">
   </div>
<div class="x_elementToProof" style="font-size:12pt;margin:0px;background-color:rgb(255, 255, 255)">
However, "coef_an" is given as 3.129232 (line 78) that is already</div>
<div class="x_elementToProof" style="font-size:12pt;margin:0px;background-color:rgb(255, 255, 255)">
counted (1/2) factor for the double summation.</div>
<div class="x_elementToProof" style="font-size:12pt;margin:0px;background-color:rgb(255, 255, 255)">
<br>
</div>
<div class="x_elementToProof" style="font-size:12pt;margin:0px;background-color:rgb(255, 255, 255)">
Therefore, I think, dipole anisotropy energy (line 341) should be</div>
<div class="x_elementToProof" style="font-size:12pt;margin:0px;background-color:rgb(255, 255, 255)">
<br>
</div>
<div class="x_elementToProof" style="font-size:12pt;margin:0px;background-color:rgb(255, 255, 255)">
          <span style="margin:0px;background-color:rgb(255, 255, 255);display:inline !important">dipa=-10.**7*(coef_an/(volume))*tmom(jat)*dipf(i)</span></div>
<div class="x_elementToProof" style="font-size:12pt;margin:0px;background-color:rgb(255, 255, 255)">
<br>
</div>
<div class="x_elementToProof" style="font-size:12pt;margin:0px;background-color:rgb(255, 255, 255)">
  without factor 2 in the denominator.</div>
<div class="x_elementToProof" style="font-size:12pt;margin:0px;background-color:rgb(255, 255, 255)">
<br>
</div>
<div class="x_elementToProof" style="font-size:12pt;margin:0px;background-color:rgb(255, 255, 255)">
Best,</div>
<span class="x_elementToProof" style="font-size:12pt;margin:0px;background-color:rgb(255, 255, 255)">Yongbin</span><br>
</div>
</body>
</html>