PLaSK library
Loading...
Searching...
No Matches
slab2d.py File Reference

Go to the source code of this file.

Classes

class  slab2d.Glass
 
class  slab2d.Asym
 

Namespaces

namespace  slab2d
 

Variables

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