Dear Jan, Just to complement Joseph's answer: For the conductance calculation, this would be very easy to do with a recursive Green's function algorithm: You need to use the concept of non-uniform leads and apply the *generalized *Fisher-Lee formula [1] and then you just will need to update one self energy for each new length. I have done this for scanning gate microscopy simulations where we need to change the position of a scatterer at each step (So larger system at each step). Kwant uses a different approach to get the conductance and the scattering matrix, so if it is just a matter of time, it is better to keep using kwant than writing a new recursive code. If you need help with the second approach let me know. I hope this helps. Adel [1] https://journals.aps.org/prb/abstract/10.1103/PhysRevB.81.155422 On Mon, Oct 30, 2017 at 3:43 PM, Jan Behrends <jb@pks.mpg.de> wrote:
Dear all,
I'm looking for a workaround for a problem I currently face: when computing the two-terminal conductance for a system of length L, is there a way to get the conductance for the same system of length 1,2,..L-1 on the fly (while keeping everything else the same, i.e., same width, same disorder configuration etc.)?
As far as I understand how the scattering matrix calculation works internally, it shouldn't take much longer to compute these intermediate values than just getting the final conductance.
Best,
Jan
-- Jan Behrends Max-Planck-Institut für Physik komplexer Systeme Nöthnitzer Straße 38, 01187 Dresden, Germany <https://maps.google.com/?q=N%C3%B6thnitzer+Stra%C3%9Fe+38,+01187+Dresden,+Germany&entry=gmail&source=g> E-Mail: jb@pks.mpg.de
-- Abbout Adel