Dear Meep community,
I need to sample a field component at a given set of points (not lying along a
straight line) at a single instant of time, and output it at consolle for
further processing (i.e. harminv to approximate the dispersion relation,
specifically).
I was thinking of using a step function along these lines:
(at-time T
(map (lambda (P) (get-field-point Hz P)
)
(list p1 p2 ... pN) )
)
with p1, p2..pN being vector3 arrays that I specigy earlier in the code. A
printing function such as the following could take care of the output, instead
of get-field-point above.
(define (my-field-point)
(print "Hz " (meep-time) "\t" (get-field-point Hz pi) ))
Does anyone have experience in this type of hack?
Thank you in advance and kind regards
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss