Abstract
The invariant-imbedding T-matrix (II-TM) method is a numerical method for accurately computing the single-scattering properties of dielectric particles. Because of the linearity of Maxwell’s equations, the incident electric field and the scattered electric field can be related through a transition matrix (T-Matrix). The II-TM method computes the T-matrix through a matrix recurrence formula which stems from an electromagnetic volume integral equation. The recurrence starts with an inscribed sphere within the particle and ends with the circumscribed sphere of the particle. For each iteration, a matrix known as the U-matrix is computed with the Gauss Legendre (GL) quadrature, and matrix inversion is subsequently performed to obtain the T-matrix corresponding to the portion of the particle enclosed by the spherical shell. We modify a commonly used scheme to avoid applying the quadrature scheme to discontinuities. Moreover, we apply a new scheme to generate nodes and weights in conjunction with the GL quadrature. This leads to a considerable improvement on convergence and computational efficiency in the cases of hexagonal prisms and spheroids. The basic shapes of ice crystals in the atmosphere are hexagonal columns and plates. The single-scattering properties of hexagonal ice prisms are important to atmospheric optics, radiative transfer, and remote sensing. We demonstrate that the present approach can significantly accelerate the convergence in simulating light scattering by hexagonal ice crystals.
© 2019 Optical Society of America under the terms of the OSA Open Access Publishing Agreement
1. Introduction
For atmospheric and oceanic radiative transfer simulations and remote sensing implementations, accurate computation of the single-scattering properties, namely the extinction cross section, the single-scattering albedo, and the phase matrix, of non-spherical particles is essential [1,2]. Because of the linearity of the equations governing the light-scattering process, the transformation from the incident field to the scattered field through their expansions in terms of vector spherical wave functions can be described by the Transition Matrix (T-Matrix) [3,4]. The single-scattering properties of the scattering particle can be derived from the T-matrix. The T-Matrix is an inherent property of the particle; in particular, it depends only on the particle structure, size and refractive index. The T-matrix of a homogeneous sphere reduces to a diagonal form with elements on the diagonal corresponding to the Lorenz-Mie series expansion coefficients. For nonspherical particles, the T-matrix method is computationally efficient because it is feasible to analytically average the optical properties over random orientations, as illustrated in [5,6]. Several efficient computational methods have been developed to compute the T-matrix of nonspherical and inhomogeneous particles [7,8]. The invariant-imbedding T-matrix (II-TM) method is a robust method developed to compute the single-scattering properties of non-spherical and inhomogeneous dielectric particles [9–11].
The II-TM method computes the T-Matrix of a scattering particle in a radial recurrence form starting with a certain initial inscribed sphere inside the particle and ending with the circumscribed sphere of the particle. At each recurrence level, Gauss-Legendre (GL) quadrature and matrix inversions are performed. As a result, three parameters determine the accuracy of the aforementioned numerical procedures: the radial discretization; the number of GL quadrature nodes, and the T-matrix expansion order N. In the numerical implementation of II-TM, a quadrature scheme is applied to define the geometry of the scattering particle. Any numerical errors associated with the quadrature scheme may be magnified in the matrix inversions and radial recurrence.
The focus of this study is on improving the computational efficiency and convergence of the GL quadrature. For particles with sharp edges, discontinuities occur in the quadrature method; we modify a commonly used scheme to avoid performing quadrature over such discontinuities. The example of a particle with sharp edges we consider here is inherently of considerable interest in atmospheric single-scattering studies, but the modification we make can be more generally applied. In addition, we replace the GL node generating scheme with the fastest algorithm to date [12]. These improvements substantially enhance the computational efficiency of the II-TM method for spheroids and hexagonal columns.
2. The T-matrix method
The incident and scattered electric fields can be expanded with the vector spherical wave functions (VSWFs) and in the form [13]
where k is the wavenumber, is the position vector. Superscript 1 indicates regular wave functions in which spherical Bessel functions of the first kind are used to meet the boundary condition at coordinate center (particle center), and superscript 3 indicates radiating wave functions in which spherical Hankel functions are used to represent the field radiating from the source (particle center) to infinity. The T-matrix relates the expansion coefficients:If index n is truncated at , the T-matrix is a square matrix. The two column vectors on the left and right sides of Eq. (3) are column vectors. Denote the T-matrix as T and the column vectors as p and a. The above equation can be written in a concise super-matrix form:After the T-matrix is obtained, it is straightforward to compute the single-scattering properties (see [14] for mathematical details).3. Improving the convergence of Gaussian quadrature in II-TM
In the II-TM method, the T-matrix of a particle is obtained recursively, starting with the T-matrix of an inscribed sphere of the non-spherical particle, successively calculating T-matrices for a series of concentric spheres, and ending at the circumscribed sphere of the particle (r = R). The T-matrix of the inscribed sphere can be obtained with the Lorenz-Mie theory [9]. The T-matrix recurrence formula that relates the T-matrix for sphere of radius to the T-matrix for the sphere of smaller radius is given in super-matrix notation [9] as:
are all square super-matrices given by where and are diagonal square super-matrices whose diagonal elements are defined byand [9]: where is the spherical Bessel function of the first kind, is the spherical Hankel function of the first kind. The super-matrix in Eqs. (6)-(9) is given by,In Eq. (12), the elements of contain spherical Bessel and Hankel functions of the first kind, the elements of contain zenith and azimuth integrals on the spherical layers that are used to define the particle geometry (see Eqs. (23)-(25) of [9]). Two inversions must be performed to obtain the T-matrix in each iteration (Eqs. (5) and (12)). Equation (5) was first derived through discretizing integral equations of T-matrix [13]. Figure 1 shows the geometries. The origin of the coordinate system is at the particle center.The matrix elements of for each iteration are surface integrals in zenith and azimuth directions on the spherical shell. The nonzero elements in the U-matrix can be written as [10]
where the integrations in the azimuth direction and are and the constants and are The terms appearing in the integrand of Eq. (13) are defined bywhere and are obtained from the Wigner-d function The U-matrix elements are different for different particles. Below we outline the formulations for the spheroid and hexagonal column. These shapes are used as basic particle structures in modelling atmospheric ice crystals and other aerosols. A spheroid has two important kinds of symmetries that allow computational simplifications: rotational symmetry with respect to the z-axis and mirror symmetry with respect to the xy-plane. Also,where is the angle at which the spherical shell intersects the spheroid (Fig. 2).The following properties of the Wigner-d functions allow us to simplify the formulations for spheroid [15]
Substituting Eqs. (23) and (24) into Eqs. (13) and (14), followed by integration by parts, we obtain the simplified formulations: The original integrals in the zenith direction in Eqs. (13) and (14) are reduced to in Eqs. (25) and (26). The hexagonal column also has a rotational symmetry about the z-axis, but it is no longer continuous and is instead discrete. As a consequence, the azimuth integrals and cannot be decoupled from the zenith integrals. The values of the azimuth integrals are dependent on and r because the spherical shell intersects a hexagonal column in different ways as and r change. Figure 3 illustrates the three different situations as the recurrence progresses in the case of a long column.Using the mirror symmetry of, we can simplify Eqs. (13) and (14):
and in this case are piecewise smooth functions in. Figure 3 shows of some index at a certain. A discontinuity (in the first derivative) occurs when the spherical shell intersects the hexagonal surface. As a result, the U-matrix integrand is no longer smooth in the interval. The location of the discontinuity is given in Eq. (16) of [10], where.The surface integrations in the zenith direction (Eqs. (25)~(30)) are naturally computed using Gauss-Legendre (GL) quadrature in the II-TM numerical implementations:
In addition to the T-matrix truncation order N and the radial discretization, the number of quadrature nodes is an important parameter controlling the accuracy of the II-TM method. For a standard Gaussian Legendre quadrature such as Eq. (31), the optimal nodes for quadrature of order are given by the roots of the Legendre polynomials. The GL quadrature is optimal if the integrand can be well approximated by polynomials of order or less. Generally, this means that the various orders of derivative of the integrand are smooth. Discontinuities or singularities in the integrand or its derivatives will reduce the smoothness of the integrand. Higher order polynomials are required to approximate the fine scale oscillations of the integrand thus can go to very large value. We use Gaussian quadrature on the following two integrals to illustrate our point that convergence rate of the Gaussian quadrature depends on behaviour of the integrand.Function is smooth inside the [0,1] interval while possesses a discontinuity in its first-order derivative at . The behaviour of is similar to that of in Fig. 4; they each have a discontinuity in the first-order derivative within their integration range. The two integrals of and have the same exact value (0.75), and we can demonstrate the convergence rate of Gaussian quadrature in terms of the rate of decrease of relative error in the numerical approximations. Table 1 shows the magnitude of the relative errors with respect to increasing the number of nodes for the two integrands. Apparently shows a faster rate of convergence.
Back to the II-TM method, the spheroid has the simplest integrand (in Eqs. (25) and (26)) among all other shapes:
where the integrand is the product of Wigner-d functions. We expect rapid convergence of the quadrature with respect to, because the integrand can be relatively well approximated by polynomials. Figure 6 shows the convergence rate of the outputs (, asymmetry factor (g factor), ) with respect to for these different size parameters. is the extinction efficiency, is the phase function in the exact backscattering direction and g factor is the asymmetry factor. is chosen as the reference value and outputs of are compared against it to demonstrate the convergence rate. T-matrix truncation order N and radial discretization are fixed. The T-matrix truncation order N for a particle with size parameter x is determined according to the formulain effect adding three more terms to the familiar choice used for spherical particles [16]No explicit formula has been published for calculations of the T-matrix for non-spherical particles, and we simply have made a choice that appears to increase the reliability of the results without greatly increasing computational cost. The increment in radius is determined according to the formula,is the radius of the homogeneous sphere inscribed inside the non-spherical particle, and is the starting radius for the radial recurrence. R is the radius of the circumscribed sphere. The value 0.1 has been found to be sufficient for particles without small scale features such as surface roughness; in the present cases where the particle shapes are regular spheroids and hexagonal columns, 0.1 should be sufficient.The spheroid shape is indicated in the figures. x indicates the particle size parameter defined with respect to the radius of the circumscribed sphere of the particle.
The convergence rates of different sizes show mixed behaviors. Generally, we can conclude that the convergence rate for spheroid is fast. In most cases, the outputs agree to more than 12 significant digits. The obstacle for spheroid is the intense oscillation of high-order Wigner-d functions for larger spheroids. Once gets large enough (>200), the sampling rate is sufficiently large and we have rapid convergence. The integrals in the hexagonal column formulation (in Eqs. (28)~(30)) take the following form:
It was pointed out in Fig. 4 that the function in the above integral has a discontinuity in its first derivative when the spherical shell crosses the hexagonal column. We expect this discontinuity to undermine the convergence of the quadrature if we do the quadrature in the interval which contains the discontinuity. Figure 6 shows the convergence rate of the outputs (the extinction efficiency, the asymmetry factor (the g factor), with respect to. is again used as the reference value. The hexagonal column shape is indicated in the figure and x is the size parameter.Compared to spheroids (Fig. 6), the convergence rate is much slower. The discontinuity in reduces the convergence rate of the quadrature. Note that there is only one discontinuity in . A similar situation was encountered in the EBCM method for hexagonal columns [17]. To address the problem of discontinuities, a natural solution is to split the interval and perform quadrature on the two intervals where the integrand is smooth (Eq. (41).
After making this modification, the results are shown in Fig. 8. Compared to Fig. 6, the convergence rate is accelerated. At this rate, we can expect to reach convergence to 16 digits at about . This justifies the use in practical applications.From Figs. 6 and 8, we can conclude that, with respect to the number of quadrature points , to reach convergence for common particle sizes and aspect ratios, is sufficient for hexagonal columns and is sufficient for spheroids.
4. Accelerating the node and weight generating scheme for Gaussian quadrature in II-TM
As stated above, the optimal nodes for Gaussian-Legendre quadrature of order L are the roots of Legendre Polynomials. There are no closed formulas for location of the roots so they have to be generated numerically along with the corresponding weights. Different algorithms exist for generating the nodes and weights of Gauss-Legendre quadrature [18,19].
The current algorithm in the II-TM is based on the Newton’s method (Newton-Raphson) to find the roots of . Denote the L node-weight pairs and they satisfy . The weights are given by . For large L, some initial value for is given and then Newton-Raphson iterations are performed to obtain a true value for up to some precision. A key in the design of fast algorithms is proper choice of asymptotic expansions (large L) of the Legendre polynomials. Considerable research effort has gone into the search for suitable asymptotic expansions [12,19–21].
The state-of-the-art for Gaussian-Legendre quadrature is the Bogaert’s algorithm [12,22]. In their algorithm, the Newton-Raphson iteration is avoided by providing asymptotic expansions directly for and . This algorithm is much faster than previous methods. In the following discussions, a commonly used algorithm is referred to as “Newton” and the new algorithm is referred to as “Bogaert”. We first illustrate the difference in the performance of the algorithms in the simple case of the model function of the previous section (Fig. 5 and Table 1). Table 2 shows the CPU time required to compute the numerical quadrature using the two algorithms. The Bogaert algorithm is clearly much faster. Obviously, the Bogaert algorithm is much faster.
We now turn to implementation of the Bogaert method in conjunction with the II-TM. For L>100, the Bogaert asymptotic expansions are used; for L<100, tabulated values for nodes and weights are used. Table 3 shows the acceleration for hexagonal columns and spheroids. II-TM is implemented with the Massage Passing Interface (MPI) parallelization and 100 CPUs were used for the experiments. Significant acceleration is achieved for hexagonal columns of all sizes and aspect ratios. Moderate acceleration is achieved for spheroid in terms of CPU time. However, in two cases, the Bogaert algorithm slightly slows down the method in terms of wall clock time. As mentioned above, the spheroid and hexagon have different symmetries, and correspondingly the code structures of the II-TM implementations are different. As a result, the respective MPI parallelizations are different. The result is that the corresponding acceleration rates associated with the Bogaert algorithm are different. The optimization of the Bogaert algorithm in the II-TM MPI implementations for a wide range of particle geometries is subject of future work.
With the accelerated code, we compute the single scattering-properties of large hexagonal columns with size parameter (defined with the circumscribed sphere radius) x = 225 and aspect ratio = 1. Two cases are considered. One has the index of refractionwhich corresponds to ice refractive index at 650 nm wavelength. Another one has the index of refraction which corresponds to ice refractive index at 12 wavelength. Random orientation is assumed. Figures 9 and 10 show comparison between the II-TM method and a physical geometric optics method (PGOM) [23]. Very good agreement is achieved between the two methods.
5. Summary
We studied the performance of the angular quadrature in the II-TM method for spheroid and hexagonal column. The precision of the angular quadrature is of fundamental importance to the II-TM method and we want to achieve convergence by choosing an appropriate number of quadrature nodes . In the case of a hexagonal column, the previous formulation [9] is modified to avoid a discontinuity in the integration domain, and the convergence rate is largely accelerated. Based on convergence test results from spheroids and hexagonal columns with various sizes, we conclude that for spheroid and for hexagonal column is sufficiently large for the improved numerical implementation. A new node and weight generating algorithm (Bogaert algorithm) is implemented in the II-TM method, and considerable acceleration in computation time is achieved for hexagonal columns and spheroids. With the improved II-TM method, we compute the single-scattering properties of two large hexagonal columns with size parameter x = 225 and compare the results against the physical geometric optics method [23]. Good agreement is found between the two methods.
Funding
National Science Foundation (AGS-1826936); Texas A&M David Bullock Harris Chair in Geosciences endowment funds (02-512231-10000).
Acknowledgment
We gratefully acknowledge the computational support of the Texas A&M High Performance Computing Center.
References
1. C. F. Bohren and D. R. Huffman, Absorption and Scattering of Light by Small Particles (John Wiley & Sons, 1983).
2. H. C. van de Hulst, Light Scattering by Small Particles. (Dover, 1981).
3. P. C. Waterman, “Matrix formulation of electromagnetic scattering,” Proc. IEEE 53(8), 805–812 (1965). [CrossRef]
4. P. C. Waterman, “The T-matrix revisited,” J. Opt. Soc. Am. A 24(8), 2257–2267 (2007). [CrossRef] [PubMed]
5. N. G. Khlebtsov, “Orientational averaging of light-scattering observables in the J-matrix approach,” Appl. Opt. 31(25), 5359–5365 (1992). [CrossRef] [PubMed]
6. M. I. Mishchenko, “Light scattering by randomly oriented axially symmetric particles,” J. Opt. Soc. Am. A 8(6), 871–882 (1991). [CrossRef]
7. T. Wriedt, “Review of the null-field method with discrete sources,” J. Quant. Spectrosc. Radiat. Transf. 106(1-3), 535–545 (2007). [CrossRef]
8. M. I. Mishchenko and L. D. Travis, “Capabilities and limitations of a current FORTRAN implementation of the T-matrix method for randomly oriented, rotationally symmetric scatterers,” J. Quant. Spectrosc. Radiat. Transf. 60(3), 309–324 (1998). [CrossRef]
9. L. Bi, P. Yang, G. W. Kattawar, and M. I. Mishchenko, “Efficient implementation of the invariant imbedding T-matrix method and the separation of variables method applied to large nonspherical inhomogeneous particles,” J. Quant. Spectrosc. Radiat. Transf. 116, 169–183 (2013). [CrossRef]
10. L. Bi and P. Yang, “Accurate simulation of the optical properties of atmospheric ice crystals with the invariant imbedding T-matrix method,” J. Quant. Spectrosc. Radiat. Transf. 138, 17–35 (2014). [CrossRef]
11. T. Wriedt and Y. Eremin, The Generalized Multipole Technique for Light Scattering. (Springer, 2018).
12. I. Bogaert, “Iteration-Free Computation of Gauss–Legendre Quadrature Nodes and Weights,” SIAM J. Sci. Comput. 36(3), A1008–A1026 (2014). [CrossRef]
13. B. R. Johnson, “Invariant imbedding T matrix approach to electromagnetic scattering,” Appl. Opt. 27(23), 4861–4873 (1988). [CrossRef] [PubMed]
14. M. Mischenko, L. Travis, and A. Lacis, Scattering, absorption, and emission of light by small particles, (Cambridge University Press,1970).
15. W. R. C. Somerville, B. Auguié, and E. C. Le Ru, “Simplified expressions of the T-matrix integrals for electromagnetic scattering,” Opt. Lett. 36(17), 3482–3484 (2011). [CrossRef] [PubMed]
16. W. J. Wiscombe, “Improved Mie scattering algorithms,” Appl. Opt. 19(9), 1505–1509 (1980). [CrossRef] [PubMed]
17. F. M. Kahnert, J. J. Stamnes, and K. Stamnes, “Application of the extended boundary condition method to particles with sharp edges: a comparison of two surface integration approaches,” Appl. Opt. 40(18), 3101–3109 (2001). [CrossRef] [PubMed]
18. A. Glaser, X. Liu, and V. Rokhlin, “A Fast Algorithm for the Calculation of the Roots of Special Functions,” SIAM J. Sci. Comput. 29(4), 1420–1438 (2007). [CrossRef]
19. G. H. Golub and J. H. Welsch, “Calculation of Gauss Quadrature Rules,” Math. Comput. 23(106), 221–230 (1969). [CrossRef]
20. N. Hale and A. Townsend, “Fast and Accurate Computation of Gauss–Legendre and Gauss–Jacobi Quadrature Nodes and Weights,” SIAM J. Sci. Comput. 35(2), A652–A674 (2013). [CrossRef]
21. A. Townsend, T. Trogdon, and S. Olver, “Fast computation of Gauss quadrature nodes and weights on the whole real line,” IMA J. Numer. Anal. 36(1), 337–358 (2014).
22. A. Townsend, “The race to compute high-order Gauss-Legendre quadature,” SIAM J. Sci. Comput. (2015).
23. B. Sun, P. Yang, G. W. Kattawar, and X. Zhang, “Physical-geometric optics method for large size faceted particles,” Opt. Express 25(20), 24044–24060 (2017). [CrossRef] [PubMed]