Hi,

I'm running an MPB simulation of a defect in a triangular lattice of pillars. One of the defect modes in the TM band gap is degenerate due to the symmetry of the system. I'd like to calculate the energy of the mode in the defect. I'm getting a value of 0.029 for one mode and 0.368 for the other. This is slightly confusing — I expected the energy to be similar. Am I not understanding the system correctly, does ModeSolver.compute_energy_in_objects(objects) return something different, or is this a bug in MPB? The code to reproduce is at https://gist.github.com/alkamid/070044479db362b5f34bee30d78e36e6. Run lines below L55 to see the matplotlib visualisation of the modes.

Best wishes
Adam

_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to