On Mon, 14 May 2007, lrj wrote: > In meep reference, it says that if the k-point is a vector, then the > boundaries are bloch-periodic. My question is: if the boundary condition > is periodic in one direction, for example in x direction , how can i set > the k-point? > > (set! k-point (vetor3 1 0 0))? > or (set! k-point (vetor3 0 0 0))
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 for a more precise technical definition). Setting it to (vector3 0 0 0) makes all the boundaries periodic. If you only want a structure periodic in the x direction, I'm guessing you want to have absorbing boundaries in the other direction. In this case you can just add PML in those cases, regardless of the boundary conditions. The key point is the PML is not a boundary condition. It is an artificial absorbing material placed adjacent to the boundaries. The boundary condition (periodic, metallic, whatever) is basically irrelevant to the operation of the PML. Cordially, Steven G. Johnson _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

