Diamond lattice
Setareh Rezaei <[email protected]> Fri, 9 Dec 2016 19:25:32 -0500
| Newsgroups | gmane.comp.science.photonic-bands |
|---|---|
| Message-ID | <CACTCKAvpSx2q4U1pkhFYYFW4SnQJv_Uap9o2K6Z-HGiM4nezCA@mail.gmail.com> |
--===============4665076190430033392== Content-Type: multipart/alternative; boundary=94eb2c0827b292f8b6054342e824 --94eb2c0827b292f8b6054342e824 Content-Type: text/plain; charset=UTF-8 Hi I have a orthogonal Cartesian grid in which the value of epsilon is set on each grid point for diamond lattice. I want to import this into MPB. But it seems that I must convert my whole grid into non-orthogonal grid which is used in MPB, assuming these are the basis vectors: (set! geometry-lattice (make lattice (basis-size (sqrt 0.5) (sqrt 0.5) (sqrt 0.5)) (basis1 0 1 1) (basis2 1 0 1) (basis3 1 1 0))) Could you please help me how I can import such data into MPB? Thanks Setareh --94eb2c0827b292f8b6054342e824 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi<div><br></div><div>I have a orthogonal Cartesian grid i= n which the value of epsilon is set on each grid point for diamond lattice.= I want to import this into MPB. But it seems that I must convert my whole = grid into non-orthogonal grid which is used in MPB, assuming these are the = basis vectors:</div><div><br></div><div>(set! geometry-lattice (make lattic= e</div><div>(basis-size (sqrt 0.5) (sqrt 0.5) (sqrt 0.5))</div><div>(basis1= 0 1 1)</div><div>(basis2 1 0 1)</div><div>(basis3 1 1 0)))=C2=A0</div><div= ><br></div><div>Could you please help me how I can import such data into MP= B?=C2=A0</div><div><br></div><div>Thanks</div><div>Setareh</div></div> --94eb2c0827b292f8b6054342e824-- --===============4665076190430033392== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbXBiLWRpc2N1 c3MgbWFpbGluZyBsaXN0Cm1wYi1kaXNjdXNzQGFiLWluaXRpby5taXQuZWR1Cmh0dHA6Ly9hYi1p bml0aW8ubWl0LmVkdS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbXBiLWRpc2N1c3M= --===============4665076190430033392==--