Re: [Kwant] Transport across infinite plane with wraparound module

2017-03-10 Thread Kristjan Eimre
You are correct, Li. Of course the periodic boundaries introduce additional modes, no idea how I forgot that. And the number of modes matches nicely with the analytical results of the free electron model too. I plotted the square of the absolute value of the wave function in the last script. For

Re: [Kwant] Problems with memory allocation (?) in KWANT 1.3

2017-03-10 Thread Anton Akhmerov
Hi Camilla, It appears that for some reason you have an old version of tinyarray; please also install the development version of tinyarray using pip3 install git+https://gitlab.kwant-project.org/kwant/tinyarray.git@master Best, Anton On Fri, Mar 10, 2017 at 11:09 AM, Camilla Espedal