Hi Rohit,
Post by Rohit Kumar SrivastavIs this code correct for the voltage applied in the 3rd lead?
I briefly looked at your code and you seem to be calculating the
scattering matrix for a stadium with 3 leads attached, except two of the
leads are 1 site wide and overlap. I am almost 100% sure this is not
what you intended, given the surrounding code.
If you provide a bit more context about what you're trying to
accomplish, any maybe ask a more focused question you're more likely to
get a useful response.
Happy Kwanting,
Joe