Dear Authors, It would be convenient to improve the method kwant.lattice.Monatomic.n_closest to include an argument "range" or even two arguments: range_min = 0 and range_max so that it returns the sites within a range from the given point. This is useful to e.g. specify the hoppings between incommensurate lattices. Thanks, Sergey
Sergey wrote:
It would be convenient to improve the method
kwant.lattice.Monatomic.n_closest
to include an argument "range"
or even two arguments: range_min = 0 and range_max so that it returns the sites within a range from the given point. This is useful to e.g. specify the hoppings between incommensurate lattices.
Sergey, your work involves connecting incommensurate lattices? Indeed, although a Kwant system can contain sites from many lattices, connecting incommensurate lattices is not specially supported in any way. I’m interested in discussing how to best connect incommensurate lattices in Kwant. If we can come up with something that seems useful I’m confident that eventually someone (maybe you? :-) will implement it for Kwant. The method Monatomic.n_closest works within a single monatomic Bravais lattice. Extending it to consider other lattices (which?) would not be consistent. I have other ideas, but we should start by discussing what we want to achieve, and not how to do it. Can you tell us more about the application that you have in mind? Christoph
Sergey, I’d like to add something to my post of a few minutes ago. The way I understood your request is that you suggested Monatomic.n_closest to return all the points (of all lattices?) that are in some given range around a point. But you probably simply meant to keep it working as it does and simply add the capability of specifying a range (as opposed to returning the first n sites). Anyway, how about discussing the issue of incommensurate lattices in Kwant more broadly? Cheers Christoph
participants (2)
-
Christoph Groth
-
Sergey