Dear Steven and others, I am using Meep for simulations of the field out of a photonic crystal slab. In order to compare with measurements carried out in the farfield, I need to make a near-to-far-field transformation, which can be done if I know the field on a complete surface in the near field as described in "Computational Electrodynamics" by Taflove. I therefore ask Meep to calculate the field on six surfaces of a box. However, I encounter the problem that the surfaces I ask for are not the surfaces that I get out. I output x, y, and z values along with the fields to check this. The surfaces are placed at the the right center positions but the surface planes sometimes extend a grid point longer and/or wider than desired. It is possible for me to simply remove these undesired extra points, but it would of course be a lot nicer if I could trust the positions that I got out. I have been unsuccessful in my search for information about how Meep chooses which grid points to output, when asked to calculate the fields on a plane. Is there some trick that I should know about? Best Regards, Thomine Stolberg-Rohr Master student, Nano Photonics, Technical University of Denmark
_______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

