New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize calculation of reflected Green's tensor #176
Comments
Original comment by |
Concerning the optimization and accuracy, there are a lot of ideas in Schmehl's thesis (1994) - https://www.researchgate.net/publication/260426740_The_Coupled-Dipole_Method_for_Light_Scattering_from_Particles_on_Plane_Surfaces . It includes building a table and doing 2D interpolation on it. The major question is what is the proper way to control accuracy. Constant relative error (as it seems to be now) may be not appropriate, since at large distances it is difficult to obtain and not really needed (since the values are then added to a much larger image-dipole term). Probably, the best way would be to make an accuracy parameters (currently defines This may help with problems as in #215 |
Another relevant ideas for improvement (bug fixes) were proposed by Sheila Edalatpour in May 2014. I have not been able to look into it yet, so I am putting it here for completeness.
|
Similar ideas for 2D interpolation are described in the following paper for another method. But is completely applicable to the DDA. |
/cc @anna-ae |
This will also allow using rectangular dipoles with unequal dX and dY in the presence of substrate. See #245 |
I added a preliminary implementation of the new method of calculating Sommerfeld integrals in my fork. The method includes applying a transformation to the integrals, calculating a 2D table and finding the values for all the necessary points by interpolation. |
A nice description of various asymptotics and singular points in the complex plane, relevant for evaluation of Sommerfeld integrals, is given in Section 4.4 of Osipov A.V. and Tretyakov S.A. Modern Electromagnetic Scattering Theory with Applications, John Wiley & Sons (2017). |
#101, #175
Original issue reported on code.google.com by
yurkin
on 25 Sep 2013 at 8:28The text was updated successfully, but these errors were encountered: