Hi, everyone 

   I have a question now. I can get the correct result of bands of 2D square 
photonic crystal with mpb. But when I use meep to calculate the bands, I cannot 
get the same result. I do not know what mistakes I have made.

 

(set! geometry-lattice (make lattice (size 1 1 no-size)))

(set! geometry 

        

            (list (make cylinder (center 0 0) (radius 0.378) (height infinity)

     (material (make dielectric (epsilon 9))))))

(set! ensure-periodicity 1)

(define-param fcen 0.25) 

(define-param df 1.5) 

(set! sources (list

(make source

(src (make gaussian-src (frequency fcen) (fwidth df)))

(component Hz) (center 0.12))))

(set-param! resolution 20)

(set! symmetries (list (make mirror-sym (direction Y) (phase -1))))

(define-param k-interp 4)

(run-k-points 200 (interpolate k-interp (list (vector3 0 0) 

(vector3 (0.5 0)

(vector3 (0.5 0.5) 

(vector3 0 0))))

 

 
 
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to