Re: I shift the rows of PCW in y deirection but epsilon show the rows are shifted in x too. Why?

"Steven G. Johnson" <[email protected]>
Newsgroups gmane.comp.science.photonic-bands
Message-ID <[email protected]>
On May 27, 2009, at 4:39 AM, Hassan Aghababaeian wrote:
> I am studying the effect of the defect width  of PC waveguide on  
> dispersion curve.
> The CTL file is attached.
> first I erase three  row of the holes in middle, and add two rows  
> with a displacement in y direction.
> As you see the attached epsilon files for different displacement,  
> you can see the rows are shifted in x direction as well.

You didn't attach your whole ctl file, but I'm guessing that the  
reason is that your geometry-lattice is not orthogonal.  The  
coordinates for positions are specified in the basis of the lattice  
vectors, not in Cartesian coordinates (although you can convert  
between the two with the cartesian->lattice function).

It will probably be easier if you define your line defect using an  
orthogonal supercell.  See, for example:

http://thread.gmane.org/gmane.comp.science.photonic-bands/1376

Steven
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.