On Sun, 16 Dec 2007, Karel Van Acoleyen wrote:
> the mirror-symmetry plane around the y axis, harminv does not produce 
> any results, although my source is located at y = 0 so that is also 
> symmetric. If I furthermore do not specify this I get a band diagram but

Actually, your source has odd symmetry.

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

Note that the second line overrides the first.  If you want to have two 
symmetries, you must set symmetries to a single list containing two 
things.  (Your PML lines have the same problem.)

> (set! sources (list
> (make source
> (src (make gaussian-src (frequency fcen) (fwidth df)))
> (component Hz) (center randomnumber 0 0)

This source has odd symmetry in y.  See the section on "vectors and 
pseudovectors" in the Meep manual on exploiting symmetry:

        http://ab-initio.mit.edu/wiki/index.php/Exploiting_symmetry_in_Meep

Regards,
Steven G. Johnson

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

Reply via email to