On Jun 16, 2008, at 7:32 AM, M Katzeimasack wrote:

> Hello,
> i have just switched from scheme to c++ meep which is working fine  
> except that i cannot find an a function analog to output-dpwr in  
> scheme.
> If anybody knows how to get out the time averaged intensity of a  
> simulated beam, please tell me so.

Just use fields::output_hdf5(D_EnergyDensity, ...).

Note, by the way, that the "intensity" of a beam normally refers to  
the Poynting flux, not to the energy density.  Of course, Meep can  
output the Poynting flux too.

Steven

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

Reply via email to