Hi,
I have the error I can't cope with while trying to claculate fluxes
(reflection and transmission). It occurs after the run-sources on the
save-flux by

field decay(t = 300.3): 9.91305932196902e-15 / 5.54199303758721e-11 =
1.78871739006818e-4
run 0 finished at t = 300.3 (6006 timesteps)
creating output file "./cocka_dbg-reflant-flux.h5"...
ERROR: Wrong type to apply: #<unspecified>

probably on the line:

...
128         (if no-ant? ((save-flux "reflant-flux" reflant)
129                         (save-flux "transcoc-flux" transcoc)))

where no-ant? is set to true, reflant and transcoc are defined before

  99         (define reflant ; reflected flux
100          (add-flux fcen df nfreq
101           (make flux-region
102            (center  0 0 (+ vcone vant posun)) (size sr no-size 0))))
103
104         (define transcoc ; reflected flux
105          (add-flux fcen df nfreq
106           (make flux-region
107            (center  0 0 (+ posun vcone vant v)) (size sr no-size 0))))

I do not see any reason or syntax error. Could you help me to find? The
problem is 2D.

Thanks
   Lukas


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

Reply via email to