Re: [Meep-discuss] How to set Periodic Boundary Condition in XY plane of 2D photonic crystal

2010-08-19 Thread 蒙自明 Ziming Meng
Dear Little Gu,     I think Steven Johnson have ever replied the similar question in the mail list. The content is pasted as follows:     "For periodic boundaries, you should set the k-point to 0.  This means that     there is 0 phase difference between the boundaries (see the manual f

[Meep-discuss] How to set Periodic Boundary Condition in XY plane of 2D photonic crystal

2010-08-19 Thread little Gu
Deer Meepers, I'd like to simulate the Ez/Hz distribution ina real 2D photonic crystal, which means it has finite length and a substrate. I set PML in Z direction and want to set Periodic Boundary Condition(PBC) of the cell in XY plane, Here is my question; How to set PBC in XY plane or just leav

[Meep-discuss] Periodic Boundary Condition is default?

2010-08-19 Thread little Gu
Dear Meepers, I red the tutorial "Band diagram" on the website and it specifies PML in Y direction. So the boundary condition in X direction is Periodic Boundary Condtion. I'd like to know if I don't set any boundary condition in this example, the default condition Meep sets in it will be Periodi

[Meep-discuss] How to view epsilon from X or Y direction

2010-08-19 Thread little Gu
Greetings, I have one Cylinder with a Block substrate in a 3D cell. (set! geometry-lattice (make lattice (size sxy sxy 14))) (set! geometry (list (make cylinder (center 0 0 0.5) (height 10) (radius r) (material (make dielectric (index n

[Meep-discuss] make sector in meep

2010-08-19 Thread J D
Dear Meep users, How can I make a sector structure in meep? So far I can only make a cylinder, but I don't know how to cut and form a sector in the cylinder. Thanks! ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/