Return a value from your eps function which is large and negative.
-1e20 should work.
For metallic computation domain boundaries you can do this:
structure s(vol, eps);
fields f(&s);
f.set_boundary(High, X, Metallic);
f.set_boundary(Low, X, Metallic);
f.set_boundary(High, Y, Metallic);
f.set_boundary(Low, Y, Metallic);
On Mon, 4 Aug 2008, Jefferson Thomas wrote:
> Hi,
>
> I would like to know how to use the perfect metal in the C++
> interface. I can not find it in the documentation.
> Do I have to return some specific value from the eps function or it is
> done in a different way ?
>
> Thomas Jefferson
>
> _______________________________________________
> 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