Le 9 November 2006, Ignazio Di Napoli, à bout, prit son clavier pour
taper sur son écran:
> Hi all.
> How can I define a directional source in Meep? To be clearer, the
> purpose is: I have a point source into a waveguide which, after some
> length in the waveguide, becomes like a planar wave. Can I simulate a
> source which directly does that, saving comupational time (by shorting
> the waveguide)?
Make the size of the source extended to the size of your waveguide. For
example, if the direction of propagation is X and the size of your waveguide in
Y is wy, then do
(set! sources (list (make source
(src (make gaussian-src
(frequency fcen)
(fwidth df)))
(component Ez)
(center sourcepoint)
(size 0 wy))))
Cheers.
--
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss