Hi,
 
    2D calculations means that your block have no size in Z direction.
   secondly, the size of your block is too larger than your lattice, you said 
that sx=1, and your block's size is 6.2831, so you may increase sx, for example 
10, or you may reduce the block size too 0.62 for example if you want conserve 
sx equal to 1.
 
   Best regards
 

--- On Tue, 2/15/11, [email protected] <[email protected]> wrote:


From: [email protected] <[email protected]>
Subject: Re: [MPB-discuss] mpb-discuss Digest, Vol 60, Issue 3 (2D Photonic 
Crystal (PC) vein structure)
To: [email protected]
Date: Tuesday, February 15, 2011, 9:59 AM


Here's what I wrote:
 
 
(set! num-bands 8)
 
(set! k-points (list (vector3 0 0 0)(vector3 0.5 0 0)(vector3 0.5 0.5 
0.5)(vector3 0 0 0)))
 
(set! k-points (interpolate 4 k-points))
 
(set! geometry (list (make block (center 0 0 0)(material (make dielectric 
(epsilon 8.9))) (size 6.2831 6.2831 6.2831)  )  (make block (center 0 0 
0)(material air)(size 5.2464 5.2464 5.2464) )    ))
 
(set! geometry-lattice (make lattice (size 1 1 no-size)))
 
(set! resolution 32)
 
(run-tm)
 
but i doesn't work properly :/
 
-----Messaggio originale-----
Da: [email protected]
Inviato il: 15 Feb 2011 - 12:00
A: [email protected]


Send mpb-discuss mailing list submissions to
[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss
or, via email, send a message with subject or body 'help' to
[email protected]

You can reach the person managing the list at
[email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of mpb-discuss digest..."


Today's Topics:

1. 2D Photonic Crystal (PC) vein structure ([email protected])
2. Re: 2D Photonic Crystal (PC) vein structure (mahmoud hamoud)


----------------------------------------------------------------------

Message: 1
Date: 15 Feb 2011 13:15:16 -0000
From: [email protected]
Subject: [MPB-discuss] 2D Photonic Crystal (PC) vein structure
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL: 
<http://ab-initio.mit.edu/pipermail/mpb-discuss/attachments/20110215/de4c67d1/attachment.html>

------------------------------

Message: 2
Date: Tue, 15 Feb 2011 06:22:54 -0800 (PST)
From: mahmoud hamoud 
Subject: Re: [MPB-discuss] 2D Photonic Crystal (PC) vein structure
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"


?? Hi,
?? you have to define a block with the approriate width in x and y 
direction?instead of cylinder with radius.hope this help
? Best regards
--- On Tue, 2/15/11, [email protected] wrote:


From: [email protected] 
Subject: [MPB-discuss] 2D Photonic Crystal (PC) vein structure
To: [email protected]
Date: Tuesday, February 15, 2011, 5:15 AM


Hey There everyone,
?
I've recently downloaded the mpb package and installed it correctly, so 
everything seems to work fine. I saw that there are different examples of C++ 
codes to compute 2D PC band structures when the crystal is made of?a square 
lattice?of columns consisting of a material with a di?erent dielectric 
constant, with?
radius r=0.2a (a being the side lattice) and dielectric constant ?=8.9.?
Now I'd like to compute the PC band structure in the case where the crystal is 
made of veins (width=0.165 a) distribution of dielectric material, but I don't 
manage to write the correct C++ code for this to happen.
Can please someone give me a hand?
?
pietro?

-------------------------------------------------------------------------------
Valore legale alle tue mail
InterfreePEC - la tua Posta Elettronica Certificata
http://pec.interfree.it
-------------------------------------------------------------------------------

-----Inline Attachment Follows-----


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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://ab-initio.mit.edu/pipermail/mpb-discuss/attachments/20110215/815cc9fe/attachment-0001.htm>

------------------------------

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

End of mpb-discuss Digest, Vol 60, Issue 3
******************************************

-------------------------------------------------------------------------------
Valore legale alle tue mail
InterfreePEC - la tua Posta Elettronica Certificata
http://pec.interfree.it
-------------------------------------------------------------------------------

-----Inline Attachment Follows-----


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


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

Reply via email to