Lattices.jl
Lattices.jl copied to clipboard
A Lattice Library for Julia
Roger, Ejaaz, and I want to incorporate some of my lattice code into the package. The main feature of my code is the arbitrary 2D lattice feature (i.e. multi-site bases).
Also implements HyperRectangular Will resolve both #3 and #10 TODO: - Implement non-unity lattice constants for Triangular lattice and friends - More tests
Currently, we are implicitly assuming a lattice constant `a=1`.
Helical BCs are a fast approximation to Periodic BCs which make use of the linear storage of arrays to scrape off some computational overhead associated with accessing N-dimensional arrays. See...
I'd like to move discussions around the new lattice design here. So we have something to keep track of.
register
@JuliaRegistrator register
I wonder if the approach taken in this package "scales" to larger, complex, higher-dimensional lattices. Currently, there is no explicit unit cell concept, all sites are at integer positions (#10)...
Square should work for the following case: ![image](https://user-images.githubusercontent.com/8445510/62895859-ca76df00-bd1d-11e9-97fa-2f953cfffde3.png)
I don't understand the `surround` concept. How is it different from `neighbors`?
## Iterator API - [ ] `surround` -> `neighbors` #### Iterator wrapper type Currently, when use `sites`/`edges`/etc. an iterator without any information of the lattice will be returned. This makes...