Re: [Kwant] Difference between hop[0].tag and hop[1].tag

2019-09-10 Thread Adel Belayadi
Dear Adel, I do thank you for link. Everything is clear now since the linke describes in detains (site, family, tag, etc) Regards Adel Le mar. 10 sept. 2019 à 09:40, Abbout Adel a écrit : > Dear Adel, > > It seems that you did not get it correctly. A hopping is a tuple of two > sites which make

Re: [Kwant] Difference between hop[0].tag and hop[1].tag

2019-09-10 Thread Abbout Adel
Dear Adel, It seems that you did not get it correctly. A hopping is a tuple of two sites which make a bond in your lattice. So the direction is not important. Hop=(site1,site2) Hop[0]=site1 Hop[1]=site2 I suggest to you to have a look at the frequently asked questions in kwant [1]. It explains

Re: [Kwant] Difference between hop[0].tag and hop[1].tag

2019-09-09 Thread Adel Belayadi
Dear Joseph. Thank you for your reply. If I got it well, you mean the first site the hopping along x direction and second site the hopping in the y direction. Best A.BELAYADI Le lun. 2 sept. 2019 à 09:15, Joseph Weston a écrit : > Hello, > > > What is the difference between hop[0].tag and

Re: [Kwant] Difference between hop[0].tag and hop[1].tag

2019-09-02 Thread Joseph Weston
Hello, > > What is the difference between   hop[0].tag   and hop[1].tag > hop[0].tag is the tag of the first site in the hopping and hop[1].tag is the tag of the second site in the hopping. > > My second question  > the onsite fuction for example: def onsite(site, V):return V > > why it depends

[Kwant] Difference between hop[0].tag and hop[1].tag

2019-08-30 Thread Adel Belayadi
Dear users, Good day. My query is about hoppings. In fact, sometimes we have to change the onsite parameters when for instance a magnetic field is applied. What is the difference between hop[0].tag and hop[1].tag My second question the onsite fuction for example: def onsite(site, V):return V