Hi, john, Originally, FDTD method cannot set two field components into one real place strictly due to its Yee spatial structure. However, your codes may work well in a relative-high resolution condition. By the way, I don't think (amplitude (exp (* 0+1i 1.570796327))) is a good idea, because it may force MEEP running in a complex-field mode.
Yours, Zheng 在 2007-11-26一的 16:34 [EMAIL PROTECTED] > Hello MEEP users, > > i have tryed to create a circular polarized source via adding a pi/2 phase > shift with the amplitude comand, as printed below. i am not sure if this is > the correct way to implement such a source. can you tell me if there is > another way to do so. > > > best regards john > > (set! sources (list > (make source > (src (make custom-src (end-time 200) > (src-func (flat_src f_bottom > f_top 200) ))) > (component Ex) > (center 0 0 lzborder) > (size xsize ysize 0) > (amplitude (exp (* 0+1i 1.570796327))) > ) > (make source > (src (make custom-src (end-time 200) > (src-func (flat_src f_bottom > f_top 200) ))) > (component Ey) > (center 0 0 lzborder) > (size xsize ysize 0) > ) > )) > _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

