Dear Andrea and Gabriele,<div><br></div><div>First, let me thank both of you for your valuable comments and feedbacks. </div><div>As suggested by Andrea, I used bands.x with lsigma=.true. . It seems to be working. Now I can see the results for Mx, My and Mz components of magnetization. However, something seems to be wrong. The magnetization which I get for the same band but at k and -k are exactly the same. Due to the strong spin-orbit coupling, I am expecting that the direction of magnetization at k becomes opposite to that at -k. Is it due to some symmetry constraints, which I might have not turned off during the SCF and NSCF calculations? Any idea?</div>
<div><br></div><div>Looking forward for your response,</div><div>Saeed</div><div><br><div class="gmail_quote">On Mon, Jan 17, 2011 at 7:55 PM, Andrea Dal Corso <span dir="ltr">&lt;<a href="mailto:dalcorso@sissa.it">dalcorso@sissa.it</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
On Mon, 2011-01-17 at 11:48 +0100, Gabriele Sclauzero wrote:<br>
&gt; Hi Soroush<br>
&gt;<br>
&gt; On 01/15/2011 02:50 PM, soroush pakseresht wrote:<br>
&gt; &gt; Hi everybody,<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Can anybody tell me how I can calculate the magnetization<br>
&gt; &gt; M=M(Mx,My,Mz) for a system with spin-orbit coupling.<br>
&gt;<br>
&gt; Usually the three components of the total non-collinear magnetization<br>
&gt; are printed at the end of the calculation, e.g.<br>
&gt;<br>
&gt;      The total energy is the sum of the following terms:<br>
&gt;<br>
&gt;      one-electron contribution =   -90.33299784 Ry<br>
&gt;      hartree contribution      =    49.63924278 Ry<br>
&gt;      xc contribution           =   -28.28794844 Ry<br>
&gt;      ewald contribution        =    -0.25003496 Ry<br>
&gt;      smearing contrib. (-TS)   =    -0.00000505 Ry<br>
&gt;<br>
&gt;      total magnetization       =     0.00     0.00     0.11 Bohr<br>
&gt; mag/cell<br>
&gt;      absolute magnetization    =     0.11 Bohr mag/cell<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &gt; I&#39;d like to know the total value of Mx, My, Mz for each band at a<br>
&gt; &gt; given kpoint.<br>
&gt; &gt;<br>
&gt;<br>
<br>
</div>You can use the program bands.x with the flag lsigma=.true. .<br>
Please check INPUT_BANDS for more info.<br>
<br>
HTH<br>
<br>
Andrea<br>
<div><div></div><div class="h5"><br>
<br>
&gt; What you&#39;re asking for is somehow the magnetization carried by the<br>
&gt; individual KS eigenstates. I think that for this you&#39;ll have to modify<br>
&gt; the PWscf or PostProc code. For instance you could start from pp.x and<br>
&gt; modify the option plot_num=7 by performing the integral of the<br>
&gt; resulting spin-density over the whole unit cell (should be the sum<br>
&gt; over the FFT components, perhaps multiplied by some normalization<br>
&gt; factor).<br>
&gt; Maybe it&#39;s easier to implement this directly in PWscf. At the moment<br>
&gt; the code first computes the total spin-density (which is the sum over<br>
&gt; bands and k-points of the individual KS densities) in sum_band.f90<br>
&gt; (search for &#39;domag&#39;) and then the magnetization by integrating the<br>
&gt; components of the spin-density (see compute_magnetization in<br>
&gt; PW/electrons.f90). You can modify sum_band.f90 by adding a call to a<br>
&gt; function analogous to compute_magnetization but for each single KS<br>
&gt; state.<br>
&gt;<br>
&gt;<br>
&gt; HTH<br>
&gt;<br>
&gt; GS<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Thanks<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Soroush Pakseresht<br>
&gt; &gt; Advanced Science Institute (RIKEN)<br>
&gt; &gt; Saitama-Japan<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Pw_forum mailing list<br>
&gt; &gt; <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
&gt; &gt; <a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; Gabriele Sclauzero, EPFL SB ITP CSEA<br>
&gt; PH H2 462, Station 3, CH-1015 Lausanne<br>
&gt; _______________________________________________<br>
&gt; Pw_forum mailing list<br>
&gt; <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
&gt; <a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
--<br>
</div></div><font color="#888888">Andrea Dal Corso                    Tel. 0039-040-3787428<br>
SISSA, Via Bonomea 265              Fax. 0039-040-3787249<br>
I-34136 Trieste (Italy)             e-mail: <a href="mailto:dalcorso@sissa.it">dalcorso@sissa.it</a><br>
</font><div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Soroush Pakseresht<div>Advanced Science Institute (RIKEN)</div><div>Saitama-Japan</div><br>
</div>