We should add examples of non-orthogonal lattices to the documentation, with some pictures
Interface
Assuming both lattice vectors a1 and a2 should have length == 1
In this case it is only necessary to specify the angles of the lattice vectors:
geometry = Geometry(epf, muf, th1, th2, d1, d2)
where th1 and th2 are scalars
More generally
If the lattice vector lengths should not be equal to 1, then use
geometry = Geometry(epf, muf, a1, a2, d1, d2) where a1 and a2 are 2-vectors
Example
Triangular lattice example:
geometry = Geometry(epf, muf, 0, 60, d1, d2)
or equivalently
geometry = Geometry(epf, muf, [cosd(0),sind(0)], [cosd(60),sind(60)], d1, d2)
To do
Add an example from Joannopoulos' book, such as the TE and TM modes of triangular array of air columns in dielectric substrate
We should add examples of non-orthogonal lattices to the documentation, with some pictures
Interface
Assuming both lattice vectors
a1anda2should have length == 1In this case it is only necessary to specify the angles of the lattice vectors:
geometry = Geometry(epf, muf, th1, th2, d1, d2)where
th1andth2are scalarsMore generally
If the lattice vector lengths should not be equal to 1, then use
geometry = Geometry(epf, muf, a1, a2, d1, d2)wherea1anda2are 2-vectorsExample
Triangular lattice example:
geometry = Geometry(epf, muf, 0, 60, d1, d2)or equivalently
geometry = Geometry(epf, muf, [cosd(0),sind(0)], [cosd(60),sind(60)], d1, d2)To do
Add an example from Joannopoulos' book, such as the TE and TM modes of triangular array of air columns in dielectric substrate