hi,
i think you need (set! default-material ...) not (set! default material ...).
cheers
nate
fred <[EMAIL PROTECTED]> wrote:
Hi all,
My question might be easy but I am new to photonic
crystal and mpb.
I have written a simple (I hope) ctl file and it does not seem to
run. I would
be grateful is you can spot something wrong with the ctl file below
(set! resolution 1024)
(define-param eps1 12)
(define-param eps2 5.45)
(set! geometry-lattice (make lattice (size 1 no-size no-size)))
(define-param d1 0.3)
(define-param d2 0.3)
(set! default material (make dielectric (epsilon eps2)))
(set! geometry (list (make block (center 0)
(size d1 infinity infinity) (material (make dielectric (epsilon eps1))))))
(set! k-points (list (vector3 0) (vector3 0.5)
(set! k-points (interpolate k-points 9))
(set-param! num-bands 5)
(run-tm)
I get an error that says
ERROR: In procedure set!:
ERROR: missing or extra expression
in my output file.
One more thing , what is meant by " quarter-wave thickness or
half-wave-thickness) I have seen Steven use it in example ctl but I dont
understand what it really means. Help is greatly appreciated.
Cheers.
_______________________________________________
mpb-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
nate lipkowitz
416 823 8057
[EMAIL PROTECTED]
_______________________________________________
mpb-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss