On Mar 29, 2008, at 8:09 AM, Mani Chandra wrote:
> Hi Steven,
> Which is a better way to find the flux through a plane for a source  
> with a single frequency?
> The following functions are in the C++ interface:-
> 1)Using add_dft_flux_plane (using nfreq=1) (or)
> 2)Using add_flux_plane
>
> I tried using both of them and I did a plot of the flux through a  
> plane vs time and add_dft_flux_plane gave a quadratic curve which is  
> because this is integrated with time, right?. But the add_flux_plane  
> seems to give an entirely different plot in which the flux seems to  
> essentially constant but with minor fluctuations as in it keeps  
> increasing and decreasing by a very minor amount but it essentially  
> seems to be constant. Could you please explain that?

add_flux_plane just implements a more efficient way to get the  
instantaneous Poynting flux at every time step; it doesn't do any time  
integration whatsoever.  So, it should be an oscillating function (for  
real fields) or a roughly constant function (for complex fields at a  
~constant frequency), totally different from dft_flux_plane.

Steven


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

Reply via email to