On Jul 31, 2008, at 12:33 PM, Zhu, Lei wrote:
In fact, I just need the scattered E and H fields tangential to a virtual rectangle shape surface completely surrounding the object or scatterer.
Is this right?

Yes, I believe so.

Below is my code. Can I take the E and H at the same timestep 300 or I should take E at timestep 300 and get the average value of H at 299.5 and 300.5?

You should use the (synchronized-magnetic ...) function, new in Meep 0.20, which will due the averaging of H for you, in order to get E and H at the same time. See:

http://ab-initio.mit.edu/wiki/index.php/Synchronizing_the_magnetic_and_electric_fields

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

Reply via email to