Hello,

I have set up a system in which I want to define hoppings in a lead between 
sites that originate from two sublattices: LatticeA has sublatices a and b, 
LatticeB has sublattices c and d. Currently, I believe I am achieving this via:

    for site in lead2.sites():
        (x,y) = site.pos
        if str(site.family) == "<Monatomic lattice e0>":
            lead2[c(x,y),a(x,y)] = Delta
        if str(site.family) == "<Monatomic lattice e1>":
            lead2[d(x,y),b(x,y)] = Delta

and thereby connecting sublattices c and a, and d and b.

Is this accurate? Can this be done with HoppingKind? And is there a way for me 
to list all the hoppings created to check if this was successful?

Reply via email to