Just as a reference, I wanted to mention that there is an example of a system with different lattice in the scattering region and the lead in http://article.gmane.org/gmane.comp.science.kwant.user/147 As Anton explained, one needs to first add sites from the lead to the system. Best, Michael On 21-07-15 18:43, Michael Beconcini wrote:
It works. Thank you very much!
Best, Michael
Il giorno 21/lug/2015, alle ore 15:07, Anton Akhmerov <anton.akhmerov@gmail.com> ha scritto:
Dear Michael,
There is no automatic way to infer a connection between incompatible lattices, so you'll need to specify this on your own. What you'll need to do is create a sufficient amount of sites from your square lattice, specify how exactly you want to connect them to honeycomb, and then use attach_lead. Since the system will now have enough sites from square lattice, the lead will be attached to those sites.
Best, Anton
On Tue, Jul 21, 2015 at 3:04 PM, Michael Beconcini <dottus@gmail.com> wrote:
Dear all,
I’m trying to attach a lead made of a square lattice to a system made of an honeycomb lattice. Since I’m having some problems with the method sys.attach_lead() I’m wondering if I’m using it in a bad way or if it works only if the lead and the system are made of the same lattice.
Best, Michael Beconcini