Hello Meep users,

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? I am largely interested in the Poynting vector information but 
storage of individual field components would be useful too. I think I 
have seen it mentioned before on the newsgroup (in the context of 
near-to-far transforms) that the flux-region data is stored during runs 
in a form not really suitable for looking at after a run.  I could of 
course write my own step function to do all this fairly easily (I notice 
from the reference guide that you can output the Poynting vector 
directly), but just wanted to make sure I wasn't reinventing the wheel 
computationally or missing the obvious (more than likely).

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?

Thanks in advance.  Best wishes,

Ian

-- 
Research PhD Student
Photonics Group
Dept. of Electrical & Electronic Engineering
University of Bristol
Rm 2.11 Queen's Building,
University Walk,
Bristol, BS8 1TR

email: [EMAIL PROTECTED]


_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to