Hello.
I currently run calculations using mpb for a 2D dielectric material with air holes. I have a super-cell structure that represents a wveguide, and I currently use (run-tm) in order to calculate the first N bands for a set of k-point. For example
(set! num-bands 12)
(run-tm)
After I run my script I analyze the results and select the modes that are in the band-gap of the PhC that makes up the waveguide's cladding.
I would like to know if it is possible to write a ctl script that will calculate and output the field distribution (let say Hz,Ex,Ey) of a given k-point for which a single appropriate band number (out of the 12, for example) is wanted.
Of course, if it possible to expand this script to calculate the fields for a given set of k-points, where for each k-point only a single appropriate band number is wanted.
thanks in advance.
Amnon Willinger