Skip to content
BY 4.0 license Open Access Published online by De Gruyter May 8, 2024

Comment on “Fast and accurate electromagnetic field calculation for substrate-supported metasurfaces using the discrete dipole approximation”

  • Patrick C. Chaumet ORCID logo EMAIL logo
From the journal Nanophotonics

Abstract

The article entitled “Fast and accurate electromagnetic field calculation for substrate-supported metasurfaces using the discrete dipole approximation (DDA)” written by W. Liu and E. McLeod presents a method for computing the Green function in presence of a substrate or multilayer in an efficient way. Unfortunately, the proposed method has been known for more than twenty years and significantly ameliorated. It can be found in its optimized version in some open-source DDA codes. In this comment, we recall the different approaches (and related papers) addressing the computation of the Green function of a multilayered system. We show that they address all the points raised by Liu and McLeod in their paper and provide more efficient solutions to their computational issues.

In a recent paper Liu and McLeod [1] present a fast and accurate calculation of the Green tensor for a substrate or multilayered system. However, their article overlooks the work that has been done on this subject in the last few decades.

The first article to provide the expression of the Green’s tensor for a gap (and therefore for a substrate) was written in 1975 by Agarwal [2], where he expresses all the elements of the tensor in the form of a double integral over k x and k y as presented in Eq. (7) in Ref [1].

This double integral, as pointed out by Liu and McLeod, can be tedious to compute directly. Therefore, it is common practice to use cylindrical coordinates, as described by Rahmani et al. in 1997 [3]. The double integral is then transformed as follows:

(1) G i = + + f 1 ( k x , k y ) d k x d k y = 0 0 2 π f 2 ( θ , k ρ ) k ρ d k ρ d θ = 0 f 3 ( k ρ ) k ρ d k ρ ,

with the following change of variables: k x = k ρ  cosθ and k y = k ρ  sin θ where G i is one of the components of the Green’s tensor. The integration over the angle of rotation θ can be performed simply by introducing the Bessel functions [4] as explained in Refs. [3], [5], [6], [7].

As pointed out by Liu and McLeod, there remains the problem of the poles to resolve. In fact, these poles can be easily integrated by the following change of variables:

(2) k z = ε k 0 2 k ρ 2 ,

as proposed by Lukosz and Kunz in 1977 [8] or used more recently in the following Refs. [5], [9]. In this case we have k z dk z = −k ρ dk ρ and the components of the Green’s tensor read:

(3) G i = 0 ε k 0 + 0 i f 4 ( k z ) d k z ,

where the first integral is evaluated over the propagative waves, and the second one over the evanescent waves. With this change of variables, the function f4(k z ) does not exhibit any pole anymore.

But there is an even more efficient way of integrating these poles and avoiding the oscillations inherent to the Sommerfield integrals. It is to use the residue theorem as presented by Paulus, Gay-Balmaz and Martin in 2000 [10]. This technique permits to avoid the poles due to the presence of guided waves in a multilayer. This seminal work explains in detail how to calculate very quickly the Green’s tensor of a multilayer. It begins by switching to cylindrical coordinates and by using the residue theorem to avoid all the poles and oscillations of the integrand, see Figure 4 of [10]. Then Paulus et al. explain how to calculate the integral for high k values to circumvent the weak decay and oscillations of the Bessel functions. The technique is very clever: the authors write the Bessel functions as a sum of two Hankel functions, which decay much faster than the Bessel functions without any oscillation, see Figure 5 of Ref. [10]. It’s the method described in this article that is used to calculate the multilayer Green function in the IFDDA code [11].

Note also that the authors use a Gauss–Kronrod method for integrating the Green’s tensor, in particular quadgk from Matlab. However, the quadgk function in Matlab does not use a nested sequence and the code refines adaptively the integration interval, which means recalculating new points and losing the points already calculated. Chaumet et al. in 2020 [12] suggest a Gauss–Kronrod–Patterson (GKP) method, which presents a nested quadrature rule [13] and permits to increase the integration convergence [14]. In this technique, one first estimates the integral with very few points then adds more points for reaching the targeted accuracy (without losing the previous ones). Note that the technique described by Paulus et al. with the GKP method requires usually less than 256 estimations of the integrand.

The authors suggest using the Green’s tensor in cylindrical coordinates, and interpolate it to a Cartesian grid. Chaumet et al. in 2020 [12] proposed the same approach and showed that it is necessary to interpolate the Green’s function with rational functions. Rational functions have the ability to model functions with poles [15] and permit an accurate approximation of the behavior of the Green tensor in the near field range.

There are also articles that calculate the Green’s tensor directly in Cartesian coordinates. In the present article, Liu and McLeod perform the integration with a trapezoidal mesh. This approach is very slow and not very efficient. Hence, Pincemin et al. in 1994 [16] performed the integration with a fast Fourier transform. This approach has two advantages: it is very fast to calculate and it yields the all the values of the Green function in one shot. However, the poles are always tricky to deal with, which is why we prefer the approach used by Paulus et al. Nevertheless, a comparison between the computation time taken when integrating in Cartesian or cylindrical coordinates can only be fair if both approaches are optimized to their maximum.

For example, with the elliptical cylinder above the substrate described by the author and the same discretization (N ≈ 200), it took 4 ms (on a Intel Xeon Silver 4214R CPU @ 2.4 GHz computer) to calculate the Green functions with the Paulus et al. technique as implemented in IF-DDA, while it took 31.4 s with Liu et al. technique (on a dual Intel Xeon CPU E5-2660 v3 @2.6 GHz processors computer). The efficiency of Paulus et al. technique is even more striking on large objects. With a sphere with a diameter of 12 μm represented by N = 2 × 106 dipoles above a glass substrate the Green function calculation required only 171 s.

In conclusion, the method proposed by the authors for calculating efficiently the Green function of a multilayered system has been known for a long time and significantly improved in the meantime. In particular, the use of cylindrical coordinates is abundantly explained in the literature. The seminal article by Paulus et al., which explains how to calculate Green functions efficiently, addresses all the difficulties raised by the authors and proposes solutions that are faster than the ones proposed in Liu’s paper. Note that the work of Paulus et al. has been quoted more than 200 times.


Corresponding author: Patrick C. Chaumet, Aix Marseille Univ, CNRS, Centrale Med, Institut Fresnel, Marseille, France, E-mail:

  1. Research funding: None declared.

  2. Author contributions: The author confirms the sole responsibility for the conception of the study, presented results and manuscript preparation.

  3. Conflict of interest: Author states no conflicts of interest.

  4. Data availability: Data sharing is not applicable to this article as no datasets were generated or analyzed during the current study.

References

[1] W. Liu and E. McLeod, “Fast and accurate electromagnetic field calculation for substrate-supported metasurfaces using the discrete dipole approximation,” Nanophotonics, vol. 12, no. 22, pp. 4157–4173, 2023. https://doi.org/10.1515/nanoph-2023-0423.Search in Google Scholar

[2] G. S. Agarwal, “Quantum electrodynamics in the presence of dielectrics and conductors. I Electromagnetic-field response functions and black-body fluctuations in finite geometry,” Phys. Rev. A, vol. 11, no. 1, pp. 230–242, 1975. https://doi.org/10.1103/physreva.11.230.Search in Google Scholar

[3] A. Rahmani, P. C. Chaumet, F. de Fornel, and C. Girard, “Field propagator of a dressed junction: fluorescence lifetime calculations in a confined geometry,” Phys. Rev. A, vol. 56, no. 4, pp. 3245–3254, 1997. https://doi.org/10.1103/physreva.56.3245.Search in Google Scholar

[4] I. S. Gradshteyn and I. M. Ryzhik, Table of Integrals, Series and Products, Corrected and Enlarged Edition, New York, Academic, 1980.Search in Google Scholar

[5] K. Belkebir, P. C. Chaumet, and A. Sentenac, “Superresolution in total internal reflection tomography,” J. Opt. Soc. Am. A, vol. 22, no. 9, pp. 1889–1897, 2005. https://doi.org/10.1364/josaa.22.001889.Search in Google Scholar PubMed

[6] G. Y. Panasyuk, J. C. Schotland, and V. A. Markel, “Short-distance expansion for the electromagnetic half-space green’s tensor: general results and an application to radiative lifetime computations,” J. Phys. A: Math. Theor., vol. 42, no. 27, 2009, Art. no. 275203. https://doi.org/10.1088/1751-8113/42/27/275203.Search in Google Scholar

[7] M. A. Yurkin and M. Huntemann, “Rigorous and fast discrete dipole approximation for particles near a plane interface,” J. Phys. Chem. C, vol. 119, no. 52, pp. 29 088–29 094, 2015. https://doi.org/10.1021/acs.jpcc.5b09271.Search in Google Scholar

[8] W. Lukosz and R. E. Kunz, “Light emission by magnetic and electric dipoles close to a plane interface. i. total radiated power,” J. Opt. Soc. Am., vol. 67, no. 12, pp. 1607–1615, 1977. https://doi.org/10.1364/josa.67.001607.Search in Google Scholar

[9] P. C. Chaumet, A. Sentenac, and A. Rahmani, “Coupled dipole method for scatterers with large permittivity,” Phys. Rev. E, vol. 70, pp. 036 606, 2004. https://doi.org/10.1103/physreve.70.036606.Search in Google Scholar PubMed

[10] M. Paulus, P. Gay-Balmaz, and O. J. F. Martin, “Accurate and efficient computation of the Green’s tensor for stratified media,” Phys. Rev. E, vol. 62, no. 4, pp. 5797–5807, 2000. https://doi.org/10.1103/physreve.62.5797.Search in Google Scholar PubMed

[11] P. C. Chaumet, D. Sentenac, G. Maire, M. Rasedujjaman, T. Zhang, and A. Sentenac, “Ifdda, an easy-to-use code for simulating the field scattered by 3d inhomogeneous objects in a stratified medium: tutorial,” J. Opt. Soc. Am. A, vol. 38, no. 12, pp. 1841–1852, 2021. https://doi.org/10.1364/josaa.432685.Search in Google Scholar

[12] P. C. Chaumet, A. Sentenac, and A.-L. Fehrembach, “Modelling of hundreds of wavelength long, highly resonant, 3d subwavelength patterned scattering structures,” Opt. Quantum Electron., vol. 49, no. 2, p. 71, 2017. https://doi.org/10.1007/s11082-017-0901-2.Search in Google Scholar

[13] S. E. Notaris, “Gauss-kronrod quadrature formulae – a survey of fifty years of research,” Electron. Trans. Numer. Anal., vol. 45, pp. 371–404, 2016.Search in Google Scholar

[14] T. N. L. Patterson, “The optimum addition of points to quadrature formulae,” Math. Comput., vol. 22, no. 104, pp. 847–856, 1968. https://doi.org/10.2307/2004583.Search in Google Scholar

[15] W. H. Press, B. P. Flannery, S. A. Teukolski, and W. T. Vetterling, Numerical Recipes. The Art of Scientific Computing, New York, NY, Cambridge University Press, 1986.10.1016/S0003-2670(00)82860-3Search in Google Scholar

[16] F. Pincemin, A. Sentenac, and J.-J. Greffet, “Near-field scattered by a dielectric rod below a metallic surface,” J. Opt. Soc. Am. A, vol. 11, no. 3, pp. 1117–1127, 1994. https://doi.org/10.1364/josaa.11.001117.Search in Google Scholar

Received: 2023-11-27
Accepted: 2024-04-19
Published Online: 2024-05-08

© 2024 the author(s), published by De Gruyter, Berlin/Boston

This work is licensed under the Creative Commons Attribution 4.0 International License.

Downloaded on 1.6.2024 from https://www.degruyter.com/document/doi/10.1515/nanoph-2023-0849/html
Scroll to top button