On Feb 29, 2008, at 1:48 PM, andika asyuda wrote:
> 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

At least one probem in your code is that you are calling
     (geometric-objects-duplicates ....
        (list ((geometric-objects-duplicates ....) (geometric-objects- 
duplicates ....))

What you are passing to the outer geometric-objects-duplicates call is  
not a list of objects (as required), but a list of two lists of  
objects.  A list of lists is not the same thing as a single list; to  
combine the lists from the two inner geometric-objects-duplicates  
calls, you need to use "append", not "list".

Steven


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

Reply via email to