Each k-vector specifies a different periodicity.  If you're 1D periodic 
in X, you would do something like

(set-param! k-point (vector3 0.4 0))

the z-component of the vector3 defaults to 0.

if you want to run many k-points (to obtain a band diagram, for 
example), you can do something like this:

(define-param k-interp 19)
(run-k-points 300 (interpolate k-interp (list (vector3 0) (vector3 0.5))))

There's a nice example here:
http://ab-initio.mit.edu/wiki/index.php/Meep_Tutorial/Band_diagram%2C_resonant_modes%2C_and_transmission_in_a_holey_waveguide

Best,
Matt



On Mon, 14 May 2007, lrj wrote:

> hello,
>
> 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))
> I saw in some ctl files pasted in meep-discuss the latter is used whatever 
> direction the periodic boundary is added.
> who can tell me how to set k-point?
>

_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to