Dear Steven and Meep users, I'm trying to simulate a plane wave impinging on a periodic structure along the x direction, but not at normal incidence. For this I need both periodic boundary conditions and a phase on the source. which I've succeeded using amp-func for continuous-src, for instance (define-param kx (* sintheta omega)) (set! k-point (vector3 kx 0 0)) (define (my-amp-func r) (exp (* (sqrt -1) kx (vector3-x r)))) (make source (src (make continuous-src (frequency omega) (end-time 200))) (component Ez) (center 0 3) (size sx 0) (amp-func my-amp-func) ))) but if I understand correctly, it shouldn't work for a pulse, since omega isn't constant. Is there any other solution that might work? Thank you very much, Gidi Lasovski
_______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

