GTPhPixelSmooth

GTPhPixelSmooth[pixel map]
gives a smoothed pixel map.

DetailsDetails

  • A large number of plane waves is necessary in the calculation of photonic band structures to get converged results. The main reason is the abrupt change of the permittivity in the structure. In case of the pixelwise definition of the permittivity it can be smoothed by means of a five-point averinging procedure. Periodic boundary conditions are used in the averaging process.
  • GOSmooth"5Points"method
  • 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 permittivity map is defined.

In[2]:=
Click for copyable input

The unit cell is a square, i.e.

In[3]:=
Click for copyable input

The structure is plotted. There is no modification defined.

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

The structure is smoothed and replotted again.

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

The next example demonstrates the action of the cylic boundary conditions.

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

A correct smoothing of the pattern is achieved.

In[9]:=
Click for copyable input
Out[9]=