> 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.

So, you want to use an oblique source with cyclic boundary conditions? Are you working in 2d or 3d?

Either way, you'll need to remove the PML from the axis/axes along which you want periodicity, using the direction parameter, and specify a k_point vector. Both points are covered in the Python UI docs.

If you want off-axis incidence, you'll also need to adjust the wavelength/simulation dimension/incidence angle to ensure smooth phase matching across the cyclic boundary (unless a real expert knows a better way).

Is that what you wanted to know?

Ian


_______________________________________________
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