Skip to content

documentation: add example of non-orthogonal lattice #23

Description

@sp94

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions