Hello,

For a quasi-1d simulation with periodic boundaries, I'd like to run a 
computation which is 3 pixels wide; 1 pixel in the middle for the 
domain, and 2 on either side for the periodic boundaries.

When I try this:

(set! sx (/ 3 resolution))
(set! geometry-lattice (make lattice (size sx sy no-size)))

and check the resulting eps.h5 with h5ls, I find the h5 data is 4 pixels 
wide.

I tried changing the resolution to make sure this didn't have something 
to do with fractional rounding of a pixel, but I was never able to get 
h5 data which was 3 pixels wide.  Is this behavior to be expected?

Kind Regards,
Matt






_______________________________________________
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