On Wed, 10 Jan 2007, Mischa Megens wrote:
combining electric and magnetic sources. If the electric and magnetic sources are identical, then the fields on one side of the sources interfere to cancel out, while on the other side they reinforce each other (as is of course well known and easy to understand from symmetry considerations). However, in meep, it seems that the destructive interference is not quite complete.
[...]
Of course the update steps for the magnetic and electric fields are half a
time step apart in the Yee algorithm, and the sources need to be sampled
half a time step apart.  Could it be that there is a sign problem with
this half time step in meep?  So the sources are a full step apart instead
of coinciding?

I just double-checked the sources, and the sign looks right (so that the H and E sources are updated half-a-step apart).

However, H and E sources are currently implemented (discretized) somewhat differently in Meep. so that makes what you are trying to do a bit more difficult.

You also need to take into account the differing spatial discretizations, which will also lead to slight phase mismatches between H and E sources if you do not take them into account.

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

Reply via email to