Le 27 October 2006, Steven G. Johnson, à bout, prit son clavier pour
taper sur son écran:
> I think you are confused about the meaning of the k-point.  If you set the 
> k-point to *any* vector, the structure will be periodic in *all* 
> directions.  (There is a way to do a mix of periodic and metalli 
> boundaries, but it is somewhat hidden in the libctl interface.)

Damn ! Ok so what is the solution then to have a periodic structure in 2
directions only ? Is it correct to set k-point and then put a pml-layers in
the direction where we don't want periodicity ? For example I want periodicity
in X and Y only, so I do:
(set! k-point (vector3 0 0 0))
(set! ensure-periodicity true)
(set! pml-layers (list (make pml (direction Z) (thickness 1.0))))

Is there a more proper way ?

Cheers.

-- 

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

Reply via email to