Dear all, In the section "Computing local quantities: densities and currents", the function field_direction(pos,r0,delta) is defined with the condition: if r==0: m_i=[0,0,1] This should be m_i =[0,0,-1] This explains why we get some strange pattern in the present figures on the online documentation. With this minor correction, the result will be better and more physical. Adel
Hi Adel, Thanks for the fix! Can you please report this as a bug on the Kwant Gitlab [1]? You'll have to create an account, but we have gmail OAuth enabled (so you can log in with your gmail account). If you feel like it you can also submit proposed modifications either as patches to the dev mailing list, or my opening a "merge request" on Gitlab (though you will need to learn how to use git to do that). Happy Kwanting, Joe [1]: https://gitlab.kwant-project.org/kwant/kwant/issues/new On 07/30/2017 06:16 PM, Abbout Adel wrote:
Dear all,
In the section "Computing local quantities: densities and currents", the function field_direction(pos,r0,delta) is defined with the condition:
if r==0: m_i=[0,0,1]
This should be m_i =[0,0,-1]
This explains why we get some strange pattern in the present figures on the online documentation. With this minor correction, the result will be better and more physical.* * Adel
participants (2)
-
Abbout Adel -
Joseph Weston