On Feb 15, 2008, at 6:46 AM, Ian Buss wrote:
> I am interested in investigating the flux distribution over a plane
> outside a certain scattering structure. Is there a quick way to access
> the flux-region data usefully in order to produce a hdf5 output file
> showing the distribution of energy at a particular frequency over the
> plane?

No. All the information is there, in principle, when you do save-flux,  
but it is not in an easily decipherable format (it is basically just a  
dump of the internal data structures).  I definitely would like to  
change this in the future, but there's nothing like what you want  
right now.

> In a related point I know that unless you order it so to do, Meep will
> not store field data in a complex form.  To calculate flux spectra
> however (E* x H) one must take the Fourier transform of the time- 
> evolved
> fields which will result in complex forms for each field component.
> However when you save the flux-region data in hdf5 I see only 2 field
> components per plane.  Can anyone shed light on what Meep is actually
> doing here to calculate the flux at each frequency?

Each field component is actually an array of complex numbers, stored  
as real/imaginary pairs.

Steven


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

Reply via email to