On Thu, 5 Apr 2007, Andrew Andrew wrote:
> I revise the code according to your advise, setting a bigger source, 
> (size 0 52). However, the waist is still at x=0.

I looked back at the original file you posted, and you have some confusion 
in your coordinates.

Do you want your source to be offset in x and propagating in y, or vice 
versa?

Assuming you want your source to be offset along the x axis, you should
set your source to be (size sx 0 0), not (size 0 sy 0).  And your kdir 
should be (vector3 0 1 0), not (vector3 1 0 0).

I made these changes and it works fine for me.

Steven

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

Reply via email to