On Sun, 5 Nov 2006, Zhichao Ruan wrote:
Many thanks for your help. I understand how to setup a Hx source oriented on the z=0 to excite the even Hx field about z.

Now i have another question, can i use the Hx source, which is not oriented on z=0 but with the (phase 1), to excite the odd Hx field about z. I fail to do in this way (please see the following ctl file). Could you give me some instruction?
[...]
(set! sources (list
  (make source
    (src (make gaussian-src (frequency fcen) (fwidth df)))
    (component Hx) (center 0 0 (/ 25 16)))
))

(set! symmetries (list (make mirror-sym (direction Z) (phase 1))))

You specify a z=0 mirror symmetry plane, but then you are adding an Hx source at z != 0 which breaks this mirror symmetry. The results are undefined.

In general, you have to realize that the symmetry must be obeyed by *both* the structure *and* the sources in order to exploit symmetry.

Now, if you wanted to have a even z=0 mirror plane with an Hx source at z != 0, what you could do is to add an Hx source with amplitude +1 at z = +25/16, and add another Hx source with amplitude -1 at z = -25/16. This has even symmetry.

Steven

PS. Zhichao, you need to send messages to [email protected], not [EMAIL PROTECTED]

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

Reply via email to