Sorry,Ben.I'm a new learner in China.I almost know nothing about meep,can you 
teach me how to learn it?
At 2013-03-25 20:16:26,Ben <[email protected]> wrote:
>Hello,
>
>I'm tring to generate the near-field pattern of an antenna with meep. I 
>managed 
>to plot the time domain response to a Gaussian impulse/continuous source but 
>that takes a very long time. Besides, I just want the field pattern at the 
>resonant frequency.
>
>I saw in the reference page that there is a frequency solver which does 
>exactly 
>what I need. Unfortunately, it fails with this error:
>
>
>
>
>ERROR: In procedure meep-fields-solve-cw:
>ERROR: No matching method for generic function `meep_fields_solve_cw'
>
>
>
>
>I have something like this at the end of my geometry:
>
>
>
>
>(set! sources (list
>               (make source
>                 (src (make continuous-src (frequency fcen)))
>                 (component Ez) (center 0 0))
>))
> 
>(set! force-complex-fields? true)
> 
>(init-fields)
>
>(define tol 10e-8)
>(define maxiters 10e4)
>(define L 2)
>(meep-fields-solve-cw fields tol maxiters L)
>
>
>
>
>Is there anything I am missing? Or is it a bug of the function (meep-fields-
>solve-cw) ??
>
>Thanks
>Ben
>
>
>
>


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

Reply via email to