I want to calculate flux spectrum and set up test ctl file like this,
set! geometry-lattice (make lattice (size 10 10 no-size)))
(define-param eps 5.9536)
(define-param fcen 0.465)
(define-param df 3)
(define-param nfreq 100)
(set-param! resolution 20)
(set! pml-layers (list (make pml (thickness 1))))
(set! sources
(list
(make source
(src (make gaussian-src (frequency fcen) (fwidth df)))
(component Ex) (center 0 0))))
(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) )
;Y direction
(make flux-region (center 0 3 ) (size 6 0 ) (direction Y) (weight 1.0) )
(make flux-region (center 0 -3 ) (size 6 0 ) (direction Y) (weight -1.0) )
)
)
(run-sources+ 30)
(display-fluxes trans)
and this code return these two error messages,
ERROR: In procedure new-meep-geometric-volume-list:
ERROR: No matching method for generic function `new_meep_geometric_volume_list'
But, if I set up only one flux-region(e.g. +X line) it work. I don't understand why I can't
setup not only one flux-region. Please help me.
Thanks.
--
Ki-young Choi
_______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

