GroupTheory`
If[StringContainsQ[{<|Openers -> <|NotesSection -> Closed, PrimaryExamplesSection -> Closed, ExampleSection -> <|0 -> Closed|>|>|>}[Metadata][uri], StartOfString~~{A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z}], Unevaluated[Sequence[XMLElement[span, {class -> main-title-top}, {Transmogrify`XMLTransformPrivate`context$1800342}], XMLElement[h1, {class -> main-title}, {Transmogrify`Recurse[]}], XML`RawXML[<div class="iconography" data-src="s= d= m= c= u= l= n= e="></div>], Transmogrify`XMLTransformPrivate`relatedInterpreterCell$1800342]], If[MemberQ[{Embedding Format, File, Front End Object, Interpreter, Entity, MathLink C Function, Method}, Transmogrify`GetParameter[entityType]], XMLElement[div, {class -> main-heading}, {XMLElement[h1, {class -> main-title}, {Transmogrify`Recurse[]}], XML`RawXML[<div class="iconography" data-src="s= d= m= c= u= l= n= e="></div>], Transmogrify`XMLTransformPrivate`relatedInterpreterCell$1800342}], Unevaluated[Sequence[XMLElement[h1, {class -> main-title}, {Transmogrify`Recurse[]}], XML`RawXML[<div class="iconography" data-src="s= d= m= c= u= l= n= e="></div>], Transmogrify`XMLTransformPrivate`relatedInterpreterCell$1800342]]]]

GTPhPixelSmooth[pixel map]

gives a smoothed pixel map.

Details and Options

  • 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

Examples

Basic Examples  (1)

First load the package:

A permittivity map is defined.

The unit cell is a square, i.e.

The structure is plotted. There is no modification defined.

The structure is smoothed and replotted again.

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