good night all Meep users. I have 2 questions aout geometric-object-duplicates 
command . I hope your help

I try to define a photonic crystal material y duplicating a cylinder in certain 
directions until I get photonic crystal structure. I use 
geometric-object-duplicates command like this

(set! geometry  
    (append
        
                

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


Actually it's not working. It shows error message 

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

I'e tried  to remove append command, and it shows the same error message. It 
will be working, if I use list command after  geometric-object-duplicates. Why 
is that? What code do I have to write?
Thank you for the answer

                                                                                
                                                           with regard 
                                                                                
                                                        Andika Asyuda





      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to