Dear MEEP users
With this code I get negative modal volumes which I don't understand. I also
didn't found something about "meep-fields-modal-volume-in-box" in the reference,
especially how to interpret the numbers the function generate. I suppose it is
the volume in MEEP space units cubed.
/ 3D, PML boundaries, space without structures
(define (doit x x-max dx)
(if (<= x x-max)
(begin
(run-until 0.5)
(print "The modal volume is: " (meep-fields-modal-volume-in-box fields
(meep-fields-total-volume fields))"\n"
)
(doit (+ x dx) x-max dx))))
(doit 0 24000 1)
Thank you in advance!
Waldemar
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss