Hi all,
I'm trying to draw a curved 2D waveguide with a given width, angle and
radius and orientation. I thought I could use a modified version of the
following to put blocks one after the other (2N+1 blocks):
(geometric-object-duplicates (vector3 vx vy) (* -1 N) N)
(make block (center 0 0) (size dx dy)
(material (make dielectric (index neff)))))
)
The modification I thought about involves changing the vx and vy for
each one of the duplicates, according to the delta angle you move each
block along the curve.
This is what I do not know how to do, even I wonder if it is the best
approach.
Thanks in advance for your help and comments.
--
Dr. Pascual Muñoz Muñoz - Telecommunication Engineer
Optical Communications Group - iTEAM Research Institute
[EMAIL PROTECTED] - www.gco.upv.es - www.upv.es
-------------------------------------------------------
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss