<div>&nbsp;</div>  <div>Dear Prof. P. Blaha,</div>  <div>thank you for your prompt response. Should I do the same thing if I want compute the "difference densities" to see chemical bonding (DIFF option in case.in5)</div>  <div>&nbsp;</div>  <div>&nbsp;</div>  <div>P. Blaha wrote:</div>  <div>&nbsp;</div>  <div>In spinpolarized cases x lapw5 -up&nbsp;&nbsp; reads mandatory from case.clmvalup.<BR>It also tries to read from case.clmvaldn, and if this file is present, it<BR>subtracts (or adds) the density of these two files.<BR>Thus you can easily calculate the "total valence density" (the sum of up+dn)<BR>or the "spin-density (which is the difference of up-dn)<BR><BR>Somebody wanted to plot ONLY the spin-up density. In this case <BR>mv case.clmvaldn case.clmvaldn_save&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (or similar).<BR>x lapw5 -up&nbsp;&nbsp;&nbsp;&nbsp; reads now ONLY clmvalup and thus plots the spin-up density.<BR><BR>And vice versa for spin-dn ...<BR><BR>&gt;<I>&nbsp;&nbsp; I'm
 using WIEN2k_04 for plot the difference charge density for spin-polarized calculation. I searched the mailing and I found this mail from Prof. Blaha in response the an email from a fellow user (see below). What does Prof. Blaha mean when he says rename case.clmvalup (dn)&nbsp; (again see mail below) ? If I do that, I get an error since case..clmvalup (dn) is needed in up uplapw5.def<BR></I>&gt;<I>&nbsp;&nbsp;&nbsp; <BR></I>&gt;<I>&nbsp;&nbsp; BEGIN<BR></I>&gt;<I>&nbsp;&nbsp; =========<BR></I>&gt;<I>&nbsp;&nbsp; P. Blaha wrote:<BR></I>&gt;<I>&nbsp;&nbsp;&nbsp; <BR></I>&gt;<I>&nbsp;&nbsp; When you do a standard charge density plot in WIEN for a spin polarized <BR></I>&gt;<I> case, you will always get the spin-density (as default).<BR></I>&gt;<I> <BR></I>&gt;<I> In order to calculate spin-up or dn densities seperately, you need to <BR></I>&gt;<I> rename case.clmvaldn (or up) to something else (a file with this name <BR></I>&gt;<I> must not be present).<BR></I>&gt;<I>
 <BR></I>&gt;<I> <BR></I>&gt;<I> <BR></I>&gt;<I> &gt; Recently I have studied magnetic systems using spin polarized calculation.<BR></I>&gt;<I> &gt; When I calculate the charge density or spin density contours for spin up and<BR></I>&gt;<I> &gt; spin down population. I find them the same. But when I calculate the<BR></I>&gt;<I> &gt; electronic DOS for spin up and dow, they are different, which agree well with<BR></I>&gt;<I> &gt; the physical interpretaion. I have not find in the litterature the<BR></I>&gt;<I> &gt; interpreation to this result. <BR></I>&gt;<I> &gt; <BR></I>&gt;<I> &gt; Some one can hel me to understand the physical origin of this. I hoe that it<BR></I>&gt;<I> &gt; is not a bug in the w2web presentation. <BR></I>&gt;<I> &gt; <BR></I>&gt;<I> &gt; best regards,<BR></I>&gt;<I> &gt; <BR></I>&gt;<I> &gt; souraya<BR></I>&gt;<I>&nbsp;&nbsp;&nbsp; <BR></I>&gt;<I>&nbsp;&nbsp; =========<BR></I>&gt;<I>&nbsp;&nbsp; END<BR></I>&gt;<I>&nbsp;&nbsp;&nbsp;
 <BR></I>&gt;<I>&nbsp;&nbsp;&nbsp; <BR></I>&gt;<I> <BR></I></div>