Hallo meeps,

So let's suppose I have a field function like this one:

(define (f r ex hz eps)
   (- (+ (* (vector3-x r) (vector3-norm r)) ex) (* eps hz)))

and meep has computed the field

(define (my-weird-output) (output-field-function "weird-function"
(list Ex Hz Dielectric) f))

(run-until 200 (synchronized-magnetic (at-every 1 my-weird-output)))

and then I put in the instruction:

(print "The integral of our weird function from (-1,0,0) to (1,0,0) is: "
       (integrate-field-function (list Ex Hz Dielectric) f (volume
(size 1 0 0) (center 0 0 0))) "\n").

Is the integral computed at time 200? If not, what determines when the
integral is computed?

Thanks,
Alan Forrester

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

Reply via email to