Dear users, Hi.
I want to make square/triangular lattice of holes in a dielectric background.
The below program makes a row of air holes in a dielectric background:
(set! geometry-lattice (make lattice (size sx sy no-size))) ; sx and sy define
the size of computational cell
(set! geometry
(append
(list
(make block (center 0 0) (size wx wy infinity) (material (make dielectric
(epsilon 12)))) ; wx and wy define size of lattice
)
(geometric-object-duplicates (vector3 1 0) 0 (- Nx 1) ; Nx is the number of
holes in x direction.
(make cylinder (center (+ r (* -0.5 wx)) 0) (radius r) (height infinity)
(material air))
)
)
)
but I want to know how can I shift this row to upper or lower rows to make a
square lattice? How can I make a triangular lattice of holes in a dielectric
background?
If you have better idea, besides of the above mentioned program, tell me please.
Best.
Hodjat.
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss