I believe you can just use S = -mirror(Z,v), or mirror(Z,v) * -1.0.

(In the Scheme interface you use the phase property of the symmetry.)

On Thu, 25 May 2006, Jun She wrote:
I want to calculate the band diagram of a photonic crystal slab.
Then I want to add odd/even mirror symmetry.
How to add the odd mirror symmetry?

          volume v = vol3d(1.0, 1.0, g_h, resolution);
          const symmetry S = mirror(Z, v);
          structure s(v, eps_slab_square, pml(g_pml, Z), S);

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

Reply via email to