I partially figured out what is wrong: I put (set! resolution ...) too far behind in the script. The script ignores the resolution and uses the default value 10. Now comes to a related question: at what point does meep start to generate the grid in a typical script , or where exactly should we set (set! resolution...)?
;(1) (set! geometry-lattice ...) ;(2) (set! geometry ...) ;(3) (set! sources ...) ;(4) (set! pml-layers ...) (set! k-point ...) etc. On 3/9/07, Lu Hu <[EMAIL PROTECTED]> wrote:
I am sorry that I have to send this message again. The text message in my previous post won't show up. ---------- Forwarded message ---------- From: Lu Hu <[EMAIL PROTECTED]> Date: Mar 9, 2007 4:45 PM Subject: test run for thin film does not converge to analytical solutions To: meep-discuss <[email protected]> Hello, I tried to test meep by calculating reflection from a dielectric thin film. It looks like the results never converge to the analytical solutions no matter how fine the grids are. Could anybody point out the mistakes for me? The ctl file and plot are attached. lhu
_______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

