Hi Patrik,

You can use site coordinates that don't belong to any lattice. For
that you need to define your own SiteFamily, see for example the
script below that achieves this goal.

-------------------
from matplotlib import pyplot
import kwant
import tinyarray

class Amorphous(kwant.builder.SimpleSiteFamily):
    def normalize_tag(self, tag):
        return tinyarray.array(tag, float)

    def pos(self, tag):
        return tag


atoms = Amorphous()

syst = kwant.Builder()
sites = atoms(0.01, 0.05), atoms(1.01, -.5)
syst[sites[0]] = syst[sites[1]] = 2
syst[sites[1], sites[0]] = 1

kwant.plot(syst)
---------------------

Of course it's now your responsibility to specify the Hamiltonian,
leads, attaching leads, etc.

Best,
Anton

On Thu, Jul 6, 2017 at 4:12 PM, Patrik Arvoy <arv...@gmail.com> wrote:
>
> Dear users and developers,
>
> I was wondering if I can import the coordinates of a scattering region
> without any particular symmetry and compute the conductance via kwant.
> If yes, how does one do that?
> Let's say the scattering region does not have any symmetry after optimizing
> the structure via MD or ... and I have a list of coordinates of all the
> sites.
> I appreciate any help.
>
> Regards
> Patrik

Reply via email to