I want to create a line defect 1-D PhC waveguide. I want a single defect
only in the centre. But whenever I run the code, I'm getting a defect in the
centre of each block. And if I append the block of same size(0.3) of eps
4.41, I get a blank image.
(define-param x-dim 1)
(define-param y-dim 20)
(define-param z-dim 4)
(set! geometry-lattice (make lattice(size 1 1 no-size)))
(set! default-material (make dielectric (epsilon 4.41)))
(set! geometry(list(make block (material (make dielectric (epsilon 1)))
(center 0 0 0) (size 0.3 1 infinity
(set! geometry (append geometry
(list (make block (material (make dielectric (epsilon 4.41)))
(center 0 0 0) (size 0.1 1 infinity)
(set! resolution 16)
(set! k-points (list (vector3 0.5 0.5 0)))
(set! num-bands 50)
(run)
Please help me with the necessary changes.
___
mpb-discuss mailing list
mpb-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss