On Sun, 25 Jun 2006, K. Choi wrote:
(define trans
(add-flux fcen df nfreq
  ;X direction
  (make flux-region (center 3 0 ) (size 0 6 ) (direction X) (weight 1) )
  (make flux-region (center -3 0 ) (size 0 6 ) (direction X) (weight -1) )

Hi, I looked into this, and add-flux is broken for multiple flux-regions, at least in the Scheme interface.

This will be fixed in the next release, but for now you should just call add-flux multiple times, with one flux-region each time.

(The main reason for supporting multiple flux-regions per add-flux is so that Meep can automatically eliminate flux regions that are redundant by symmetry. Of course, you can still do this by hand.)

Steven

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

Reply via email to