1d periodic structure.

fred <[email protected]>
Newsgroups gmane.comp.science.photonic-bands
Message-ID <[email protected]>
   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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.