Hi Zheng, hi John,
> Originally, FDTD method cannot set two field components into one real> place
> strictly due to its Yee spatial structure.
...but it can have orthogonally oriented (EX and EY) sources which are out of
phase (sine and cosine in time), so I don't see why there would be a problem
(even at normal resolution)?
And afak., meep does not switch to complex fields unless you instruct it to
explicitly, use cylindrical coordinates, or specify a complex k (see
'meep.scm'). So presumably John's trick would work fine. Reading the
reference page, it doesn't say you cannot specify a complex amplitude for a
real-fields simulation, and looking at 'sources.cpp', I definitely get the
impression that everything is ok,
Best regards,
m.
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
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss