------

        Steven-

thanks.

i also found a temp workaround:

if you replace

(define sx (/ a (sqrt 2)))
(define sy (* sx (sqrt 3)))

with

(define sx (inexact->exact (/ a (sqrt 2))))
(define sy (inexact->exact (* sx (sqrt 3))))

then you avoid the error. not sure what the actual value of sx & sy meep is using, but i'll assume it's essentially what i specified.

fyi- been running meep through test cases w/ pure dielectrics- so far everything is coming out as expected. bravo!

cheers,

        gp

------


On May 20, 2006, at 4:09 PM, Steven G. Johnson wrote:

On Sat, 20 May 2006, G.J. Parker wrote:
believe i found a minor error, but it's probably just numerics. in a control file, place:

Thanks, this is a bug. It was getting confused because if you specify a cell size that is not an integer number of pixels, the cell size gets adjusted to the nearest integer number of pixels.

I've corrected this problem for the next release (so that it won't complain if the source size exceeds the cell size by less than a pixel).

Steven

_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss


_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to