On May 22, 2006, at 5:49 AM, K. Choi wrote:

(define trans
 (add-flux frequency 0.1 100
   (make flux-region
     (center 2 0 0) (size no-size 2 2) (direction X)  )))



this appears to be the problem, try:

(define trans (add-flux 0.15 0.1 100 (make flux-region
    (center 2 0 0) (size no-size 2 2) (direction X)  )))

where 0.15 is the center frequency, 0.1 is the width and 100 is the number of frequency points.

of course, the output will be all zeroes since you are launching the wave at the center, tracking the flux two cells away but only running for a time of 1, so the launched wave hasn't gotten to the flux plane (only through the first cell). run it for a time of at least 2. "(direction X)" appears to be redundant, btw.



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

Reply via email to