<html xmlns:v="urn:schemas-microsoft-com:vml" 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=us-ascii">
<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;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML \9884\8BBE\683C\5F0F \5B57\7B26";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;}
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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:DengXian;
        color:windowtext;}
span.HTML
        {mso-style-name:"HTML \9884\8BBE\683C\5F0F \5B57\7B26";
        mso-style-priority:99;
        mso-style-link:"HTML \9884\8BBE\683C\5F0F";
        font-family:SimSun;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:DengXian;}
/* 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><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ZH-CN" link="#0563C1" vlink="#954F72" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Dear Wien experts,<o:p></o:p></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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">During the calculation, I constructed the case.in5 file first and then did ‘x lapw5’. I used ‘VAL’ in case.in5 for valence charge density calculation and ‘TOT’ for total charge density.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Also, I found in both cases, the lapw5.def files are the same as follows:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">5 ,'TiC.in5', 'old',    'formatted',0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">6 ,'TiC.output5',   'unknown','formatted',0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">8 ,'TiC.struct',    'old',    'formatted',0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:yellow;mso-highlight:yellow">9 ,'TiC.clmval',    'old',    'formatted',0</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">10,'TiC.tmp',       'unknown','unformatted',0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:yellow;mso-highlight:yellow">11,'TiC.clmvaldn',  'unknown','formatted',0</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">12,'TiC.sigma',     'unknown','formatted',0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">20,'TiC.rho_onedim','unknown','formatted',0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">21,'TiC.rho',       'unknown','formatted',0<o:p></o:p></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:<o:p></o:p></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=’TOT’.<o:p></o:p></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:<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:0cm"><span lang="EN-US">$ x lapw5 -d<o:p></o:p></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 ‘case.clmval’ in lapw5.def to ‘case.clmsum’.<o:p></o:p></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:<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:0cm"><span lang="EN-US">$ lapw5 lapw5.def<o:p></o:p></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 ‘x lapw5 -d’ always generate a lapw5.def with ‘’ 9, ‘case.clmval’ ‘’ no matter cnorm=’VAL’ or ‘TOT’ in case.in5 ?<o:p></o:p></span></p>
<pre><span lang="EN-US" style="font-size:10.5pt;font-family:DengXian;color:black">I really appreciate if any suggestions.<o:p></o:p></span></pre>
<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<o:p></o:p></span></p>
</div>
</body>
</html>