On Sep 25, 2008, at 3:12 PM, mehdi kamali wrote: > I want to simulate the propagation of input source into a photonic > crystal sample at an arbitrary direction. but I dont know how to set > the direction of propagation in source class. Could anyone help me ?
This has been discussed before several times on the mailing list. Basically, the source is just an antenna (i.e., a current source in Maxwell's equations). It doesn't have a "direction" per se. However, just as you can create a directional antenna by a phased array, you can create a directional source by setting the phase of the current appropriately. See, for example, the discussion in: http://thread.gmane.org/gmane.comp.science.electromagnetism.meep.general/713/focus=714 http://thread.gmane.org/gmane.comp.science.electromagnetism.meep.general/702/focus=706 http://thread.gmane.org/gmane.comp.science.electromagnetism.meep.general/240/focus=241 Steven _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

