<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:DengXian;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-indent:21.0pt;
        font-size:10.5pt;
        font-family:DengXian;}
.MsoChpDefault
        {mso-style-type:export-only;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:51542836;
        mso-list-type:hybrid;
        mso-list-template-ids:682028406 -479688448 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"\(%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:18.0pt;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%2\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:42.0pt;
        text-indent:-21.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:63.0pt;
        text-indent:-21.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:84.0pt;
        text-indent:-21.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%5\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:105.0pt;
        text-indent:-21.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:126.0pt;
        text-indent:-21.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:147.0pt;
        text-indent:-21.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%8\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:168.0pt;
        text-indent:-21.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:189.0pt;
        text-indent:-21.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style>
</head>
<body lang="ZH-CN">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Dear All,</span></p>
<p class="MsoNormal"><span lang="EN-US">When I calculated charge densities of cubic TiC using lapw5 in WIEN2k 13.1, I found the valence charge density is bigger than the total charge density.</span></p>
<p class="MsoNormal"><span lang="EN-US">During the calculation, I constructed the case.in5 file first and then did
</span>‘<span lang="EN-US">x lapw5</span>’<span lang="EN-US">. I used </span>‘<span lang="EN-US">VAL</span>’<span lang="EN-US"> in case.in5 for valence charge density calculation and
</span>‘<span lang="EN-US">TOT</span>’<span lang="EN-US"> for total charge density.</span></p>
<p class="MsoNormal"><span lang="EN-US">Also, I found in both cases, the lapw5.def files are the same as follows:</span></p>
<p class="MsoNormal"><span lang="EN-US">5 ,'TiC.in5', 'old',    'formatted',0</span></p>
<p class="MsoNormal"><span lang="EN-US">6 ,'TiC.output5',   'unknown','formatted',0</span></p>
<p class="MsoNormal"><span lang="EN-US">8 ,'TiC.struct',    'old',    'formatted',0</span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:yellow;mso-highlight:yellow">9 ,'TiC.clmval',    'old',    'formatted',0</span></p>
<p class="MsoNormal"><span lang="EN-US">10,'TiC.tmp',       'unknown','unformatted',0</span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:yellow;mso-highlight:yellow">11,'TiC.clmvaldn',  'unknown','formatted',0</span></p>
<p class="MsoNormal"><span lang="EN-US">12,'TiC.sigma',     'unknown','formatted',0</span></p>
<p class="MsoNormal"><span lang="EN-US">20,'TiC.rho_onedim','unknown','formatted',0</span></p>
<p class="MsoNormal"><span lang="EN-US">21,'TiC.rho',       'unknown','formatted',0</span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">However, when I used the following steps to get the total charge density, the result seemed to be right:</span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span lang="EN-US"><span style="mso-list:Ignore">(1)<span style="font:7.0pt "Times New Roman"">  
</span></span></span><![endif]><span lang="EN-US">Construct case.in5 file with cnorm=</span>’<span lang="EN-US">TOT</span>’<span lang="EN-US">.</span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span lang="EN-US"><span style="mso-list:Ignore">(2)<span style="font:7.0pt "Times New Roman"">  
</span></span></span><![endif]><span lang="EN-US">Construct lapw5.def:</span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:0cm"><span lang="EN-US">$ x lapw5 -d</span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span lang="EN-US"><span style="mso-list:Ignore">(3)<span style="font:7.0pt "Times New Roman"">  
</span></span></span><![endif]><span lang="EN-US">Change the </span>‘<span lang="EN-US">case.clmval</span>’<span lang="EN-US"> in lapw5.def to
</span>‘<span lang="EN-US">case.clmsum</span>’<span lang="EN-US">.</span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span lang="EN-US"><span style="mso-list:Ignore">(4)<span style="font:7.0pt "Times New Roman"">  
</span></span></span><![endif]><span lang="EN-US">Do the calculaton:</span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:0cm"><span lang="EN-US">$ lapw5 lapw5.def</span></p>
<p class="MsoNormal"><span lang="EN-US">So, I wonder if the steps above are right and how does the lapw5 works ? Why the command
</span>‘<span lang="EN-US">x lapw5 -d</span>’<span lang="EN-US"> always generate a lapw5.def with
</span>‘’<span lang="EN-US"> 9, </span>‘<span lang="EN-US">case.clmval</span>’ ‘’<span lang="EN-US"> no matter cnorm=</span>’<span lang="EN-US">VAL</span>’<span lang="EN-US"> or
</span>‘<span lang="EN-US">TOT</span>’<span lang="EN-US"> in case.in5 ?</span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US" style="color:black">Best regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Haozhi Sha</span></p>
</div>
</body>
</html>