Yup, Meep supports as many sources as you want.

On Nov 8, 2011, at 2:01 PM, Yan Liu wrote:

Hi Yanghui,

I am not sure if this one works. But you can try it.

-------------------------------------------------------------------------------------
(set! sources
    (append
        (list
            (make source
                   (src (make continuous-src (frequency XXX)))
                   (component XX)
                   (center XX XX XX))
            (make source
                   (src (make continuous-src (frequency XXX)))
                   (component XX)
                   (center XX XX XX)))))
-------------------------------------------------------------------------------------

Thanks!
Yan

2011/11/7 杨辉,201021050219 <yanghui112...@126.com>
Hi,
     Can meep set two sources?What should I do?
     Thanks very much!


yanghui


meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss



--
Thanks!
Yan Liu
Department of Electrical and Computer Engineering, Univ. of Houston
Room W301, Engr Bldg 2
Houston, TX, 77204-4005
_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to