Re: [Meep-discuss] incorrect reflection coeff. calculation

2007-03-28 Thread Steven G. Johnson
On Wed, 28 Mar 2007, Markus Testorf wrote: I think your response to Matt demands a follow up. Matt's problem (as well as ours) involves periodic boundaries. In our simulations we clearly see that a periodically continued line source only produces a plane wave (CW) without artifacts for specific

Re: [Meep-discuss] incorrect reflection coeff. calculation

2007-03-28 Thread Steven G. Johnson
On Wed, 28 Mar 2007, Steven G. Johnson wrote: If you have a non-periodic structure in the x direction, or care about frequencies above the diffraction cutoff, then different input angles can scatter into the same output angle and there can be interference. In this case, the power does not simp

Re: [Meep-discuss] incorrect reflection coeff. calculation

2007-03-28 Thread Steven G. Johnson
On Wed, 28 Mar 2007, Steven G. Johnson wrote: If you want to see the *field* pattern for a given angle, then you need a narrowband (CW) source. But if you want the *flux* from a given angle, then you can put in a broadband source and only take that frequency component of the Fourier transform.

Re: [Meep-discuss] incorrect reflection coeff. calculation

2007-03-28 Thread Steven G. Johnson
To wit, http://ab-initio.mit.edu/pipermail/meep-discuss/2007-February/000700.html: Third, because the magnitude of k depends on the frequency, you can't make a single source that produces light with a single angle (other than normal incidence) over a broad bandwidth, as your control file atte

Re: [Meep-discuss] incorrect reflection coeff. calculation

2007-03-28 Thread Markus Testorf
Hi Steve, I think your response to Matt demands a follow up. Matt's problem (as well as ours) involves periodic boundaries. In our simulations we clearly see that a periodically continued line source only produces a plane wave (CW) without artifacts for specific combinations of wavelength and

Re: [Meep-discuss] incorrect reflection coeff. calculation

2007-03-28 Thread matt
I thought that this restricts one to a narrowband source: (set! kx (* fcen (sin (deg->rad theta (change-k-point! (vector3 kx 0 0)) (change-sources! (list (make source (src (make gaussian-src (frequency fcen) (fwidth df))) (component

[Meep-discuss] Re: Which functions that let me compute the instantaneous flux at a single time step?

2007-03-28 Thread Steven G. Johnson
On Wed, 28 Mar 2007, Nils Jensen wrote: In your suggestion, you mention about the function that let us compute the instantaneous flux at a single time step. How can I define it in my MEEP program? " No. You can't use the integrated flux spectrum for a CW source because the source does not

Re: [Meep-discuss] incorrect reflection coeff. calculation

2007-03-28 Thread Steven G. Johnson
On Wed, 28 Mar 2007, matt wrote: My trouble with this is that it isn't compatible with the periodic plane wave excitation: I can create a planewave with oblique incidence and periodic boundaries, but only if the source is very narrowband (df is small). A large df doesn't work because the peri

Re: [Meep-discuss] incorrect reflection coeff. calculation

2007-03-28 Thread matt
Thanks for the reply. My trouble with this is that it isn't compatible with the periodic plane wave excitation: I can create a planewave with oblique incidence and periodic boundaries, but only if the source is very narrowband (df is small). A large df doesn't work because the periodic bou