On Mon, 8 Jan 2007, Ashifi wrote:
Based on the example you gave, I'm guessing that setting a source at a 45
degree angle with periodic boundary conditions (in the X direction) isn't
possible in Meep 0.10 because of the vertical source on the left (and its
PML). Is that correct?
Setting a source at a 45-degree angle with periodic boundary conditions is
possible. Ideally, however, you should make the periodicity an integral
number of wavelengths multiplied by sqrt(2), so that your source is still
a periodic function. Otherwise the problem is somewhat ill-posed.
The vertical source isn't necessary, it is just helpful when you have a
finite source in order to make the resulting wave more planewave-like. If
you have periodic boundary conditions with appropriate periodicity, then
the source is infinite and produces a true planewave from a single source
plane.
I also noticed that kxcos and kycos were defined but never used in the
script.
Yes, they can be deleted.
On another note, is there any documentation on vector3-dot, vector3+,
vector3-scale etc? The names give a good indication of what they do, but
with documentation, I could know all the vector3 type functions available in
Meep.
They are documented in the libctl manual.
-- SGJ
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss