Dear Steven,
 
I am very interested in the topic below. I was wondering if you could give a hint on the syntax of (meep::fields::add_dft_pt) when called from the Scheme interface. Let's assume I would like to obtain the frequency spectrum of the Ex field component at the point (0,0,0).
 
(run-sources+
  (stop-when-fields-decayed 10 Ex (vector3 0 0 0) 1e-3)
  (to-appended "ex" (at-every 0.04 (in-point (vector3 0 0 0)
  output-efield-x)))
)
 
how can I "feed" the Ex time domain signal to the internal DFT algorithm? The reason why I don't simply calculate the flux is that I would like to calculate the local E-field enhancement in a plasmonic structure which is not necessarily equivalent to an enhanced flux (Poynting vector) at this point, I think.
 
Thanks a lot
David Leuenberger
 
From: Steven G. Johnson <[EMAIL PROTECTED]>
Subject: Re: frequency spectra for arbitrary grid points
Newsgroups: gmane.comp.science.electromagnetism.meep.general
Date: 2006-09-16 03:39:31 GMT (3 days, 1 hour and 5 minutes ago)
On Fri, 15 Sep 2006, matt wrote:
> Is it possible to calculate spectra from a single point, using 
> get-field-point, or only for flux regions?  If so, how?  Is there some 
> disadvantage to using a single sensor point?

Yes, you can compute the field spectrum using a single point.  You can 
either use get-field-point and compute the spectrum yourself, or use the 
built-in DFT functions (meep::fields::add_dft_pt).  Or just compute the 
flux at a single point.
 
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to