Dear Andrea,<div><br></div><div>You&#39;re totally right. I was confused with the band orderings caused by bands.x. Using &quot;<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">no_overlap=.true.&quot;, everything looks great.</span></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Thank you so much for your helps.</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Sincerely,</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">SP</span></font></div>
<div><br><div class="gmail_quote">On Mon, Jan 17, 2011 at 10:42 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;">
It seems to me that the code is OK. The spin of bands with the same<br>
energy at k and -k is opposite.<br>
<br>
If you want only the spin and not the band ordering you can set<br>
no_overlap=.true.<br>
in the bands.x input.<br>
<br>
HTH<br>
<br>
Andrea<br>
<br>
<br>
<br>
On Mon, 2011-01-17 at 22:34 +0900, soroush pakseresht wrote:<br>
&gt; Dear Andrea,<br>
<div><div></div><div class="h5">&gt;<br>
&gt;<br>
&gt; No, I have no inversion symmetry in my system. So I expect the bands<br>
&gt; at k,up and -k,dn (up,dn:spin) to be the same due to the time reversal<br>
&gt; symmetry.  Let me quote part of my results for spin component 1 (Mx):<br>
&gt;<br>
&gt;<br>
&gt; at k<br>
&gt;   0.013  -0.007   0.108  -0.114  -0.108   0.102  -0.047   0.032<br>
&gt;  -0.073   0.094<br>
&gt;    0.250  -0.250  -0.250   0.250  -0.250   0.250   0.243  -0.246<br>
&gt; 0.085  -0.058<br>
&gt;   -0.050  -0.015  -0.058   0.072   0.048  -0.015  -0.075   0.072<br>
&gt; 0.129  -0.110<br>
&gt;   -0.237   0.215  -0.087   0.085  -0.245   0.248  -0.243   0.244<br>
&gt; 0.249  -0.249<br>
&gt;<br>
&gt;<br>
&gt; at -k<br>
&gt;   -0.013   0.007   0.114  -0.108  -0.102   0.108  -0.032   0.047<br>
&gt; 0.073  -0.094<br>
&gt;    0.250  -0.250  -0.250   0.250  -0.250   0.250   0.246  -0.243<br>
&gt; 0.058  -0.085<br>
&gt;    0.015   0.050  -0.072   0.058   0.015  -0.048  -0.072   0.075<br>
&gt; 0.110  -0.129<br>
&gt;   -0.215   0.237  -0.085   0.087  -0.248   0.245  -0.244   0.243<br>
&gt; 0.249  -0.249<br>
&gt;<br>
&gt;<br>
&gt; I am in particular interested in band #29. As you can see for both k<br>
&gt; and -k they are positive (0.129, 0.110). However, I just found the<br>
&gt; eigen-energies corresponding to band #29 and #30 are just reversed<br>
&gt; between k and -k:<br>
&gt;<br>
&gt;<br>
&gt; at k<br>
&gt;  -18.403 -18.403 -18.394 -18.393 -15.427 -15.426 -15.415 -15.415<br>
&gt; -15.401 -15.401<br>
&gt;   -6.240  -6.236  -5.303  -5.292  -3.535  -3.529   1.548   1.611<br>
&gt; 2.796   2.864<br>
&gt;    3.577   3.637   3.964   4.063   4.482   4.540   4.800   4.833<br>
&gt; 7.649   7.776<br>
&gt;    8.465   8.587   9.257   9.264  10.863  10.866  12.514  12.537<br>
&gt;  13.804  13.824<br>
&gt; at -k<br>
&gt;  -18.403 -18.403 -18.393 -18.394 -15.426 -15.427 -15.415 -15.415<br>
&gt; -15.401 -15.401<br>
&gt;   -6.236  -6.240  -5.292  -5.303  -3.529  -3.535   1.611   1.548<br>
&gt; 2.864   2.796<br>
&gt;    3.637   3.577   4.063   3.964   4.540   4.482   4.833   4.800<br>
&gt; 7.776   7.649<br>
&gt;    8.587   8.465   9.264   9.257  10.866  10.863  12.537  12.514<br>
&gt;  13.824  13.804<br>
&gt;<br>
&gt; As you see, in the former the respective energies of bands #29 and #30<br>
&gt; are  7.649  and  7.776. But for -k, they become 7.776   7.649.<br>
&gt; Apparently the ordering of bands at k and -k are not the same. So I<br>
&gt; guess my mistake was to compare Mx at k with Mx at -k for the same<br>
&gt; band numbers. Do you have any suggestion?<br>
&gt;<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Jan 17, 2011 at 10:08 PM, Andrea Dal Corso &lt;<a href="mailto:dalcorso@sissa.it">dalcorso@sissa.it</a>&gt;<br>
&gt; wrote:<br>
&gt;         Please provide more details. Is there inversion symmetry in<br>
&gt;         your system?<br>
&gt;<br>
&gt;         Andrea<br>
&gt;<br>
&gt;<br>
&gt;         On Mon, 2011-01-17 at 21:13 +0900, soroush pakseresht wrote:<br>
&gt;         &gt; Dear Andrea and Gabriele,<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; First, let me thank both of you for your valuable comments<br>
&gt;         and<br>
&gt;         &gt; feedbacks.<br>
&gt;         &gt; As suggested by Andrea, I used bands.x with lsigma=.true. .<br>
&gt;         It seems<br>
&gt;         &gt; to be working. Now I can see the results for Mx, My and Mz<br>
&gt;         components<br>
&gt;         &gt; of magnetization. However, something seems to be wrong. The<br>
&gt;         &gt; magnetization which I get for the same band but at k and -k<br>
&gt;         are<br>
&gt;         &gt; exactly the same. Due to the strong spin-orbit coupling, I<br>
&gt;         am<br>
&gt;         &gt; expecting that the direction of magnetization at k becomes<br>
&gt;         opposite to<br>
&gt;         &gt; that at -k. Is it due to some symmetry constraints, which I<br>
&gt;         might have<br>
&gt;         &gt; not turned off during the SCF and NSCF calculations? Any<br>
&gt;         idea?<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; Looking forward for your response,<br>
&gt;         &gt; Saeed<br>
&gt;         &gt;<br>
&gt;         &gt; On Mon, Jan 17, 2011 at 7:55 PM, Andrea Dal Corso<br>
&gt;         &lt;<a href="mailto:dalcorso@sissa.it">dalcorso@sissa.it</a>&gt;<br>
&gt;         &gt; wrote:<br>
&gt;         &gt;<br>
&gt;         &gt;         On Mon, 2011-01-17 at 11:48 +0100, Gabriele<br>
&gt;         Sclauzero wrote:<br>
&gt;         &gt;         &gt; Hi Soroush<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; On 01/15/2011 02:50 PM, soroush pakseresht wrote:<br>
&gt;         &gt;         &gt; &gt; Hi everybody,<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt; Can anybody tell me how I can calculate the<br>
&gt;         magnetization<br>
&gt;         &gt;         &gt; &gt; M=M(Mx,My,Mz) for a system with spin-orbit<br>
&gt;         coupling.<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; Usually the three components of the total<br>
&gt;         non-collinear<br>
&gt;         &gt;         magnetization<br>
&gt;         &gt;         &gt; are printed at the end of the calculation, e.g.<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;      The total energy is the sum of the following<br>
&gt;         terms:<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;      one-electron contribution =   -90.33299784 Ry<br>
&gt;         &gt;         &gt;      hartree contribution      =    49.63924278 Ry<br>
&gt;         &gt;         &gt;      xc contribution           =   -28.28794844 Ry<br>
&gt;         &gt;         &gt;      ewald contribution        =    -0.25003496 Ry<br>
&gt;         &gt;         &gt;      smearing contrib. (-TS)   =    -0.00000505 Ry<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;      total magnetization       =     0.00     0.00<br>
&gt;         0.11<br>
&gt;         &gt;         Bohr<br>
&gt;         &gt;         &gt; mag/cell<br>
&gt;         &gt;         &gt;      absolute magnetization    =     0.11 Bohr<br>
&gt;         mag/cell<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; &gt; I&#39;d like to know the total value of Mx, My, Mz<br>
&gt;         for each<br>
&gt;         &gt;         band at a<br>
&gt;         &gt;         &gt; &gt; given kpoint.<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;         You can use the program bands.x with the flag<br>
&gt;         lsigma=.true. .<br>
&gt;         &gt;         Please check INPUT_BANDS for more info.<br>
&gt;         &gt;<br>
&gt;         &gt;         HTH<br>
&gt;         &gt;<br>
&gt;         &gt;         Andrea<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;         &gt; What you&#39;re asking for is somehow the<br>
&gt;         magnetization carried<br>
&gt;         &gt;         by the<br>
&gt;         &gt;         &gt; individual KS eigenstates. I think that for this<br>
&gt;         you&#39;ll have<br>
&gt;         &gt;         to modify<br>
&gt;         &gt;         &gt; the PWscf or PostProc code. For instance you could<br>
&gt;         start<br>
&gt;         &gt;         from pp.x and<br>
&gt;         &gt;         &gt; modify the option plot_num=7 by performing the<br>
&gt;         integral of<br>
&gt;         &gt;         the<br>
&gt;         &gt;         &gt; resulting spin-density over the whole unit cell<br>
&gt;         (should be<br>
&gt;         &gt;         the sum<br>
&gt;         &gt;         &gt; over the FFT components, perhaps multiplied by<br>
&gt;         some<br>
&gt;         &gt;         normalization<br>
&gt;         &gt;         &gt; factor).<br>
&gt;         &gt;         &gt; Maybe it&#39;s easier to implement this directly in<br>
&gt;         PWscf. At<br>
&gt;         &gt;         the moment<br>
&gt;         &gt;         &gt; the code first computes the total spin-density<br>
&gt;         (which is the<br>
&gt;         &gt;         sum over<br>
&gt;         &gt;         &gt; bands and k-points of the individual KS densities)<br>
&gt;         in<br>
&gt;         &gt;         sum_band.f90<br>
&gt;         &gt;         &gt; (search for &#39;domag&#39;) and then the magnetization by<br>
&gt;         &gt;         integrating the<br>
&gt;         &gt;         &gt; components of the spin-density (see<br>
&gt;         compute_magnetization in<br>
&gt;         &gt;         &gt; PW/electrons.f90). You can modify sum_band.f90 by<br>
&gt;         adding a<br>
&gt;         &gt;         call to a<br>
&gt;         &gt;         &gt; function analogous to compute_magnetization but<br>
&gt;         for each<br>
&gt;         &gt;         single KS<br>
&gt;         &gt;         &gt; state.<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; HTH<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; GS<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt; Thanks<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt; --<br>
&gt;         &gt;         &gt; &gt; Soroush Pakseresht<br>
&gt;         &gt;         &gt; &gt; Advanced Science Institute (RIKEN)<br>
&gt;         &gt;         &gt; &gt; Saitama-Japan<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt; _______________________________________________<br>
&gt;         &gt;         &gt; &gt; Pw_forum mailing list<br>
&gt;         &gt;         &gt; &gt; <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
&gt;         &gt;         &gt; &gt;<br>
&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;         &gt; &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; --<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; Gabriele Sclauzero, EPFL SB ITP CSEA<br>
&gt;         &gt;         &gt; PH H2 462, Station 3, CH-1015 Lausanne<br>
&gt;         &gt;         &gt; _______________________________________________<br>
&gt;         &gt;         &gt; Pw_forum mailing list<br>
&gt;         &gt;         &gt; <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
&gt;         &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;         &gt;<br>
&gt;         &gt;         Andrea Dal Corso                    Tel.<br>
&gt;         0039-040-3787428<br>
&gt;         &gt;         SISSA, Via Bonomea 265              Fax.<br>
&gt;         0039-040-3787249<br>
&gt;         &gt;         I-34136 Trieste (Italy)             e-mail:<br>
&gt;         <a href="mailto:dalcorso@sissa.it">dalcorso@sissa.it</a><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;         &gt;<br>
&gt;         &gt;<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; 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;         --<br>
&gt;         Andrea Dal Corso                    Tel. 0039-040-3787428<br>
&gt;         SISSA, Via Bonomea 265              Fax. 0039-040-3787249<br>
&gt;         I-34136 Trieste (Italy)             e-mail: <a href="mailto:dalcorso@sissa.it">dalcorso@sissa.it</a><br>
&gt;<br>
&gt;<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>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Soroush Pakseresht<br>
&gt; Advanced Science Institute (RIKEN)<br>
&gt; Saitama-Japan<br>
&gt;<br>
&gt;<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>
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>
<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>