Hello.
I want to use the sine wave for the input. Then, “continuous source"
was chosen and tried.
However, the result like the sine wave cannot be obtained.
(define (my-output)
(print "sampled field:\t " (meep-time) "\t "
(get-field-point Ez (vector3 0 0)) "\n"))
(set! geometry-lattice (make lattice (size 8 8 no-size)))
(set! sources (list
(make source
(src (make continuous-src (frequency 1)))
(component Ez)
(center 0 0))))
(set! pml-layers (list (make pml (thickness 1.0))))
(set! resolution 10)
(run-until 500
(at-beginning output-epsilon)
(at-every 1 my-output)
(at-end output-efield-z))
Has it made a mistake in the selection of the input wave?
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss