Dear Professor,
Sorry, the error message is "Unbound variable: k-point".
Could you please so kind to give an example for just specify one
direction periodical, and other directions PML?
Ryan hao
On 12/08/2008, Ryan Hao <[EMAIL PROTECTED]> wrote:
>
>
>
>
> 2008/8/12 Steven G. Johnson <[EMAIL PROTECTED]>
>
>> On Aug 11, 2008, at 7:58 AM, Ryan Hao wrote:
>> > If I only want the period in Y direction:
>> >
>> > (set-param! k-point (vector3 0 0 0))
>> > ; firstly set the X,Y,Z directions into periodic boundary, because I
>> > saw many people do this in this mail list
>> > (set! pml-layers (list (make pml (direction X)(thickness dpml))
>> > (make pml (direction Z)(thickness dpml)) ))
>> > ; secondly change the X,Z directions into PML
>>
>>
>> The second line doesn't "change" the X and Z directions into PML. You
>> are have the common misunderstanding that PML has something to do with
>> the boundary condition. It doesn't. PML is not a boundary
>> condition. You can use PML with any boundary condition, including
>> periodic.
>>
>> What the second line does is to specify that the periodic X and Z
>> directions have PML absorbing layers adjacent to those periodic
>> boundaries. (Those directions are still periodic but the periodicity
>> is irrelevant because waves are absorbed before they propagate back
>> into the interior of the cell around the periodic boundaries.)
>>
>> > When I do this, MEEP trace an error: "infinite period for "set-
>> > param! k-point""
>>
>>
>> Are you sure that is the *exact* error message? I searched through
>> the source code of Meep, libctl, and Guile, and found no instances of
>> the words "infinite period", so I don't see how that error message
>> could have been generated.
>>
>> Regards,
>> Steven G. Johnson
>>
>> _______________________________________________
>> meep-discuss mailing list
>> [email protected]
>> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
>>
>>
>
>
>
>
>
>
>
--
==============================
Sincerely
Yours,
Ryan Hao
PhD candidate
Wuhan National Laboratory for Optoelectronics
College of Optoelectronic Science and Engineering,
Huazhong University of Science & Technology,
Wuhan, 430074, P.R.CHINA
Phone: 86-027-87792242-809(O)
Website:
http://www.wnlo.net/spm/People_Ryan_Hao.html
http://wnlo.hust.edu.cn/spm/People_Group.html
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss