Dear meep-users,
I want to design a photonic crystal lattice with rods differently-spaced in
lateral dimensions in a simple way in meep.
This works:
(set! geometry (map (lambda (y) (make cylinder (center 1 y) (radius r)
(height infinity) (material (make
dielectric (epsilon 12)) ) ) )
(interpolate 1 (list (sqrt 3) (* 3 (sqrt 3)) )) ; interpolation for y
) )
However, I don't know how to construct a lattice in such way:
(set! geometry (map (lambda (x,y) (make cylinder (center y x) (radius r)
(height infinity) (material (make
dielectric (epsilon 12)) ) ) )
(interpolate 1 (list (sqrt 3) (* 3 (sqrt 3)) )) ; interpolation for y ?
(interpolate 1 (list 1 3)) ;interpolation for x ?
) )
I know that my usage with two interpolates for the same lambda(x,y) is not
correct. How can I define this lattice ( cylinders placed 1 step for x and
(sqrt 3) step for y) ? For large lattice sizes, this usage may be more
practical than making the lattice row by row and combining them with
"geometric-objects-duplicates".
Thank you for your considerations.
Sincerely,
Fulya
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss