meep> (define-param eps 12)
meep> (define-param w 1.2)
meep> (define-param r 0.36)
meep> (define-param d 1.4)
meep> (define-param N 3)
meep> (define-param sy 6)
meep> (define-param pad 2)
meep> (define-param dpml 1)
meep> (define sx (+ (* 2 (+ pad dpml N)) d-1))

Backtrace:
In current input:
   9: 0* (define sx (+ (* 2 (+ pad dpml N)) d-1))
   9: 1* [+ 12 ...

<unnamed port>:9:12: While evaluating arguments to + 
in expression (+ (* 2 #) d-1):

<unnamed port>:9:12: Unbound variable: d-1
ABORT: (unbound-variable)

I am just copying this from the tutorial and am getting an error . Why so ?


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

Reply via email to