On Thu, 19 Apr 2007, John Doe wrote: > I want to simulate the transmission through a 3D PhC and I 'll use a > source with a various directions (for example (111) direction). I try > this guile code, but it doesn't works.
"It doesn't work" is not a useful description of your problem. Break your problem into steps. Try the source with no structure, and make sure it looks like what you intend (if you want an incident wave at an angle, note that you will need a spatially varying amplitude function; this has been discussed extensively on this list). Once you include your structure, output the epsilon function and make sure it looks like what you intend. Etc. Cordially, Steven G. Johnson _______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss