On Mon, 8 Jan 2007, ÕÅ¼Ì»Ê wrote:
I would like to simulate the electric field and magnetic field of modes supported by the hollow core PBG fiber. However, I am not sure how to proceed with MPB.
This is my plan as follow:
First, define a supercell structure with the defect.

First, I would compute a unit cell with no defect, so that you know where the band gaps and light line are.

Then, run efield/hfield in z direction.
But I am also confused about how to write the output efield/hfield in CTL file and how to plot the diagram.

(run output-efield output-hfield)

will output HDF5 files of the E and H fields for all of the bands. You can then plot them using any tool that can read HDF5 files, such as Matlab, or use my h5utils package to convert the HDF5 files into another format.

See the data-analysis tutorial in the MPB manual.

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

Reply via email to