On Jul 22, 2008, at 5:24 PM, Chris Kang wrote: > I am working on a high resolution (>100) photonic crystal simulation > that obviously takes a very long time due to the amount of pixels to > work with. Harminv gives me resonances in my defect structure > (which is > symmetric with respect to both x and y) for the Hz component of the > field, but when I turn on x and y mirror planes, the resonance is > lost. > Is there a way to recover the resonance in harminv, or is this an > issue > with how MEEP handles symmetries?
If you apply symmetries correctly, the results should be *exactly* the same as before you applied the symmetry. So, if you see a difference then probably you are making a mistake. Realize that the symmetry must be obeyed not just by the structure, but also by the source. Furthermore, you need to set the phase of the symmetry (even or odd) correctly for the source, and this a bit subtle for a pseudovector field like H. In particular, if your structure has x=0 and y=0 mirror symmetry planes, and you have an Hz source located at x=0, y=0, then you need to specify your X and Y symmetry planes as both ODD (phase = -1). See also the section on vectors and pseudovectors in the Meep symmetry documentation: http://ab-initio.mit.edu/wiki/index.php/Exploiting_symmetry_in_Meep Steven _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

