On Wed, 19 Apr 2006, Andreas von Rhein wrote:
If the component is Hz, no frequency could be found,
but if the component is Ez harminv finds some.
[...]
(run-k-point 300 (vector3 0 0 0))

You shouldn't get any frequencies because your k point is zero, and you are putting in an exp(ikx) source that fills all space. The corresponding eigenfrequency is zero, but harminv can only find non-zero frequencies.

(I'm surprised you find some frequencies when you use an Ez source, because tried your file and I don't get anything in this case either. Maybe harminv is picking up some tiny numerical noise.)

I just tried a quick calculation (changing the cell to 2d) where I set the k point to be nonzero (0.5,0.3,0), and both the Ez and Hz source correctly return a frequency of about 0.583.

Steven

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

Reply via email to