Could you explain how PEC is implemented exactly? Is the large,
negative epsilon a Maxwellian interpretation of a PEC (if so, how?) or
is there some hard-coded check in the code which sets the fields to zero
if the epsilon is less than some value (if so, where in the code?)
Some unrelated side questions -
What does the second argument m refer to here?:
fields::fields(structure *s, double m, bool store_pol_energy) :
S(s->S), v(s->v), user_volume(s->user_volume), gv(s->gv), m(m)
Also, is it correct that the subdirectory "hsrc" is now vestigial?
On Mon, 4 Aug 2008, Steven G. Johnson wrote:
> On Aug 4, 2008, at 4:42 PM, matt wrote:
>> Return a value from your eps function which is large and negative.
>> -1e20 should work.
>
> Or better yet, -HUGE_VAL (which is defined in math.h, and should give -
> Inf).
>
> Steven
>
> _______________________________________________
> meep-discuss mailing list
> [email protected]
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
>
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss