Dear all, For the old meep, the dispersion material approach works very well, except it's difficult to choose the parameters since there is not a good model for a wide frequency range.
Thus, I'm very happy to find out the imaginary part is supported in the new version. However, I can not get the correct result any more. The fields always jump to infinity when reach the metal part. I just defined the conductivity function in a similar way as the epsilon function. For the metal part, return the conductivity; for the other part, return 0. Then use the structure::set_conductivity(Dielectric, conductivity) to set the imaginary part. Is it correct? I checked the meep.hpp file, it seems the default averaging option is turned off this time. As the real part of the dielectric constant will be a big negative number when using a complex value, I'm not sure whether 0.20 can handle this well. Since the averaging option problem is a common one in the old version, I guess it should have been solved in the new version. But I did not see it in the release note. So, did I make any mistake or it is a problem of the new version? Thanks! Regards, Yu _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

