Current capabilities of the discrete dipole approximation for very large particles: speed, accuracy, and computational tricks Maxim A. Yurkin Section Computational Science, Faculty of Science, University of Amsterdam, Kruislaan 403, 1098 SJ, Amsterdam, The Netherlands, and Institute of Chemical Kinetics and Combustion, Siberian Branch of the Russian Academy of Sciences, Institutskaya Str. 3, 630090, Novosibirsk, Russia [email protected] The current capabilities of the discrete dipole approximation (DDA) for very large particles are shown together with computation times and errors. I discuss several relevant practical issues, such as an iterative solver and dependence of the performance on the refractive index. Moreover, I discuss the convergence of DDA with refining discretization and show how an extrapolation technique can be used to increase DDA accuracy and provide a reliable error estimate.

Capabilities of DDA for simulating light scattering by spheres were studied for x up to 160 and m up to 2 [1]. For that we used ADDA v.0.75 [2], which is capable of parallelizing a single DDA simulation. The discretization was chosen 2 GB 2.0 according to the standard “rule of thumb” – 70 GB y ≈ 0.63 [3], where y = mkd is the discretization parameter (m is the refractive index, k is the free 1.8 space wavenumber, and d is the size of dipoles). ε ∈(10 ,10 ) 1.6 The maximum reachable size parameter x on a cluster of 64 modern processors decreases rapidly 1.4 with increasing m: it is 160 for m = 1.05 and only 20-40 for m = 2 (depending on the convergence ε =10 1.2 threshold of the iterative solver ε, see Fig. 1). The limitation is mostly due to the slow convergence of the iterative solver leading to practically unbearable 1.0 0 20 40 60 80 100 120 140 160 computation times (Fig. 2). The only exception is size parameter x m = 1.05 , where x is limited by the available Fig. 1. Current capabilities of ADDA for spheres with memory. For instance, the simulation for m=1.05 different x and m. The striped region corresponds to full and x=160 used 5123 computational box, resulting convergence and densely hatched region to incomplete convergence. The dashed lines show two levels of in linear system of 2⋅108 equations. Errors of both memory requirements for the simulation, according to integral and angle-resolved scattering quantities the “rule of thumb”. show no systematic dependence on x, but generally 1 week 10 increase with m. Errors of Qext and < cosθ > range from less than 0.01 % to 6 %. Maximum - and 10 1 day RMS relative errors of S11 (θ ) are in the ranges 10 1 hour 0.2÷18 and 0.04÷1 respectively. It is important to note that application of the “rule of thumb” does 10 m= not lead to constant errors in studied cases. 1.05 10 Therefore, a more useful approach is to determine 1.2 1 min 1.4 computational time required to reach fixed 1.6 10 1.8 accuracy. We are currently performing such study; 2 the results will be presented at the workshop. 10 20 40 60 80 100 120 140 160 There are few practical issues associated with size parameter x these simulations. First, if the particle is symmetric Fig. 2. Total simulation wall clock time (on 64 for 90° rotation over the propagation direction of processors) for spheres with different x and m. Time is the incident light, then only one incident shown in logarithmic scale. Horizontal lines polarization need to be simulated (the results for corresponding to a minute, an hour, a day, and a week refractive index m

−5

−5

6

computation walltime, sec

5

4

3

2

1

0

are shown for convenience.

31

−3

Relative error of S11

y = 0.094 the second one can be deduced at very low 0.01 y = 0.047 extrapolation additional computational cost). Thus computational (estimate) time, e.g. shown in Fig. 2, is twice less than usual. 1E-3 Although not applicable to complex objects, it is relevant when spheres and other symmetric shapes 1E-4 are used, e.g., for assessment of DDA performance for a particular x-m region. 1E-5 Second, an iterative solver is a critical part of a large scale DDA simulation. For instance, at least 1E-6 three of four iterative solvers implemented in 0 30 60 90 120 150 180 ADDA are competitive with each other, i.e. it is not Fig. 3. Errors of S11(θ) in logarithmic scale for possible to claim the best one [1]. However, it is the extrapolation using 5 values of y in the interval iterative solver that limits the reachable x for [0.047,0.094] for kD = 8 cube. moderate m. At the workshop, we will discuss different possible improvements: modifications of the existing iterative methods with better numerical properties and preconditioning techniques [4]. Third, the performance steeply depends on m, although it may be alleviated by better numerical algorithms. However, the good side of it is that scattering of visible light by almost all biological cells can be already simulated, if they are placed into liquid medium. Moreover, DDA can naturally simulate scattering by arbitrarily complex and inhomogeneous models of cells. Finally, the expected convergence of the DDA with decreasing y (keeping geometry and size of the scatterer fixed) will be discussed at the workshop. A rigorous theoretical analysis of DDA errors [5] shows that the error in any measured quantity is bounded by a quadratic function of a discretization parameter y. Moreover, both theoretical consideration and a number of test cases shows that in certain cases, e.g. for cubically shaped particles, the linear term is so small that the convergence is quadratic in common range of y. These results allowed us to propose an extrapolation technique [6]. Its idea is the following: first one performs DDA simulations for several values of y. Then any measured quantity can be extrapolated to y = 0 , which provides two benefits. First, it allows one to obtain more accurate results at the cost of moderate increase in computational time. For example, Fig. 3 shows the extrapolation results for a cube with size D ( kD = 8 ). If we denote the computation time for y = 0.047 as t, then total computational time for extrapolation technique is only 2.5t. The corresponding improvement in accuracy is two orders of magnitude, which is completely unfeasible with “single simulation” approach. However, the improvement of accuracy is significantly less if initial simulations are performed for a larger y, or non-cubically shaped scatterer is used. Second, the extrapolation technique provides an estimate of the error, even when the accuracy itself is not improved. This estimate is not theoretically robust, however its reliability have been proven for a number of test cases. This estimate is completely internal, and hence can be used for validation of results, which is a long-standing problem of DDA simulations for complex particles. Moreover, an adaptive DDA can be developed, i.e. the code which reaches the prescribed accuracy using minimum computational resources. ___________________________

1. M. A. Yurkin, V. P. Maltsev, and A. G. Hoekstra, "The discrete dipole approximation for simulation of light scattering by particles much larger than the wavelength," J. Quant. Spectrosc. Radiat. Transf. (2007), doi:10.1016/j.jqsrt.2007.01.33. 2. "Amsterdam DDA," http://www.science.uva.nl/research/scs/Software/adda (2007). 3. B. T. Draine and P. J. Flatau, "Discrete-dipole approximation for scattering calculations," J. Opt. Soc. Am. A 11, 1491-1499 (1994). 4. M. A. Yurkin and A. G. Hoekstra, "The discrete dipole approximation: an overview and recent developments," J. Quant. Spectrosc. Radiat. Transf. (2007), doi:10.1016/j.jqsrt.2007.01.34. 5. M. A. Yurkin, V. P. Maltsev, and A. G. Hoekstra, "Convergence of the discrete dipole approximation. I. Theoretical analysis," J. Opt. Soc. Am. A 23, 2578-2591 (2006). 6. M. A. Yurkin, V. P. Maltsev, and A. G. Hoekstra, "Convergence of the discrete dipole approximation. II. An extrapolation technique to increase the accuracy," J. Opt. Soc. Am. A 23, 2592-2601 (2006). 32

Discussion with Maxim Yurkin Current capabilities of DDA for very large particles: speed, accuracy, and computational tricks Hoekstra: What about having absorption in your benchmarks? Yurkin: Should help a lot for the bigger particles, no real numbers yet. Lumme: We know from our experience that convergence is much better if you have absorbing particles! Eremin: For smaller particles errors seem larger? How can this be? And what happens for even smaller particles (smaller then x = 20)? Yurkin: Errors stay in the same order of magnitude. Okada: Is there a difference between DDSCAT and ADDA? Yurkin: No, very good agreement between both codes, look at comparison paper by Anti Pentilla et al (JQSRT special issue dedicated to ELS-9) Eremin: Which numerical method did you use? Yurkin: QMR. Eremin: And can you compare QMR with e.g. GMRES? Yurkin: Rahola did that, GMRES turned out not to be so good. Lumme: Practical point, you should take several random orientations of a sphere! This improves e.g. the error in the backscattering directions, as was recently demonstrated by Penttilä. Yurkin: We do only one. Auguié: What is the best choice for going from one discretization to a next in the extrapolation procedure? Yurkin: We discussed this in the JOSE paper, we don’t know how to do this optimally, but our method as described in the JOSA seems to work good. Eremin: What does your ‘theoretical estimate’ mean. Your analysis does not satisfy Maxwell’s equations, as divergence in E-field will jump at surfaces. Yurkin: OK, I see. Detailed discussion on converge theory followed, no notes taken (sorry).

33

Current capabilities of the discrete dipole ...

3 computational box, resulting in linear system of 2⋅108 equations. .... Pentilla et al (JQSRT special issue dedicated to ELS-9). Eremin: Which numerical method ...

400KB Sizes 0 Downloads 258 Views

Recommend Documents

Features and capabilities of the discrete dipole approximation code ...
ADDA [1] is an open-source parallel implementation of the discrete dipole approximation. (DDA [2]), capable of simulating light scattering by particles of arbitrary ...

Capabilities of the Discrete Dipole Approximation for ...
solution of the system of 3Nd complex linear equations, where. Nd is the number of .... [9] M. A. Yurkin, V. P. Maltsev, and A. G. Hoekstra, “The discrete dipole.

Features and capabilities of the discrete dipole approximation code ...
4Computational Science research group, Faculty of Science, University of Amsterdam, ... M.Y. is supported by the program of the Russian Government “Research ... [2] M. A. Yurkin and A. G. Hoekstra, “The discrete dipole approximation: an ...

Systematic comparison of the discrete dipole ...
domain (FDTD) method for simulating light scattering of spheres in a range of size ..... Foundation through the grant "Best PhD-students of Russian Academy of ...

Accuracy of the discrete dipole approximation for gold ...
2Novosibirsk State University, 2 Pirogova St., 630090, Novosibirsk, Russia ... Science Research Group, Faculty of Science, University of Amsterdam,. Science ...

The discrete dipole approximation for simulation of light ...
The code is written for distributed memory systems using the message passing interface (MPI).2 ... is incident electric field, ¯Gij is the free-space Green's tensor. (complex symmetric), and .... to the ''rule of thumb'' (see main text for explanati

Convergence of the discrete dipole approximation. II ...
to O N log N by advanced numerical techniques.2,5 Still, the usual application strategy for DDA is single computa- tion, where a discretization is chosen on the ...

Accuracy of the discrete dipole approximation for ...
a Institute of Chemical Kinetics and Combustion SB RAS, Institutskaya 3, ...... [11] H. Yoo, J. E. Millstone, S. Li, J. Jang, W. Wei, J. Wu, G. C. Schatz, and C. A..

Application of the discrete dipole approximation to ...
Application of the discrete dipole approximation to extreme refractive indices: filtered coupled dipoles ... routinely simulated using modern desktop computers.

Convergence of the discrete dipole approximation. I ...
of a dipole d when the latter is in the range of DDA applicability. Moreover ... In a follow-up paper18 .... where d Ed corresponds to Eq. (25) or (26), and the er- ror.

Comparison between discrete dipole implementations ...
The geometry of the scatterer is read from a file and all the parameters of .... unlimited number of dipoles, since ADDA is not limited by the memory of a single ... symmetry of the interaction matrix is used to decrease storage requirement of its ..

Comparison between discrete dipole implementations ...
in astronomy and in some technological applications has greatly increased in the last years. ..... [16] or the more advanced package 'fastest Fourier transform in the west' (FFTW) [26]. ...... science and is owned by the Ministry of Education.

Can the Discrete Dipole Approximation simulate ...
of DDA performance and simulation errors are presented. We show ... Our code, the Amsterdam DDA (ADDA), is capable of running on a cluster of computers ...

The discrete-dipole-approximation code ADDA ...
Feb 1, 2011 - line options is given in the relevant parts of this paper. The full list ... However, simulation data for large scatterers ..... a coarse way by bigger dipoles (cubes), but then use ..... storage space for the Fourier-transformed matrix

Rigorous and Fast Discrete Dipole Approximation ... - ACS Publications
Nov 30, 2015 - problems is possible10,17,25−30 but introduces two additional issues. The first one is the ..... large computer cluster. OpenCL mode allows ... laptop processor (Intel Core i7-2630QM), while the extrapolated results with ...

Reexamining the capabilities of ALS patients
medical and social support systems should not ignore the fact that with sufficient care some advanced ALS .... patients and their families have started home care businesses. ..... Machines such as a PC or a ventilator are parts of your own body.

CybERATTACk CAPAbiLiTiES - Anagram Laboratories
May 29, 2009 - term that refers to the penetration of adversary computers and networks to obtain ..... 2.3.10 A Rapidly Changing and Changeable Technology and ...... est (e.g., the vice president's laptop, the SCADA systems controlling the.

The seductive quality of central human capabilities ...
Aug 3, 2006 - exploration of these themes insufficiently elaborated (Hill 2003), we find his ambiguity suggestive .... We would add that she is also naıve about ...

6A5 Prediction Capabilities of Vulnerability Discovery Models
Vulnerability Discovery Models (VDMs) have been proposed to model ... static metrics or software reliability growth models (SRGMS) are available. ..... 70%. 80%. 90%. 100%. Percentage of Elapsed Calendar Time. E rro r in. E s tim a tio n.

CybERATTACk CAPAbiLiTiES - Anagram Laboratories
May 29, 2009 - For more information on CSTB, see its website at http://www.cstb.org, write to CSTB .... these knotty issues the best intellectual thought and consideration. A historical ..... 2.3.10 A Rapidly Changing and Changeable Technology and ..

Observation of the magnetic-dipole fine-structure transition in ... - naomib
based on electron spectrometry or tunable laser photodetachment threshold ... Electron spectrometry experiments do not achieve the same ultimate accuracy as ...

Observation of the magnetic-dipole fine-structure transition in ... - naomib
s-wave features, and in cases where the levels are not effectively populated in the ion source. [5]. Multiphoton approaches utilizing pulsed laser technology can largely .... extrapolation from neutral I [13, 14] by accounting for the difference in w

Observation of the magnetic-dipole fine-structure transition in ... - naomib
We gratefully acknowledge the Natural Science and Engineering Research ... 1911. [4] Thøgersen J, Scheer M, Steele L D, Haugen H K and Wijesundera W P ...

The Method of Equivalent Dipole Moments (MEDM)
CEM tools if the dielectric is thin, complex-shaped, and electrically ..... analytical Mie-series solution, is presented in Fig. 5 for a dielectric ... software. Although, the external scattered field has been determined very accurately, the internal