An example of why passing step functions to run-k-points might be useful: simulation of a waveguide in a photonic-crystal slab. The source position and frequency range can be chosen to mostly excite the waveguide mode; I might want to output the field and extract the mode frequency.

Another function: is there a TOTAL flux function (not as a function of frequency)? For simulations that eventually settle into a steady state at constant frequency, it is overkill to Fourier transform the flux.

Michelle

On Jul 3, 2006, at 4:54 PM, Steven G. Johnson wrote:

On Wed, 28 Jun 2006, Michelle Povinelli wrote:
It appears that run-k-points does not take step functions, whereas run-until does. Wouldn't that be useful?

Can you give an example of where it would be useful? Since you will normally use run-k-points with a broadband source, the fields will just look like a mess. And because run-k-points does multiple runs, passing harminv to it directly wouldn't work properly.

Steven


_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to