Hi,

I'd like to do some eigenfrequency calculations with meep.

For testing purpose I've written a simple ctl-file,
and defined an example source as:

---------------------------------------------
(define (own_source r)
(exp (* 0+2.0i pi (vector3* r k-point)))
)

(set! sources (list
                (make source
                 (src (make gaussian-src (frequency 0.7) (fwidth 1.5)))
                 (component Hz)

                 (center 0 0 0)
                 (size 1 1 1)
                 (amp-func own_source))
  

                 
 ))


(set-param! k-point (vector3 0.0 0 0))
(set! force-complex-fields? #t)
(set! resolution 20)

(set! eps-averaging? #t)
(run-k-point 300 (vector3 0 0 0))
-------------------------------------------------

If the component is Hz, no frequency could be found,
but if the component is Ez harminv finds some.

When I look in meep.scm, I find that the function run-k-point seems to seek 
for the correct field-component in the source(s) and gives the parameter to 
harminv.

So where is my mistake?

kindly regards
Andreas 

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

Reply via email to