On Thu, 15 Jun 2006, Jun She wrote:
I read Meep Reference and found that function eps-averaging can average the sub-pixel when initializing the dielectric function. How to use the same funtion in C++ code?
Use the structure::set_epsilon function, which has a parameter to turn on averaging.
(Currently, the averaging is very slow to initialize and is not as accurate as it could be, but we have a much faster and more accurate version in the pipeline for release this summer. At that point we'll probably turn it on by default.)
Stevne _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

