Dear Developers and Users of Kwant,

I have been using Kwant for quantum transport calculations. Recently, I came across a bit complicated model problem, which can be described as follows:

Suppose I have two scattering regions (S1 and S2) which are defined with two shape functions (shape_function_1 and shape_function_2) and connected with their interface. So I am wondering a feasible way to implement different hoppings in regions S1 and S2.  And after that, how to deal with the hoppings across the interface?

I also see Prof. Christoph Groth already giving some solutions on the relevant issue, see here: https://mailman-mail5.webfaction.com/pipermail/kwant-discuss/2016-November/001027.html. However, these solutions are still not clear to me.

Can you help solve my problem? Your help is greatly appreciated.

Best regards,
Kuangyia Lee