Hey Steven,
I think I've found a bug in meep with the at-every. It seems you're
already aware of a similar one.
I've installed the patch from
Re: [Meep-discuss] problem with at-every
Thu, 02 Nov 2006 12:24:07 -0800
but to no avail.
I've tried the following code. As per your answer to post
yesterday, it's important to hit the values t, t + T/4 in order to
get the correct Intensity average.
It outputs at some multiple of around 0.21, not 0.1785. For a total
of 17 slices, not 20.
SAMPLE CODE
------------------------
(define fcen 0.28)
(run-until (/ 1 fcen)
(at-every (/ 1 fcen 20)
(at-beginning output-epsilon)
(output-png Ex "-Zc bluered -S1.5 -C $EPS")
)
)
Even a more exact size step still outputs incorrectly.
(define fcen 3.8)
(run-until (/ 1 fcen)
(at-every 0.2
(at-beginning output-epsilon)
(output-png Ex "-Zc bluered -S1.5 -C $EPS")
)
)
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss