GTPhSlabSmooth[reciprocal lattice vector,structure]
gives a smoothed version of the structure factor of a slab.
Details and Options
Examples
Basic Examples
See Also
Related Guides
GroupTheory`
GroupTheory`
GTPhSlabSmooth
GTPhSlabSmooth[reciprocal lattice vector,structure]
gives a smoothed version of the structure factor of a slab.
Details and Options
- If dielectric stacks are under consideration, the structure factor of a slab of thickness
is needed. The structure factor for a stepwise varying permittivity is given by
. The permittivity profile is convoluted with a Gaussian. The analytical result is implemented. - structure=

is the filling factor and
is the half width of the Gaussian used for the convolution.- The reciprocal lattice vectors are given in units
. - See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica, chapter 10.4
Examples
Basic Examples (1)
Needs["GroupTheory`"]A list of reciprocal lattice vectors is calculated.
g = Table[i, {i, -15, 15}];The structure factors for the slab without smooting are and a smoothed slab are calculated.
geom = {.2};plt = Map[{#, GTPhSlab[#, geom]}&, g]//Chop;
geom = {.2, 0.03};plts = Map[{#, GTPhSlabSmooth[#, geom]}&, g]//Chop;ListPlot[{plt, plts}, Frame -> True, PlotLabel -> "Structure factor of a slab", FrameLabel -> {"G", "S(G)"}, PlotStyle -> Thick, PlotMarkers -> Automatic, Joined -> True, PlotLegends ->
PointLegend[Automatic, {"Δ=0.0", "Δ=0.03"}, LegendFunction -> "Frame", LegendLabel -> "Half width"]]