Is there a reason why flux-in-box works inside a print statement but not inside a variable assignment?
The following statement works: (print "\nflux is: " (flux-in-box X (volume (center 0 0) (size 1 1)))) But the following statements croak: (define foo 0) (define (set-variables) (set! foo (flux-in-box X (volume (center 0 0) (size 1 1))) ) ) The same behavior seems to apply to field-energy-in-box, i.e. the function works inside a print statement but not inside a variable assignment. Thanks. _______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss