PLaSK library
Loading...
Searching...
No Matches
slab2d Namespace Reference

Classes

class  Asym
 
class  Glass
 

Variables

 axes
 
float wn = 1.2
 
float wa = 2.0 - wn
 
float h = 0.10
 
bool symmetric = True
 
bool periodic = True
 
int size = 16
 
int refine = 8
 
int smooth = 0
 
str ft = 'analytic'
 
int dct = 2
 
 shelf = geometry.Shelf2D()
 
 stack = geometry.Stack2D(left=0)
 
 core = geometry.Block2D(wn, h, Glass())
 
 air = geometry.Block2D(wa, h, material.air)
 
 p = stack.append(shelf)
 
 main = geometry.Cartesian2D(stack, left='mirror', right='periodic')
 
 opt = optical.Fourier2D("opt")
 
 geometry
 
 wavelength
 
 dist
 
 order
 
 factor
 
float right = 3.5
 
float left = -3.5
 
 symmetry
 
 XX = linspace(left, right, 24000)
 
 msh = mesh.Rectangular2D(XX, [0.5*h])
 
 i
 
 color
 
list eps = [main.get_material(x, 0.5*h).nr(opt.wavelength.real).real**2 for x in XX]
 
 label
 

Variable Documentation

◆ air

slab2d.air = geometry.Block2D(wa, h, material.air)

Definition at line 58 of file slab2d.py.

◆ axes

slab2d.axes

Definition at line 15 of file slab2d.py.

◆ color

slab2d.color

Definition at line 111 of file slab2d.py.

◆ core

slab2d.core = geometry.Block2D(wn, h, Glass())

Definition at line 57 of file slab2d.py.

◆ dct

slab2d.dct = 2

Definition at line 36 of file slab2d.py.

◆ dist

slab2d.dist

Definition at line 95 of file slab2d.py.

◆ eps

slab2d.eps = [main.get_material(x, 0.5*h).nr(opt.wavelength.real).real**2 for x in XX]

Definition at line 113 of file slab2d.py.

◆ factor

slab2d.factor

Definition at line 97 of file slab2d.py.

◆ ft

slab2d.ft = 'analytic'

Definition at line 33 of file slab2d.py.

◆ geometry

slab2d.geometry

Definition at line 84 of file slab2d.py.

◆ h

float slab2d.h = 0.10

Definition at line 21 of file slab2d.py.

◆ i

slab2d.i

Definition at line 111 of file slab2d.py.

◆ label

slab2d.label

Definition at line 118 of file slab2d.py.

◆ left

float slab2d.left = -3.5

Definition at line 100 of file slab2d.py.

◆ main

slab2d.main = geometry.Cartesian2D(stack, left='mirror', right='periodic')

Definition at line 74 of file slab2d.py.

◆ msh

slab2d.msh = mesh.Rectangular2D(XX, [0.5*h])

Definition at line 108 of file slab2d.py.

◆ opt

slab2d.opt = optical.Fourier2D("opt")

Definition at line 83 of file slab2d.py.

◆ order

slab2d.order

Definition at line 96 of file slab2d.py.

◆ p

slab2d.p = stack.append(shelf)

Definition at line 70 of file slab2d.py.

◆ periodic

bool slab2d.periodic = True

Definition at line 26 of file slab2d.py.

◆ refine

slab2d.refine = 8

Definition at line 29 of file slab2d.py.

◆ right

float slab2d.right = 3.5

Definition at line 99 of file slab2d.py.

◆ shelf

slab2d.shelf = geometry.Shelf2D()

Definition at line 51 of file slab2d.py.

◆ size

slab2d.size = 16

Definition at line 28 of file slab2d.py.

◆ smooth

slab2d.smooth = 0

Definition at line 31 of file slab2d.py.

◆ stack

slab2d.stack = geometry.Stack2D(left=0)

Definition at line 53 of file slab2d.py.

◆ symmetric

bool slab2d.symmetric = True

Definition at line 25 of file slab2d.py.

◆ symmetry

slab2d.symmetry

Definition at line 103 of file slab2d.py.

◆ wa

float slab2d.wa = 2.0 - wn

Definition at line 20 of file slab2d.py.

◆ wavelength

slab2d.wavelength

Definition at line 85 of file slab2d.py.

◆ wn

float slab2d.wn = 1.2

Definition at line 19 of file slab2d.py.

◆ XX

slab2d.XX = linspace(left, right, 24000)

Definition at line 106 of file slab2d.py.