Dear meep users:
   I am trying to use the direction of the axis of the block to construct the 
hexagonal shape. But I noticed the shape doesn't show the hexagonal structure 
with 120 degree for each angle.
    Actually I am kinda confused on how to define the size when these three 
vector are not perpendicular to each other. Since based the code below, the 
figure shows the width is larger the height.
  
  Attach the part of code

(set! geometry (list
                (make block (center (* 0.5 200) 0 (* 0.5 200)) (size 200 200 
200) (material GaAs) (e1 1 1.732 0) (e2 1 -1.732 0) (e3 0 0 1) )
                (make block (center (* -0.5 200) 0 (* 0.5 200)) (size 200 200 
200) (material GaAs) (e1 1 1.732 0) (e2 1 -1.732 0) (e3 0 0 1) )               
                (make block (center 0 0 (* 0.5 200)) (size 200 (* 400 0.866) 
200) (material GaAs)  )

                ))

  Is there anything wrong with this code?
  Many thanks


Cheers
Adrian



      
_________________________________________________________________________________________________________
想知道無聊生活如何大變身嘛? http://tw.promote.mail.yahoo.com/dc/change.html
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to