On Aug 14, 2008, at 9:15 PM, Chen wrote: > In comment 1, you suggested I should use Fourier transform if I > am careful about normalization. Can you give more details about > how to execute to obtain the average power?
Basically, use a very narrow-band Gaussian pulse around some frequency, then add a dft-flux region that just computes the Fourier- transformed flux at that one frequency. This will do the time- averaging for you. However, you would need to do some careful analysis in order to relate this Fourier-transformed flux from a pulse to incident power. > > In comment 2, can I use a delta funtion source instead of a very > narrow-band Gaussian source? We all know that the delta funtion > source is a constant in frequency domain after Fourier transform. No, not in a nonlinear simulation. Only in a linear simulation is the superposition of many frequencies equivalent to doing one frequency at a time. In a nonlinear simulation, different frequency spectra will give totally different results. _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

