good night all Meep users. 

My second problem s about ascending  geometric-object-duplicates command . I 
try to define photonic crystal 2 D, and I try to  duplicate a cylinder in 2 
directions, x and y. I use this code 

(set! geometry  
    (append 
           (geometric-objects-duplicates (vector3 0 0 1) 0 5
            (list
                (geometric-objects-duplicates (vector3 1 0 0) 0 50
                                     (list
                                           (make cylinder (center 0 5 0) 
(radius 0.35) (height 6) (axis 0 1 0)  
                               (material silicon))))

                (geometric-objects-duplicates (vector3 -1 0 0) 0 50
                                     (list
                                           (make cylinder (center 0 5 0) 
(radius 0.35) (height 6) (axis 0 1 0)  
                               (material silicon))))))))


Meep shows error message 

ERROR: In procedure vector->list:
ERROR: Wrong type argument in position 1 (expecting VECTORP): #f

for fullfiling my purpose, what code do I have to write?

Thank you so much for the answer. 


with regard
Andika Asyuda




      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to