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

Go to the source code of this file.

Classes

class  slab3d.Glass
 
class  slab3d.Asym
 

Namespaces

namespace  slab3d
 

Functions

 slab3d.dims (w, h)
 
 slab3d.pos (w, z=0)
 

Variables

 slab3d.axes
 
float slab3d.depth = 1.0
 
float slab3d.w = 0.20
 
float slab3d.wa = 0.10
 
float slab3d.h = 0.10
 
int slab3d.d = 0.
 
int slab3d.axis = 0
 
bool slab3d.symmetric = True
 
bool slab3d.periodic = False
 
int slab3d.size = 12
 
int slab3d.refine = 1
 
float slab3d.smooth = 0.005
 
int slab3d.dct = 1
 
 slab3d.shelf = geometry.Align3D()
 
 slab3d.stack = geometry.Stack3D(left=0, back=0)
 
 slab3d.core = geometry.Block3D(dims(w, h), Glass())
 
 slab3d.asym = geometry.Block3D(dims(wa, h), material.air)
 
 slab3d.air = geometry.Block3D(dims(w, h), material.air)
 
 slab3d.air1 = geometry.Block3D(dims(w-d, h), material.air)
 
 slab3d.air2 = geometry.Block3D(dims(w+d, h), material.air)
 
 slab3d.p = stack.append(shelf)
 
 slab3d.edges = dict(left='periodic', right='periodic', back='periodic', front='periodic')
 
 slab3d.b0
 
 slab3d.b1
 
 slab3d.main = geometry.Cartesian3D(stack, **edges)
 
 slab3d.opt = optical.Fourier3D("opt")
 
 slab3d.geometry
 
 slab3d.wavelength
 
 slab3d.dist
 
 slab3d.order
 
 slab3d.factor
 
 slab3d.long
 
list slab3d.sym = [None, None]
 
 slab3d.symmetry
 
float slab3d.right = 2.0
 
float slab3d.left = -2.0
 
 slab3d.AX = linspace(left, right, 4000)
 
 slab3d.msh = mesh.Rectangular3D(AX, [0], [0.5*h])
 
list slab3d.eps = [main.get_material(pos(ax, 0.5*h)).nr(opt.wavelength.real).real**2 for ax in AX]
 
 slab3d.label