<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Dear Prof. Blaha,<br><br>Thank you very much for your suggestions which are really helpful to me!<br><br>I have a few&nbsp; trivial questions on these two ways to calculate XAS.<br><br>I have tried to calculate oxygen K edge XAS in ice Ih. I built a supercell and excite one of the oxygen.<br><br>To me, it seems that for HCH we set the 1s occupation number to be 1.5 (case.inc) and put the half electron in the background (case.inm). Then why for FCH, we have to put the one electron in the valence band (case.in2), not in the background this time? What is the difference between they two?<br><br>I have attached part of my case.in2c file:<br>TOT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (TOT,FOR,QTL,EFG,FERMI)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -9.0&nbsp;&nbsp;&nbsp;&nbsp; 512.0 0.50
 0.05&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EMIN, NE, ESEPERMIN, ESEPER0<br>TETRA&nbsp;&nbsp;&nbsp; 0.000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (GAUSS,ROOT,TEMP,TETRA,ALL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eval)<br>&nbsp; 0 0&nbsp; 1 0&nbsp; 1 1 -1 1&nbsp; 2 0&nbsp; 2 1 -2 1&nbsp; 2 2 -2 2&nbsp; 3 0&nbsp; 3 1 -3 1&nbsp; 3 2 -3 2&nbsp; 3 3 -3 3&nbsp; 4 0&nbsp; 4 1 -4 1&nbsp; 4 2 -4 2&nbsp; 4 3 -4 3&nbsp; 4 4 -4 4&nbsp; 5 0&nbsp; 5 1 -5 1&nbsp; 5 2 -5 2&nbsp; 5 3 -5 3&nbsp; 5 4 -5 4&nbsp; 5 5 -5 5&nbsp; 6 0&nbsp; 6 1 -6 1&nbsp; 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in the valence band?<br><br>Best regards<br>Jingyun<br><br><br><pre><br></pre><pre><br></pre></td></tr></table><br>
      <hr size=1> <a href="http://sg.rd.yahoo.com/sg/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/sg/"> New Email names for you! </a> <br>
Get the Email name you&#39;ve always wanted on the new @ymail and @rocketmail.<br>
Hurry before someone else does!