Doug - I think what you're looking for is Bloch-periodic boundary conditions. It's covered in the documentation. I do something very similar.
Good luck -Joe On Tue, May 8, 2018 at 10:25 AM Doug McKnight <d...@mcknight.to> wrote: > Greetings Meep experts! > > I'm learning the python interface to Meep and, so far, I'm happily > sending an oblique plane wave at a block of glass, and seeing it > refract/reflect as expected. > > I'd like to transform my finite block of stuff to be infinitely long and > specified in terms of a unit cell, (and the same for the plane-wave > source) so that I can construct diffraction-grating-like features. > > It seems that this must be a relatively common situation, but I'm > struggling to find an example and my initial attempts to use "no-size" > as a size specifier haven't been successful. > > Can someone please point me towards an example, or a good place in the > documentation? > > Suggestions are greatly appreciated! > Regards, > Doug > > > _______________________________________________ > 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