Hello,
I tried to find out how to make twodimenstional lattice of columns (MxN)
which I have not found in the manual. I made myself simple procedure for
geometry variable generation which unfortunately seems to result in some
scheme error. I do not see the reason for this so I please meep community
for advise.

Here is the output
meep pokus_defekt.ctl
ERROR: In procedure length:
ERROR: Wrong type argument in position 1: (((cylinder geometric-object)
(height . 1.0e20) (radius . 0.4) (axis . #(0 0 1)) (material (dielectric
material-type) (epsilon . 1) (polarizations) (chi2 . 0) (chi3 . 0))
(center . #(3 3 0))) ((cylinder geometric-object) (height . 1.0e20)
(radius . 0.4) (axis . #(0 0 1)) (material (dielectric material-type)
(epsilon . 1) (polarizations) (chi2 . 0) (chi3 . 0)) (center . #(2 3 0)))
((cylinder geometric-object) (height . 1.0e20) (radius . 0.4) (axis . #(0
0 1)) (material (dielectric material-type) (epsilon . 1) (polarizations)
(chi2 . 0) (chi3 . 0)) (center . #(1 3 0))) ((cylinder geometric-object)
(height . 1.0e20) (radius . 0.4) (axis . #(0 0 1)) (material (dielectric
material-type) (epsilon . 1) (polarizations) (chi2 . 0) (chi3 . 0))
(center . #(0 3 0))) ((cylinder geometric-object) (height . 1.0e20)
(radius . 0.4) (axis . #(0 0 1)) (material (dielectric material-type)
(epsilon . 1) (polarizations) (chi2 . 0) (chi3 . 0)) (center . #(3 2 0)))
((cylinder geometric-object) (height . 1.0e20) (radius . 0.4) (axis . #(0
0 1)) (material (dielectric material-type) (epsilon . 1) (polarizations)
(chi2 . 0) (chi3 . 0)) (center . #(2 2 0))) ((cylinder geometric-object)
(height . 1.0e20) (radius . 0.4) (axis . #(0 0 1)) (material (dielectric
material-type) (epsilon . 1) (polarizations) (chi2 . 0) (chi3 . 0))
(center . #(1 2 0))) ((cylinder geometric-object) (height . 1.0e20)
(radius . 0.4) (axis . #(0 0 1)) (material (dielectric material-type)
(epsilon . 1) (polarizations) (chi2 . 0) (chi3 . 0)) (center . #(0 2 0)))
((cylinder geometric-object) (height . 1.0e20) (radius . 0.4) (axis . #(0
0 1)) (material (dielectric material-type) (epsilon . 1) (polarizations)
(chi2 . 0) (chi3 . 0)) (center . #(3 1 0))) ((cylinder geometric-object)
(height . 1.0e20) (radius . 0.4) (axis . #(0 0 1)) (material (dielectric
material-type) (epsilon . 1) (polarizations) (chi2 . 0) (chi3 . 0))
(center . #(2 1 0))) ((cylinder geometric-object) (height . 1.0e20)
(radius . 0.4) (axis . #(0 0 1)) (material (dielectric material-type)
(epsilon . 1) (polarizations) (chi2 . 0) (chi3 . 0)) (center . #(1 1 0)))
((cylinder geometric-object) (height . 1.0e20) (radius . 0.4) (axis . #(0
0 1)) (material (dielectric material-type) (epsilon . 1) (polarizations)
(chi2 . 0) (chi3 . 0)) (center . #(0 1 0))) . 0)

And the source file is attached.
All advices will be appreciated.

   Lukas Oliva

Attachment: pokus_defekt.ctl
Description: Binary data

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

Reply via email to