Square holes are no problem - you just use MPB's built in "block" object type instead of cylinders. For other polygonal shapes I usually employ a set of overlapping blocks. (Or, especially for weird curved shapes, you could use the material-function type with an arbitrary user-specified dielectric function, although this is slower than using blocks for polygonal shapes.)

On Wed, 27 Dec 2006, Nils Jensen wrote:
I want to calculate the band diagram and waveguide of the photonic crystal slabs with noncircular holes (square holes, or triangular holes, ...) by using MPB program. Could you let me know how can I define their structure in MPB program.

_______________________________________________
mpb-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss

Reply via email to