On Thu, 18 Oct 2007, shi lina wrote: > I want to know how to set Bloch periodic boundaries. I have studies > meep several days ago. I download some examples and they have the > sentence "(set! pml-layers (list (make pml (thickness 1.0))))" or "(set! > pml-layers (list (make pml (direciton Z) (thickness 1.0))))". I think > the first one is for pml all directions and the second one is for pml > only direciton Z. Now I want photonic crysta slab structure: pml > direciton Z, Bloch periodic boundaries for X and Y. How can I set it? Or > in meep its Bloch periodic boundaries for default. Thank you very much!
You set bloch periodic boundaries by using (set! k-point ...) as described in the manual. There is no problem combining Bloch periodic boundaries with PML -- PML is not a boundary condition, it is a material placed adjacent to the boundary, and is independent of the boundary condition used. See the holey-waveguide example in the Meep manual, which uses a mix of PML and Bloch-periodic boundaries in the last part of the example (computing the eigenmodes). Regards, Steven G. Johnson _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

