On Jul 24, 2008, at 7:42 AM, Juntao Xi wrote: > Hi, Meepers and Steven > > Could you please advise if the following code is going to generate a > TEM > propagating along in Z direction?
I don't know what you mean by "TEM" in this context. In vacuum, it will generate a wave propagating in the Z direction, because your source has a finite size (4x4) it will also have Fourier components propagating in other directions (i.e. it will generate a spreading beam) ... unless your computational cell is also 4x4 with periodic boundary conditions, in which case it will generate a pure planewave in the Z direction. Note also that you don't need to have both Ex and Hy sources; just Ex is enough (although it will generate waves in both the +z and -z direction emanating from the source, but usually you will have PML boundaries that will absorb the direction you don't want). If you aren't in vacuum, what kind of wave a source generates also depends upon the surrounding structure. e.g. if you have a periodic structure where there is a bandgap for waves propagating in the Z direction at that frequency, then obviously your source will only produce waves in other directions (if any) where there are propagating modes. Steven _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

