GTPhShowStructure

GTPhShowStructure[structure,background permittivity,basis,number of cells]
generates an image of the arrangement of dielectric objects in structure in a background permittivity. Several numbers of cells may be plotted.

DetailsDetails

  • The permittivity in the unit cell of a two-dimensional structure can be defined by an arrangement of geometric objects of a given permittivity. The definition of the objects is summarized in structure:
  • structure = {name of object, permittivity, geometry, shift}
  • name describes one of the objects: "CircularRod", "EllipticRod", "RectangularRod", or "PrismaticRod".
  • The list geometry contains the quantities to describe the size of the object. Details of the the list geometry can be found in the description of the calculation of the structure factors of the objects. The structures EllipticRod, RectangularRod, and PrismaticRod can be rotated. If present, the last element of the list geometry is the rotation angle, otherwise the structure is not rotated.
  • The vector shift is used to place the object in the unit cell.
  • The following options can be given:
  • GOColorScheme"PearlColors"Defines the color scheme
    GOVerboseFalseControls the output of additional information
  • See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica, chapter 10.4

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

First load the package:

In[1]:=
Click for copyable input

A square lattice is considered.

In[2]:=
Click for copyable input

A structure list is defined.

In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=

The shift vectors are measured in terms of the basis vectors. The basis vectors can have two or three components.

In[6]:=
Click for copyable input
In[7]:=
Click for copyable input
Out[7]=