Thanks. One more thing about adding the sources in case of symmetries :
If I have a box of sizes 4, 4, 4 with odd symmetry on X and I want to add
a source with Ex with
f.add_point_source(Ex, src, vec(1, 1, 1), 10); where 10 means
the amplitude
then as far as I understand I have to add a symmetric source with
f.add_point_source(Ex, src, vec(3, 1, 1), 10);
But if my symmetry was not on X but on Y axis then I think I should
add a source with a negative amplitude :
f.add_point_source(Ex, src, vec(1, 3, 1), -10);
Furthermore, if I have both X and Y symmetries then
beside adding previous two sources I should also add an additional
source in :
f.add_point_source(Ex, src, vec(3, 3, 1), -10);
Is it correct ?
Sorry for taking you so much time with my questions
and thank you for your help.
Thomas Jefferson
2008/7/31 Steven G. Johnson <[EMAIL PROTECTED]>:
> On Jul 31, 2008, at 12:15 AM, Jefferson Thomas wrote:
>>
>> I have also some other kind of divergences in other cases. They seem
>> not to be connected
>> to symmetries but arise from PML layers. I am starting to think if I
>> am not doing
>> any similar mistake there with those last pixels beyond the calculation
>> volume.
>> In general what should appear on those last pixels ? Normally I just
>> extend my
>> photonic crystal there without any special treatment. Is meep
>> expecting something special there ?
>
> Other than the case of symmetries, Meep doesn't expect anything special of
> your dielectric function.
>
>
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss