Appendix
MPB Codes for Band Calculation of Various
Photonic Crystals Described in This Book
A.1 Bulk silicon
bulkSi.ctl
; Compution of the bands at the X point for a quarter−wave stack Bragg
; mirror ( this is the point that defines the band gap edges ) .
; the high and low indices :
(define−param n−lo 3.5)
(define−param n−hi 3.5)
; a quarter−wave stack
(define−param w−hi ( / n−lo (+ n−hi n−lo)))
; 1d cell
( set ! geometry−lattice (make l a ttice ( size 1 no−size no−size)))
( set ! default−material (make dielectric (index n−lo)))
( set ! geometry
( l i s t
(make cylinder
( material (make dielectric (index n−hi)))
( center 0 0 0) ( axis 1 0 0)
( radius infinity ) (height w−hi))))
( set ! k−points ( l i s t (vector3 −0.5 0 0)
(vector3 0.0 0 0)
(vector3 0.5 0 0)))
( set ! k−points ( interpolate 4 k−points))
(set−param! resolution 32)
(set−param! num−bands 3)
(run−tm output−hfield−y)
; Since TM and TE bands will be degenerate , so we calculate only TM
© The Editor(s) (if applicable) and The Author(s), under exclusive license to Springer
Nature Singapore Pte Ltd. 2021
N. Shankhwar and R. K. Sinha, Zero Index Metamaterials,
https://doi.org/10.1007/978-981-16-0189-7
129
MPB Codes for Band Calculation of Various
Photonic Crystals Described in This Book
A.1 Bulk silicon
bulkSi.ctl
; Compution of the bands at the X point for a quarter−wave stack Bragg
; mirror ( this is the point that defines the band gap edges ) .
; the high and low indices :
(define−param n−lo 3.5)
(define−param n−hi 3.5)
; a quarter−wave stack
(define−param w−hi ( / n−lo (+ n−hi n−lo)))
; 1d cell
( set ! geometry−lattice (make l a ttice ( size 1 no−size no−size)))
( set ! default−material (make dielectric (index n−lo)))
( set ! geometry
( l i s t
(make cylinder
( material (make dielectric (index n−hi)))
( center 0 0 0) ( axis 1 0 0)
( radius infinity ) (height w−hi))))
( set ! k−points ( l i s t (vector3 −0.5 0 0)
(vector3 0.0 0 0)
(vector3 0.5 0 0)))
( set ! k−points ( interpolate 4 k−points))
(set−param! resolution 32)
(set−param! num−bands 3)
(run−tm output−hfield−y)
; Since TM and TE bands will be degenerate , so we calculate only TM
© The Editor(s) (if applicable) and The Author(s), under exclusive license to Springer
Nature Singapore Pte Ltd. 2021
N. Shankhwar and R. K. Sinha, Zero Index Metamaterials,
https://doi.org/10.1007/978-981-16-0189-7
129
