<div dir="ltr"><div><div><div><br></div>Dear Alexandre Smogunov and Gabriele Sclauzero,<br></div>Thank you so much for helping.<br></div><div><div><div><br>---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Alex Smogunov</b> <span dir="ltr"><<a href="mailto:asmogunov@gmail.com" target="_blank">asmogunov@gmail.com</a>></span><br>
Date: Thu, Oct 31, 2013 at 6:42 PM<br>Subject: Re: [Pw_forum] Query in conductance calculation<br>To: PWSCF Forum <<a href="mailto:pw_forum@pwscf.org" target="_blank">pw_forum@pwscf.org</a>><br><div class="gmail_quote">
<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><br><div>Indeed, in the antiparallel case you should do calculations with ikind=2 and have two files for</div>
<div>left and right leads with up and down magnetizations. In the pwcond input file you should also specify </div>
<div>the bds value, where the scattering region ends up, it will be in the middle of the cell used in pw.x calculation.</div><div>regards,</div><div>Alex</div><div><br></div></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">
2013/10/31 Gabriele Sclauzero <span dir="ltr"><<a href="mailto:gabriele.sclauzero@epfl.ch" target="_blank">gabriele.sclauzero@epfl.ch</a>></span><br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="word-wrap:break-word">Dear Niharika joshi,<div><br></div><div> I'm not sure to understand correctly your problem, but I think your case is similar to one of the examples on the webpage you mentioned, namely "Monatomic Ni wire with a spin reversal". You have to double to unit cell (in a specular manner) in the scf calculation of the scattering region, then use only the first half in the pwcond calculation.</div>
<div><br></div><div>In both cases there is one "junction", but two "interfaces" (one between left lead and scattering region and a second between scattering region and right lead).</div><div>The difference is that the leads are the same in the parallel case, while they are different in the antiparallel one.</div>
<div>In both cases, what the code computes is what one expects, the conductance for the single junction (i.e., for electrons "going" from the left lead to the right one through the scattering region).</div><div>
<br></div><div>HTH</div><div><br></div><div>GS</div><div><br><div><div><br></div><br></div><br clear="all"></div></div></blockquote></div></div></div></div></div><span></span><br></div></div>-- <br>Niharika Joshi<br><span style="color:rgb(192,192,192)">Project student, </span><br style="color:rgb(192,192,192)">
<span style="color:rgb(192,192,192)">IISER,</span><span style="color:rgb(192,192,192)">Pune</span><br>
</div></div></div></div>