hi, Mischa.
Thanks for your reminding. I have read the codes again, then I realized if you
don't force meep to be complex, meep will use real field-evolution which be
shown in
void fields_chunk::step_*_source @ step.cpp
Yours,
Zheng
> -----Original Message-----
> From: Mischa Megens <[EMAIL PROTECTED]>
> Date: Tue, 27 Nov 2007 01:05:33 +0000
> To: <[EMAIL PROTECTED]>, <[email protected]>
> Subject: RE: [Meep-discuss] Creating a circular polarized source
>
> 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
> >
> >
> > $B:_(B 2007-11-26$B0lE*(B 16:34 +0100$B!$([EMAIL PROTECTED]<LF;!'(B
> > > 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! MSN Messenger
>
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss