Greetings yet again,
lots of questions today!

I was wondering what the new syntax means,
(flux-in-box fields dir box)
(electric-energy-in-box field box) - I understand a scalar needs no
direction here, but namely fields vs. field.

I've tried the following and none seems to work:

fields X
field X
Ex
efield-x
X

exs.
(electric-energy-in-box fields X (volume (center (* 3 c) (-
y_launch) 0) (size c 0 0)))

(electric-energy-in-box Ex (volume (center (* 3 c) (- y_launch) 0)
(size c 0 0)))

(electric-energy-in-box efield-x (volume (center (* 3 c) (-
y_launch) 0) (size c 0 0)))

I had an old libctl script in 0.9 that worked and tried to use that
(below) but to no avail.

(define (Y-flux) (newline) (print "   Y-flux, "
meep-fields-flux-in-box fields Y (volume (center (* 3 c) (-
y_launch) 0) (size c 0 0))) " ") (newline))


I think users would find it useful to examples of syntax for these
C++ related functions on the Ab-Initio Wiki.  I see the one for
Flux-in-box, but that's different than the electric-energy.

Thank you for always being so prompt!
Chad

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

Reply via email to