Nanophotonic resonance modes with the nanobem toolbox
간접 관련 필름·전자재료 · (13) 프리즘 필름 (11) 배리어 필름(15) 디스플레이 패널재료(16) CPI(투명 폴리이미드)
기본 정보
- 저자
- DOI
- 10.1016/j.cpc.2022.108337
- 저널
- Computer Physics Communications
- 발행년도
- 2022
- 발행기관
- Elsevier BV
- 피인용수
- 21
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1016/j.cpc.2022.108337
- 토픽
- Optical Coatings and Gratings
- OpenAlex ID
- W4220788859
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- (11) 배리어 필름, (15) 디스플레이 패널재료, (16) CPI(투명 폴리이미드)
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- nanophotonics, Maxwell’s equations, resonance modes, boundary element method, optical resonators
- 판단 근거
- 이 논문은 나노 광학 시스템의 공진 모드를 계산하기 위한 수치 해석 도구(nanobem)에 관한 연구입니다. 직접적인 제품 연구는 아니나, 광학 필름(13)이나 디스플레이 관련 소재(15, 16)의 광학적 특성을 시뮬레이션하고 설계하는 데 활용될 수 있는 수치 해석 방법론을 다루고 있습니다.
- R&D 활용 포인트
- 광학 필름의 미세 구조 설계나 디스플레이용 투명 필름의 광학적 성능(빛의 산란, 공진 등)을 예측하기 위한 시뮬레이션 모델링 기법으로 활용 가능합니다.
- 평가 입력
- 본문 97,011자 중 30,032자 발췌
초록
본문 97,011자
본문 펼치기
섹션 본문 116문단 · 60,378자
(제목 없음)
1nanobem is a matlab toolbox for the solution of Maxwell's equations for nanophotonic systems and the computation of resonance modes, sometimes also referred to as quasinormal modes or resonance states. It is based on a Galerkin scheme for the boundary element method, using Raviart-Thomas shape elements for the representation of the tangential electromagnetic fields at the particle boundary. The toolbox is written in an object-oriented manner with the focus on clarity rather than speed, and has been developed and tested for small to intermediate problems with a few thousand boundary elements. The computation of the resonance modes uses the contour integral method of Beyn. Licensing provisions(please choose one): GNU General Public License 3 Programming language: Matlab Supplementary material: Nature of problem: Solve Maxwell's equations and compute resonance modes for optical resonators and nanophotonic systems with linear, homogeneous, and local materials separated by abrupt interfaces. Solution method: Galerkin implementation of boundary element method approach using Raviart-Thomas shape elements, and contour integral method for the computation of nanophotonic resonance modes. Additional comments including restrictions and unusual features: Toolbox has been developed and tested for small to intermediate problems with a few thousand boundary elements. mat1 mat2 Boundary Ω ( ), ( ) , ( ) Representation formula Excitation inc ≈ inc − Excitation inc , ( ) Expansion through resonance modes Resonance energies and modes Boundary integral method Resonance modes a b c ෝ Reconstruction problem Figure 1: Schematics of the boundary integral method (bim) and the resonance modes. (a) We consider a setup where a nanoparticle with homogeneous material parameters mat1 is embedded in a medium with material parameters mat2.The boundary separating the two media is denoted with ∂Ω, the outer surface normal of the boundary isn. (b) In bim, the response of the nanoparticle to some external perturbation (e.g. planewave excitation or oscillating dipole) can be described in terms of the tangential electromagnetic fields u E,H at the particle boundary, fields away from the boundary can be computed from the representation formula. (c) In the resonance mode approach we don't solve Maxwell's equation directly, but first determine the resonance frequencies ω k and modes v k of the nanoparticle, and then expand the tangential fields u E,H in terms of these modes. The second step is usually referred to as the "reconstruction problem".
Introduction
2Resonance modes, sometimes also referred to as quasinormal modes or resonant states, have recently received considerable interest in the field of nanophotonics [1][2][3][4][5][6][7][8][9][10]. In optical resonators and cavities, light can be confined on a length scale comparable to the wavelength. By binding light to coherent excitations of nanostructures, such as surface plasmons or surface phonons, one can achieve light confinement down to extreme sub-wavelength volumes [11,12]. Such optical resonators play an important role in science and engineering, for instance for microwave resonators, semiconductor lasers, or optical microcavities and plasmonic nano-cavities.
3From a computational perspective, the simulation of optical resonators builds on the solution of Maxwell's equations. Let u denote the degrees of freedom for the representation of the (total or scattered) electromagnetic fields, e.g. curl-conforming Nedelec elements for the finite element method approach [13,14] or Raviart-Thomas shape elements for the boundary element method approach [12,15,16], and q inc the incoming electromagnetic fields, such as a planewave excitation of the optical resonator. For the linear material properties of our present concern, u is related to an excitation q inc oscillating with angular frequency ω through
4where the transmission matrix A(ω) has to be derived from Maxwell's equations subject to the proper boundary conditions between different materials. Solving Eq. (1) for the unknowns u provides us with the solutions of Maxwell's equations. Instead of solving Eq. (1) directly, we can also seek for the resonance frequencies ω k and modes v k of the transmission problem, which are defined such that they can persist in absence of an external excitation,
5For absorbing media or open cavities, Eq. (2) can only be fulfilled for complex frequencies ω k = ω k + iω k , where the material and optical losses are compensated by the imaginary part ω k . In a second step, the electromagnetic response u to the incoming fields q inc is expressed in terms of these resonance modes
6where the determination of the expansion coefficients C k (ω) is usually referred to as the reconstruction problem [9], see also Fig. 1 for a schematic representation. The advantage of the resonance mode solution (3) is often the speedup in comparison to the direct solution of Eq. (1), provided that the resonance modes are at hand. Probably even more important is the interpretation of the solutions in terms of intuitive and physically transparent resonance modes, which also govern the physics of optical resonators. These modes can be additionally submitted to a quantization procedure [17], which is beneficial for quantum optical investigations. The consideration of complex frequencies in Eq. (2) for the evaluation of the resonance modes can be complicated for volume-based schemes, such as the finite element method approach, because of the increase of the electromagnetic fields away from the resonators. Also the damping of such fields in perfectly matched layers surrounding the simulation volume can be critical. Although these problems can be overcome in principle, approaches such as the boundary element method (bem) avoid these difficulties because the solution vector u only involves the tangential electromagnetic fields at the boundaries separating different materials. As has been demonstrated in [18], the determination of resonance modes using a bem approach is relatively simple and free from any conceptional or computational difficulties.
7In this paper we present the nanobem toolbox for the computation of resonance modes using a bem approach based on a Galerkin scheme [12,15,16]. The toolbox is implemented in matlab in an object-oriented manner, and comes along with a number of demo files together with detailed 2 help pages. The main purpose of the toolbox is to provide a fast, efficient, and flexible toolkit for computing and analyzing resonance modes for simple nanophotonic structures, such as dielectric or metallic nanospheres or nanorods, and to allow for easy modifications and extensions in case of future improvements. At the same time, the toolbox supersedes the mnpbem toolbox developed by one of the authors of this paper [19][20][21], which is based on a collocation approach for the electrodynamic potentials [22]. The user interface and the program structures are similar for the two toolboxes, but all internal classes have been completely rewritten for the nanobem toolbox to accommodate for the Galerkin approach using the electromagnetic fields as basic quantities.
8We have organized this work as follows. In Sec. 2 we show how to set up the toolbox and how to run simple simulations for nanophotonic systems. The theory underlying the bem approach and the contour integral method (cim) for computing the resonance modes is presented in Sec. 3, implementation details of the toolbox are discussed in Sec. 4. Finally, in Sec. 5 we list a few dos and don'ts for the cim approach and the computation of resonance modes. Some theoretical and computational details are postponed to the Appendices.
Getting started
9In this section, we briefly describe how to set up the toolbox, and how to run simple boundary element method (bem) simulations and simulations using resonance modes. To install the toolbox, one must add the path of the main directory nanobemdir of the nanobem toolbox as well as the paths of all subdirectories to the matlab search path. This can be done, for instance, through 3 >> addpath(genpath(nanobemdir));
10To set up the help pages, one must once change to the main directory of the nanobem toolbox and run makehelp >> cd nanobemdir; >> makehelp;
11Once this is done, the help pages, which provide detailed information about the toolbox, are available in the matlab help browser. Figure 1(a) shows a typical bem example, where a gold nanosphere with a diameter of 50 nm is embedded in a dielectric medium representative for water, with a refractive index of 1.33. In the following we briefly discuss a simulation where the optical cross section is computed. The corresponding matlab files are available as demoretspec01.m and democim01.m in the help pages of the toolbox. The nanophotonic environment is set up through mat1 = Material( 1.33^2, 1 ); % material properties for water mat2 = Material( epsdrude( 'Au' ), 1 ); % material properties for gold mat = [ mat1, mat2 ]; % unique material vector diameter = 50; % diameter of sphere in nanometers p = trisphere( 144, diameter ); % triangulated nanosphere boundary tau = BoundaryEdge( mat, p, [ 2,1 ] ); % boundary elements including shape elements
A simple BEM example
12In the first two lines we set up material objects Material(eps,mu), where eps is either a permittivity function or constant and mu a permeability function or constant. The epsdrude object provides a Drude dielectric function representative for gold. We finally specify a material vector mat for the nanophotonic environment, where the first entry specifies the material properties of the background medium, and the other entries specify the material properties of the particles. From here on, the same material vector should be passed to all toolbox functions. See also Sec. 3.2, Appendix B, and the help pages for a more detailed description. We next generate a triangulation of the nanosphere boundary with 144 vertices. With >> plot( p, 'EdgeColor', 'b' ); >> plot( p, 'EdgeColor', 'b', 'nvec', 1 ); % show outer surface normals we can plot the triangulated boundary and the outer surface normals. Finally, we create a BoundaryEdge object with the material vector, the triangulated boundary, and the information that the material at the boundary inside (measured with respect to the outer surface normal) is mat (2) and the material at the boundary outside is mat(1). The boundary elements tau are additionally equipped with shape elements for the representation of the tangential electromagnetic fields, see also Fig. 5, as will be discussed in more detail below.
13Once the nanophotonic environment is set up, we can run a simulation by specifying the external excitation, for instance a planewave excitation, initializing the bem solver, and solving the bem equations for a number of light wavelengths λ. In the toolbox we use the free-space wavenumber k 0 = 2π /λ instead. Figure 2: (a) Extinction cross sections for gold nanosphere (diameter 50 nm) embedded in water (black line) and air (gray line), as obtained from the solutions of the bem equations (circles) and the resonance mode expansion (+, ×). (b) Same as (a) but using for the abscissa the photon energy in eV rather than the light wavelength in nanometers. (c) Extinction cross sections for a gold nanoellipsoid with a long axis of 100 nm and short axis of 50 nm. (d,e) cim contour in the complex frequency plane (solid lines) and resonance mode energies ω k (symbols). Note that for small nanoparticles only modes with a non-vanishing dipole moment can be excited optically, with a similar behavior for larger nanoparticles where typically only a few modes contribute noticeably to the optical spectra. k0 = 2 * pi ./ lambda; % wavenumber of light in vacuum cext = zeros( size( k0 ) ); % initialize array for extinction cross section for i = 1 : numel( k0 ) % loop over wavenumbers sol = bem \ exc( tau, k0( i ) ); % solve BEM equations cext( i ) = extinction( exc, sol ); % compute exctinction cross section end The above code is quite self-explanatory and we will discuss the various commands in more detail in Sec. 3.2. When solving the BEM equations, we obtain a solution object sol that stores the tangential electromagnetic fields at the sphere boundary. From these fields all other electromagnetic quantities can be determined, such as the extinction cross section. We can finally plot the extinction cross section >> plot( lambda, cext ); to obtain the extinction cross section shown in Fig. 2(a). See also Fig. 3 for the example of a dielectric nanosphere with a Drude-Lorentz dielectric function representative for silicon.
Resonance modes and the cim solver
14We next show how to compute the optical cross sections using the resonance mode expansion. Details of our theoretical approach and of the working principle for the contour integral method (cim) approach will be presented in Secs. 3 and 4, respectively. In brief, we are seeking for a description of the nanophotonic environment in terms of (complex) resonance frequencies ω k and modes, as schematically shown in Fig. 1(c). To find these resonances, the user must define a contour in the complex frequency space, see ellipse in Figs. 2(d,e), and the cim algorithm then returns the resonances located inside this region in an (almost) black-box manner. We will discuss later in Sec. 5 that the approach only works for permittivity and permeability functions 5 In the second line we define an ellipse in the complex frequency plane ω = ω + iω , where the axis along ω goes from 1.5 eV to 2.6 eV, and the axis for ω goes from −0.2 eV to 0.2 eV. For the evaluation of the resonance modes we use 60 quadrature points, following the approach of Beyn [24] to be discussed in Sec. 4.7. We then solve the bem equations in the complex frequency plane, and the user must select the resonance modes to be kept in the simulations from a singular value decomposition [24]. This is accomplished with data = eval1( cim ); % solve BEM equations along contour tol = tolselect( cim, data, 'tol', 1e-2 ); % select modes according to singular values Upon execution of the tolselect command, the window shown in the left panel of Fig. 4 opens up. It displays the singular values returned from the cim algorithm. For typical problems, the resonance modes have the largest singular values and are separated by a sufficiently large gap from those modes which should be discarded because they do not noticeably contribute to the resonance mode expansion. We will comment on this point in more detail in Sec. 5. The user can select the relevant modes interactively with the mouse cursor (red line) and by clicking the left mouse button. Once the modes (red dots in left panel) are selected, we can visualize the resonance frequencies in the complex plane by pressing the ellipse icon in the matlab figure panel. This opens the figure shown in the right panel of Fig. 4. To continue from here on with the cim simulation, the user should press the green triangle icon . If something has gone wrong with 6 Figure 4: Graphical user interface of the tolselect toolbox function for the computation of the resonance modes using the approach of Beyn [24]. The left panel shows the singular values of the Beyn approach, see Sec. 4.7 for details, and the user can interactively select those resonance modes that have a sufficiently large singular value. This step is somewhat critical, because several things can go wrong in the cim approach, as briefly discussed in Sec. 5. In the panel of the left matlab figure three special icons have been added: when the ellipse is pressed, the figure shown in the right panel opens up and displays the contour in the complex plane together with the resonance frequencies of the modes selected by the user. When the green triangle is pressed, the cim calculation continues, when the red circle • is pressed, the cim calculation stops. the computation of the resonance modes, the user should press the red circle •. In the calling program the progress of the cim calculation is then handled with if isempty( tol ), return; end cim = eval2( cim, data, 'tol', tol );
15The first line makes sure that the user has not pressed the red circle icon •, otherwise the calculation is stopped. In the second line we keep the modes with a sufficiently large singular value and normalize the modes, using the approach discussed in Sec. 3. Once the cim solver has been initialized, it can be used in the same manner as the previously described bem solver. For instance, using the excitation object exc for plane waves we can compute the bem solution through sol = bem \ exc( tau, k0 ); This step is usually fast because all relevant information about the electromagnetic response to an external excitation is already contained in the resonance modes. Yet, the description is often extremely accurate, as can be seen for instance by comparing the results of the bem and cim simulations in Figs. 2 and 3, which are almost indistinguishable.
Theory
16In this section, we first introduce to the theory of the boundary integral method approach and its numerical implementation using boundary elements, and then discuss the basic ideas behind resonance modes and resonance mode expansions.
Boundary integral method
17Within the boundary integral method one considers one or several particles embedded in a background medium, as depicted in Fig. 1(a). In the following we discuss for simplicity the case of a single particle only, but our approach can be easily generalized and the nanobem toolbox implements general geometries with possibly coupled or coated particles. Our main assumption about the system under study is that the electromagnetic response of the particle and the background medium is linear and can be described in terms of homogeneous, isotropic, and local material parameters. We denote the permittivity and permeability of the particle with ε 1 and µ 1 , respectively, and the material properties of the background medium with ε 2 , µ 2 . The particle volume is Ω, the particle boundary is ∂Ω, and the outer surface normal pointing away from the particle isn. The boundary integral method, to be discussed below, is a solution scheme for Maxwell's equations that only involves the tangential electromagnetic fields at the particle boundary s ∈ ∂Ω,
18We consider the case of incoming electromagnetic fields E inc 2 , H inc 2 oscillating with a given angular frequency ω, which are either solutions of the homogeneous Maxwell's equations, e.g., plane waves, or are produced by current sources located within the background medium, e.g., oscillating dipoles. These incoming fields would be the solutions of Maxwell's equations in absence of the particle. In presence of the particle we additionally have to consider the scattered fields E sca 1 , H sca 1 and E sca 2 , H sca 2 inside and outside the particle, respectively, which have to be chosen such that the boundary conditions of Maxwell's equations hold at the particle boundary. The total electromagnetic fields are the sum of incoming and scattered fields. As discussed in Refs. [12,15] and briefly outlined in Appendix A, for positions r inside the particle the electromagnetic fields can be obtained from the representation formulas (we use SI units throughout)
19Similarly, for positions r outside the particle the electromagnetic fields can be obtained from
20Here S u E,H (r) and D u E,H (r) are the single and double layer potentials, for details see Appendix A, which propagate the tangential electromagnetic fields u E,H from the particle boundary to position r. Note that owing to the boundary conditions of Maxwell's equations u E,H are the same inside and outside the particle. Eq. (5) is reminiscent of Huygen's principle which propagates the fields at the wavefront (here u E,H ) to another position in space (here r). Thus, once u E,H are known at the boundary, we can compute the electromagnetic fields everywhere else using the representation formulas of Eq. (5). The tangential fields u E,H can be obtained by letting r in Eq. (5) approach the boundary of the particle, and by exploiting the boundary conditions of Maxwell's equations. While this limit can be performed safely for the single layer potential, lim r→sn × S u E,H (r) =n × S u E,H (s), in the evaluation of the double layer potential we have to be careful on whether we approach the boundary from the inside or outside [12] lim
Raviart-Thomas shape elements ( ), ′ ′ ( ′)
21Local edge
22Global DOF Triangle Triangle ′ Figure 5: Discretized particle boundary and Raviart-Thomas shape elements for boundary element method (bem) approach. (a) In bem, the nanoparticle boundary is discretized by boundary elements, here of triangular shape. (b) In each triangle τ i we introduce Raviart-Thomas shape elements f ia (s) for the representation of the tangential electromagnetic fields. The shape elements are constructed such that the inflow to an edge equals the outflow to the adjacent triangle. For the representation of the tangential fields we attach a value u e E,H to each edge and interpolate the fields in the triangles using the shape elements. Each edge is labeled by a unique global degree of freedom ν, within each triangle we use the local degrees of freedom i, a, where a denotes the different edges of triangle τ i .
23Here the positive sign has to be taken for the limit from the inside, and the negative sign for the limit from the outside. Thus, if we consider in Eq. (5a) the tangential fieldsn × E,n × H and approach the boundary from the inside, we get
24Similarly, we obtain from Eq. (5b)
25For given incoming fields E inc 2 , H inc 2 , we must extract from the two sets of equations (7) the unknown u E,H . In the Poggio-Miller-Chang-Harrington-Wu-Tsai formulation [25][26][27] one subtracts the two sets of equations to arrive at [12] n
26These are the working equations for the boundary integral method approach.
Boundary element method
27The boundary element method (bem) approach implements Eq. (8) for a discretized particle boundary
28where τ i denote the different boundary elements and m is the total number of elements. See also Fig. 5. In the nanobem toolbox we currently provide boundary elements of triangular shape only 9
29and consider regular mesh triangulations where each edge of a given triangle is shared by a single adjacent triangle. In addition to the discretized particle boundary, we also need a discretization for the tangential electromagnetic field u E,H . A convenient choice are the Raviart-Thomas or Rao-Wilton-Glison basis elements, which guarantee the continuity of the tangential fields when going from one triangle to an adjacent triangle [12,15]. Technically, this is done by assigning to each edge ν of the discretized particle a value for u e E,H ν and by using basis functions f e ν (s) that are nonzero in the two adjacent triangles only (a so-called local support), and which are constructed such that the outflow from one triangle equals the inflow to the other triangle. For details see [12,15]. The discretized tangential fields can then be approximated through
30where n is the total number of individual edges that equals the number of degrees of freedom for the bem approach. Finally, Eq. (8) is converted into a matrix equation using a Galerkin scheme.
31For the single layer potential we obtain [12] S
32where dS denotes the integration over the boundary, with a similar expression for the double layer potential. Note that because of the local support of the basis function f e ν the above integral can be broken down into integrals over triangle pairs. Finally, the working equations (8) of the boundary integral method approach can be approximated through a matrix equation
33with the inhomogeneity of the incoming fields
34Details of the implementation of Eq. (12) within the nanobem toolbox will be given below.
Resonance modes and contour integral method
35In many cases of interest, the working equation (12) can be approximately solved by using resonance modes. We start by rewriting the working equations in the more compact form
36or A(ω)u = q in short, where we have explictly indicated the dependence of the transmission matrix A on the angular frequency ω of the external excitation. A resonance mode is characterized through a (in general complex) resonance frequency ω k for which the following expression holds
3710
38Here v k is the resonance mode associated with ω k . Due to our formulation of the bem equations, see also Appendix A, it is guaranteed that these modes have the proper boundary conditions of outgoing waves at infinity. The computation of the resonance modes is particularly simple within the bem approach, contrary to many other computational schemes such as the finite element method approach, where the consideration of complex frequencies requires a careful treatment of the perfectly matched layers in order to properly damp the outgoing waves. In contrast, within bem the single and double layer potentials only connect positions on the boundary of the particle, and S, D can be safely evaluated for complex frequencies.
39In the nanobem toolbox we employ the contour integral method approach of Beyn [24], which allows computing the eigenmodes in a complete black box manner: we solve Eq. (14) for random inhomogeneities along a contour in the complex frequency plane, and the algorithm provides the resonances located inside the contour. Details of our implementation of the contour integral method (cim) and its working principles will be presented in Sec. 4.7.
40In addition to the right eigenmodes of Eq. (15) there also exist left eigenmodesν k defined throughṽ
41whereṽ k is obtained from v k by exchanging the electric and magnetic components. This can be easily proven by taking the transpose of Eq. (15) and noting that all of the submatrices A 11 , A 12 , A 21 , A 22 in Eq. (14) are symmetric, and additonally A 11 = A 22 holds, as can be inferred from the matrix in Eq. (12).
42In a second step, we approach the reconstruction problem and seek for a description of the electromagnetic response to some incoming fields in terms of resonance modes via
43where K is the number of modes under consideration, e.g., those located inside a given contour in the complex frequency plane, and C k (ω) are the expansion coefficients to be determined. In case of a single mode v k , we can expand close to the resonance ω ≈ ω k the transmission matrix into a Taylor series and rewrite the bem equation A(ω)u = q approximately as
44where A (ω k ) denotes the derivative of the transmission matrix at the resonance frequency. Multiplying the equation from the left-hand side withṽ T k and using Eq. (16), allows us to express the expansion coefficient as
45The term in parentheses is a normalization constant, and the fraction is a Lorentzian lineshape function with the resonance frequency ω k and the oscillator strengthṽ T k q. In case of many resonance modes, one can show that the expansion of Eq. (17) can be written in the form where h(ω) is a holomorphic function that contains contributions from resonance modes located outside the contour and terms originating from higher-order contributions of the Taylor expansion of the transmission matrix A(ω). Eq. (20) follows from Keldysh's theorem [29,30], a central result of the theory of eigenvalue problems for holomorphic Fredholm operator-valued functions, which can be directly applied to our bem formulation. In many cases of interest, the contribution of h(ω) can be neglected, but there is no guarantee that such an approach always works. See Sec. 4.7 for a discussion of this issue and the possibility to consider a non-resonant background.
The nanobem toolbox
46The nanobem toolbox is a matlab implementation of the Galerkin scheme for the boundary element method approach using Raviart-Thomas basis functions. It is written in an object oriented manner with the main emphasis on clarity rather than speed. We have currently tested the code for relatively small problems only, say a few thousand boundary elements. In the following we discuss the various steps of a typical bem simulation in more detail, which require setting up the particle boundaries and the dielectric environment, specifying the external perturbation, and solving the bem equations, with a possible post processing of the final solution vector. Note that the toolbox comes along with matlab help pages that provide further information about the implementation details. Table 1 lists the most important classes of the toolbox.
Units
47With exception of the Material class and the cim solver, in the nanobem toolbox lengths are measured in nanometers and frequencies are converted to the corresponding wavenumbers of light in vacuum
48λ is the wavelength of light in vacuum, ω the angular frequency, and c the speed of light. Occasionally one would like to convert from eV to wavenumbers. This can be done through ene = 2; % photon energy in eV units;
49% load conversion factor from eV to wavelength in nm lambda = eV2nm / ene; % convert to wavelength in nm k0 = 2 * pi / lambda; % convert wavelength to wavenumber
50Electric fields are given in units of the field strength of the incoming field, which can be also set to one, such that the simulations give the field enhancement only. Instead of the magnetic field we internally use Z 0 H, with Z 0 being the free space impedance, such that the electric field and the scaled magnetic field have the same units.
Material class
51The material properties of a medium are implemented in the nanobem toolbox through the Material class mat = Material( eps, mu ); % initialize Material object
52Here eps is either a constant or a permittivity function eps(ene) with the photon energy in eV as input, with a corresponding functionality for the permeability mu. Both eps and mu should return dimensionless numbers. We provide functions for tabulated and Drude dielectric functions eps = epstable( 'gold.dat' ); % use tabulated dielectric function eps = epsdrude( 'Au' ); % Drude dielectric function
53Once the material object is initialized, we can compute for a given free space wavenumber k0 the permittivity mat.eps(k0), the permeability mat.mu(k0), the effective wavenumber mat.k(k0), and the impedance mat.Z(k0). In all nanobem simulations we first have to set up a table of material properties, e.g., for air and silver mat1 = Material( 1, 1 ); % air mat2 = Material( epstable( 'silver.dat' ), 1 ); % silver mat = [ mat1, mat2 ];
54% unique material vector
55The material vector mat should be specified once, and then the same vector should be passed to all objects and functions of the toolbox. We recommend setting the first entry of the material vector to the material of the background medium.
Boundary
56In a typical bem simulation we deal with several connected or unconnected boundaries
57where each boundary ∂Ω j has an orientation, this is an inside and outside specified with respect to the outer surface normaln, and each boundary ∂Ω j must have a single material at the inside and outside. The boundaries ∂Ω j are discretized using triangles τ i through
58where m is the total number of triangles. In the nanobem toolbox these boundaries are specified using the particle class p = particle( verts, faces ); % set up particle boundary
59Here verts are the triangle corners or vertices, and faces is a m × 3 matrix describing how these vertices are connected within the individual triangles. Note that this implementation is in complete analogy to the face-vertex structures provided by matlab. The toolbox provides a few implementations for simple shapes, such as spheres, rods, or cubes, together with a plotting function for the particle boundary. Details can be found in the help pages of the toolbox. For more complicated setups the user must provide a discretization of the boundaries of the desired structure in terms of vertices and triangular faces, which often constitutes the most difficult part in setting up a bem simulation.
Shape elements
60Once we have set up the material vector and the boundaries, we can initialize the Raviart-Thomas shape elements which play a central role in our bem approach, tau = BoundaryEdge( mat, p, inout ); tau = BoundaryEdge( mat, p1, inout1, p2, inout2, ... );
61Here mat is a unique material vector, p is a particle object characterizing the discretized particle boundary, and inout is a vector [i1,i2] where mat(i1) is the material at the particle inside and mat(i2) the material at the particle outside. See also Fig. 5. For example, to set up a silver sphere embedded in glass (refractive index 1.5) we proceed as follows In the first line we set up the material vector, in the third line we define a sphere triangulation with 144 vertices (diameter 50 nm), using the toolbox function trisphere, and in the last line we set up the shape elements for the nanosphere boundary with silver at the inside and glass at the outside. tau is a BoundaryEdge vector specifying the shape elements for the discretized particle boundary, where each vector element has the following properties tau(i).nu; % global degrees of freedom for triangle edges tau(i).val; % auxiliary information for Thomas-Raviart basis elements tau(i).inout; % index to material at inside and outside tau(i).verts; % triangle vertices nu are the three global degrees of freedom for the shape elements assigned to the three edges of the triangle, see Eq. (10) and Fig. 5, and val is a value for the Raviart-Thomas elements that is chosen such that the flow of u E,H in and out of the triangle edges is conserved. inout specifies the material at the inside and outside of the triangle boundary, and verts are the triangle corners. Note that in our present implementation we internally assign the shape elements to the boundary elements, and evaluate the single and double layer potentials for triangle pairs rather than shape element pairs, which extend over two triangles. This allows for some speedup for discretizations with a moderate number of boundary elements, say a few thousands, but may become inefficient for larger discretizations. From here on all information about the discretized boundary is stored in the BoundaryEdge vector, the information of the particle object is no longer needed. We note in passing that the toolbox also implements linear shape elements BoundaryVert for simulations using the quasistatic approach, for details see the help pages of the toolbox.
Plane wave and dipole excitation
62At present, the nanobem toolbox provides two types of external excitations, namely plane waves and oscillating dipoles. Other excitations can be easily implemented, as described in more detail in Appendix B, all a user must provide is a structure of the form qinc = struct( 'e', e, 'h', h, 'tau', tau, 'k0', k0 );
63Here e, h are the inhomogeneities given in Eq. (13), tau is a vector for the boundary elements, and k0 is the free space wavenumber of the incoming fields. The dimensions of e, h must be n×1 for a single excitation, where n is the total number of edges or degrees of freedom, see Eq. (10). It is also possible to specify multiple excitations, e.g. different polarization vectors, by providing array dimensions of n × m or any other multidimensional shape with leading dimension n. For plane wave excitations, we first set up a galerkin.planewave object which is then evaluated for a given bounday tau and wavenumber k0 exc = galerkin.planewave( [ 1, 0, 0; 0, 1, 0 ], [ 0, 0, 1; 0, 0, 1 ] ); qinc = exc( tau, k0 );
64The first array in the call to galerkin.planewave gives the polarization vectors, here polarization along x and y, and the second array gives the light propagation direction, here along z. To set up an excitation of oscillating dipoles, we must first specify the positions of the dipoles and in which medium they are located pt = Point( mat, imat, pos ); mat is the same material vector that is passed to BoundaryEdge, imat specifies the medium (scalar) or media (vector) in which the dipole positions pos are located. Alternatively, the positions can be also placed automatically in the photonic environment specified by tau pt = Point( tau, pos );
65Once the Point object is initialized, we can set up and evaluate the galerkin.dipole object in the same way as for plane waves dip = galerkin.dipole( pt ); qinc = dip( tau, k0 ); e, h are arrays of dimension n × m pt × 3, where m pt is the number of dipole positions and the last dimension accounts for the dipole orientations along x, y, and z.
The boundary element method solver
66To solve the bem equations (12), one has to set up a galerkin.bemsolver object and invert the matrix equation for the excitation structure qinc bem = galerkin.bemsolver( tau ); sol = bem \ qinc;
67Both the initialization and the solution of the bem solver are typically the most time consuming parts of a simulation. The performance and the working principle of the bem solver can be controlled through additional arguments passed in the initialization call to the solver, as described in more detail in Appendix B.3 and the help pages of the toolbox. The bem solution sol is an object of type sol = galerkin.solution( tau, k0, e, h );
68where tau is the discretized boundary, k0 is the free space wavenumber for the external excitation, and e, h hold the values u e E,H characterizing the tangential electromagnetic fields of Eq. (10). The bem solution object sol can be used for various kinds of post processing. For a planewave excitation we can pass the solution to the planewave object in order to compute the optical cross sections csca = scattering( exc, sol ); % scattering cross section in (nm^2) cabs = absorption( exc, sol ); % absorption cross section in (nm^2) cext = extinction( exc, sol ); % extinction cross section in (nm^2)
69For a dipole excitation, we can use the dipole object in order to compute the total and radiative decay rates in units of the free-space decay rate [12, chapter 10] [ tot, rad ] = decayrate( dip, sol );
70For all types of excitations we can compute the electromagnetic fields at the particle boundary and the surface charge distribution The fields and the surface charge distribution are given at the centroids of the boundary elements. The toolbox provides a number of plotting routines for the fields and the surface charge distribution, as described in more detail in the help pages. In order to evaluate the fields away from the boundary, we can use the representation formulas (5). To this end we set up a Point object and pass it together with the solution vector to the fields function In the first line we set up a regular grid of size len with n × n points centered around the origin, and place in the second line the points into the photonic environment of tau. In the third and fourth line we compute the scattered and incoming fields, which have the dimension of npt×3×m, where npt is the number of points and m the number of excitations. Finally, we can also compute the optical far fields through The points pt should be placed in the embedding medium and give the direction (measured with respect to the origin) along which the fields propagate far away from the nanoparticle.
The contour integral method solver
71The contour integral method of Beyn [24] allows to determine the resonance frequencies ω k and modes v k of Eq. (15) that are located inside a given closed contour Γ in the complex frequency plane (see also Ref. [31] for a related scheme). We start by briefly summarizing the method of Beyn [24] for the determination of the modes fulfilling A(ω k )v k = 0. First, we set up a random matrix V r of dimension n × n r , where n is the matrix size of A(ω) (this is the total number of global degrees of freedom for representing the electric and magnetic fields) and n r is 16 a value that has to be larger than the number of resonance modes in the contour (which can only be determined at the end of the algorithm). We usually set n r to a value of a few hundreds. In a second step, we compute the matrices
72for different values of j. We use an elliptic contour Γ and approximate the contour integration through a simple trapezoidal quadrature. The solution of A(z)u = V r for u in Eq. (24) requires the solution of the bem equation, which is typically the time consuming part of cim (together with the computation of the normalization constants to be described at the end). In the following we describe the procedure for obtaining the resonance modes from the knowledge of the matrices A 0 , A 1 , but we have also implemented the algorithm using higher-order matrices along the lines discussed in the paper of Beyn. Quite generally, in all our computer experiments the cim approach worked perfectly when using A 0 , A 1 only. In a third step, we perform a singular value decomposition of A 0 = V 0 Σ 0 W † 0 and keep only singular values that are larger than some cutoff value. In the toolbox, this step is implemented through the graphical user interface described in Sec. 2, and we will discuss this step in more detail below in Sec. 5. In the fourth and last step, we compute the resonance frequencies ω k and modes v k from the solutions of the eigenvalue problem
73Once the resonance modes have been computed, we can check the accuracy of the numerical scheme by computing the residuals
74Finally, we compute the left modesṽ k from Eq. (16) and the normalization factors in Eq. (20). Inside the toolbox these normalization factors are absorbed intoṽ k . The resonance modes and the contour in the complex frequency plane are given in units of the photon energy ω in eV. The cim solver is set up with cim = galerkin.cimsolver( bem ); % use previously initialized BEM solver cim = galerkin.cimsolver( tau ); % or set up CIM solver using boundary elements
75Once the cim solver is initialized, we can set the size n r for the random matrix, the order nz for cim, and the contour Γ through cim.nr = 200; % size of random matrix cim.nz = 1; % order for CIM, default value is 1 cim.contour = cimbase.ellipse( [ zmin, zmax ], irad, nt );
76In the initialization of the contour, zmin and zmax are the minimum and maximum of the contour on the real axis, irad is the extension of the contour along the imagainary axis, and nt is the number of quadrature points along the contour. If needed, users can also shift the ellipse into the complex plane by adding an imaginary part to the first argument [zmin,zmax]+1i*zshift. We next call data = eval1( cim, PropertyPairs );
77In this call the bem solver is initialized if we have previously set up the cim solver with the boundary elements, where the performance of the bem solver can be controlled with the same property pairs as in the initialization of the bem solver, see also Appendix B, and additionally the matrices A j of Eq. (24) are evaluated along the discretized contour. This evaluation can be rather time consuming depending on the number of boundary elements tau and quadrature points. The cutoff value for the singular values can be set interactively by the user with the tolselect function described in Sec. 2, tol = tolselect( cim, data ); if isempty( tol ), return; end cim = eval2( cim, data, 'tol', tol );
78The second line is needed for the case that the user stops the simulation in the call to tolselect.
79In the call to eval2 we compute the left resonance modes and normalization constants, which can be again time consuming because of the evaluation of A (ω k ) for the normalization constant. The cim object now stores the following properties The outcome of this call is a galerkin.solution vector that can be used for post processing purposes in exactly the same way as previously described in Sec. 3.2. For larger nanoparticles one occasionally observes a consistent deviation between the bem and cim results, see for instance the extinction spectra in Fig. 3(a,b) or Fig. 6(b,c). As discussed for instance in [32][33][34], a spectrally broad, featureless and non-resonant background can account for this discrepancy. We will not enter into this topic here, but present a simple approach for considering such a non-resonant background. In the spirit of Eq. (20), we associate the difference between the inverse of the bem transmission matrix A −1 (ω) and its cim approximate as the holomorphic matrix
80which accounts for the background. As H(ω) is expected to have a weak frequency dependence, it usually suffices to compute H(ω) at a few sampling points only and to interpolate the function in between using a quadratic or cubic fit. For instance, in Fig. 3 Once the non-resonant part has been added, the approximate cim solution can again be obtained through sol=cim\qinc. . The upper parts of the panels show the extinction cross sections C ext , the lower parts display the contour for the determination of the resonance modes and the resonance energies ω k . The nanobem and bem++ results are in perfect agreement throughout. The slight but systematic disagreement between the bem and cim results for the larger structures in panels (b,d) is due to the approximate nature of cim, as discussed in more detail in [18], which can be approximately accounted for through a non-resonant background (see Sec. 4.7).
Frequently asked questions about resonance modes
81The main purpose of this paper is to provide a toolbox for the simple and efficient computation of resonance modes using the bem approach. Users interested in such an approach are advised to set up their own problems, and to critically examine them using computer experiments. From our own experience we found that several things can go wrong in the computation of resonance modes. In the following we list a few dos and don'ts.
82Accumulation points. For nanostructures there usually exist accumulation points where an infinite number of resonance frequencies converges at a single frequency, e.g. the edge modes of a cube. The cim algorithm may fail when such an accumulation point falls into the contour Γ. In such situations one often finds that all singular values have the same order of magnitude, rather than the standard situation where the large singular values are separated from the smaller ones through a noticeable gap (see Fig. 4). Accuracy for boundary integration. In particular for boundary discretizations where the boundary elements have different sizes, it is important to select high accuracy for triangle integrations. When the results of bem and cim simulations differ, it might be a good idea to increase the accuracy for boundary integrations, see table B.3 for the control of the quadrature performance using an option structure.
83Accuracy of toolbox. We have tried our best to make the implementation of the bem approach within the nanobem toolbox as transparent and accurate as possible, where most of the quadrature rules can be directly controlled by the user. Comparison of our toolbox results with Mie theory shows excellent agreement throughout, demo programs can be obtained in the help pages. Fig. 6 shows for selected geometries a comparison of our results with those obtained with the independent bem++ software [35], giving excellent agreement throughout.
84Analytic continuation. While a Drude dielectric function of the form
85can be easily extended to the complex frequency plane, a function tabulated for real frequencies (e.g. epstable) cannot. This doesn't necessarily mean that there will be an error message in the computation of the resonance modes, but the results will be meaningless. For this reason, users must assure that their permittivity and permeability functions are suitable for a continuation into the complex plane. For instance, both functions should be causal and thus fulfill the Kramers-Kronig relation. BEM and CIM results differ. The resonance mode expansion via a finite set of modes is only approximate, and it may happen that the bem and cim results differ systematically, for example if not all relevant modes are considered in the cim. Also for larger structures a systematic discrepancy between bem and cim might show up, see for instance panels (b,d) in Fig. 6. See also the 20 discussion about a non-resonant background given below. Branch cuts. The contour Γ of Eq. (24) should avoid crossing branch cuts of the square root of the permittivity and permeability functions. For Drude dielectric functions similar to Eq. (28) the toolbox has implemented a suitable zsqrt function that avoids crossing branch cuts, for other material functions one should be at least aware of this problem.
86Convergence. Quite generally, the bem results should converge to the exact solutions of the transmission problem of Eq. (1) for sufficiently small mesh sizes h and for sufficiently regular solutions. Beyond a certain threshold value, which is hard to determine for systems where no analytic solutions are available, the error due to the boundary discretization scales with h 3 /2 . As a rule of thumb, the ratio between h and the effective wavelength in the medium should be at least of the order of 1 : 5. In any case, convergence is a critical issue and should be considered carefully in all simulations. Fig. 7 shows the convergence properties for selected resonance modes of a sphere towards the exact Mie results, as well as typical simulation runtimes.
87Contour. We recommend to always use an elliptic contour for the cim approach, as it can be shown to give numerically accurate results.
88Cutoff for singular values. Singular values with a small magnitude might be due to resonances that lie outside the contour, resonances that lie inside the contour but cannot be resolved well enough due to a too small number of quadrature points along the contour, and numerical artifacts. For a viable choice of the cutoff parameter, the results of the reconstruction problem should not not depend decisevely on its precise value because modes with a small singular value contribute only little to the expansion of Eq. (20). For this reason, the choice of this parameter is usually less critical than one could expect.
89Non-resonant background. For larger nanoparticles one occasionally observes a consistent difference between the bem and cim results, which can be attributed to a non-resonant background whose origin is not fully understood [32][33][34]. For a brief discussion and a possibility to account for such a background within the nanobem toolbox see Sec. 4.7.
90Number of resonance modes. For the optical spectra it usually suffices to keep only a small number of modes in the simulation. For excitations of oscillating dipoles, see e.g. democim02.m, the number of simulation modes should be larger, in particular for dipoles situated close to the nanoparticle.
91Residuals. To check the accuracy of the cim approach, it might be a good idea to inspect the residuals for the resonance modes. See Sec. 4.7 for details.
92Resonance frequency tracking. When bem and cim simulations agree for small structures but differ for larger structures, it might be a good idea to track the modes when continuously increasing the system size. It can happen that specific resonances move out of the contour in the complex plane and are no longer detected by the cim algorithm. In such cases, the contour should be enlarged to encompass all relevant resonance frequencies.
93Spectra versus nearfields. It often happens that the optical spectra computed with bem and cim are very similar, but the optical nearfields differ. This is no surprise because the spectra are only governed by the farfields features of the resonance modes. For this reason, it may be beneficial to compute the scattering spectra from the optical far fields, see for instance farscattering command in democim01.m.
94by the Austrian Science Fund FWF under project P 31264 and by NAWI Graz.
Appendix A. Representation formula
95In this appendix we derive the representation formula (5) and its implementation within the boundary element method approach. The derivation closely follows the original work of Stratton and Chu [36], which is discussed in more detail in [12,15], and is repeated here for the sake of completeness. Our starting point is the wave equation for the electric field
96where k is the wavenumber inside a given medium and J(r) is an external current distribution. It turns out to be convenient introducing a Green's function defined through
97which gives the electromagnetic response to a unit source located at position r subject to the boundary condition of outgoing waves at infinity (Silver-Müller radiation condition). It can be shown that the Green's function has the form of an outgoing spherical wave [12,15] ↔ G(r, r ) =
98where we have used the dyadic product (∇∇) i j = ∂ i ∂ j and ↔ I is the unit matrix. The matrix ↔ G is often referred to as the dyadic Green's function or Green's dyadics, in short. Apart from a prefactor, G i j (r, r ) relates a current source at position r oriented along the Cartesian direction j to the i'th component of the electric field at position r. We next multiply the wave equation (A.1) for the electric field from the right-hand side with the Green's dyadics
99For later convenience we have written the wave equation for the primed positions r rather than the unprimed ones. Similarly, we multiply Eq. (A.2) from the left-hand side with E(r ),
100We next integrate the two equations over r , which is assumed to be located in volume Ω, and subtract them to arrive at [15,Eq. (8.1.18)]
101with the incoming electric field
102We next use this modified expression together with Gauss' theorem to obtain a boundary integral of the form
103where we have explicitly indicated the surface normaln of the boundary. The first term in curly brackets can be simplified by performing a cyclic permutation of the triple product and using Faraday's law for the curl of E, and the second one by performing a cyclic permutation of the triple product. This leads us to our final expression [12,Eq. (5.26)]
104In deriving this expression we have exploited that ↔ G is a symmetric tensor. We next introduce the single layer potential [12,Eq. (5.34
105where we have used integration by parts to arrive at the second expression, together with the double layer potential
106With these potentials we can cast Eq. (A.8) to the representation formula (5) given in the main text. The expressions outside of volume Ω can be obtained in complete analogy to the above derivation but for the integration over volume R 3 \Ω and by observing that the outgoing fields at infinity go to zero. In the numerical implementation for the bem approach we have to evaluate the single and double layer potentials for the Raviart-Thomas shape functions, see Eq. (11), to arrive at the expressions
107where we have performed for S an integration by parts in order to bring the derivative from the Green's function to the Raviart-Thomas shape element. The potentials of Eq. (A.11) are at the heart of our bem approach. More details about the numerical evaluation will be presented in Appendix B.
108we obtain the quadrature positions of dimension ntau × nq × 3, where ntau is the number of boundary elements pt.tau and nq the number of quadrature points per boundary element, the quadrature weights w of dimension ntau × nq, and the Raviart-Thomas shape elements f of Eq. (10) with dimension ntau × nq × npoly × 3, where npoly labels the three shape elements associated with the triangle edges. The additional output argument fp gives the divergence of the shape elements ∇ · f e ν of size ntau × nq × npoly, which is needed in some cases. As a representative example, in the following we show how to compute the inhomogeneities of Eq. (13) for a planewave excitation
109with a similar expression for the magnetic field. Note that the shape function f e ia is here defined for a specific triangle τ i and for edge a, the translation to the global degrees of freedom ν will be done at the end. Using the field evaluation function of Appendix B.1 and a single quadboundary object pt, the inhomogeneities can be computed through We can finally use this function for the total evaluation of the inhomogeneities of Eq. (13). In a first step we allocate the arrays for the inhomogeneities, using the number of global degrees of freedom ndof(tau) for the boundary elements. We then loop over the boundary elements and evaluate the inhomogeneities of Eq. (B.1) provided that the boundary is connected to the embedding medium. Finally, we translate from the local degrees of freedom i, a to the global degrees ν.
110[ qinc.e, qinc.h ] = deal( zeros( ndof( tau ), size( pol, 1 ) ); % allocation for pt = quadboundary( tau, 'quad3', triquad( 3 ) ) % loop over boundary elements if pt.inout( 2 ) == 1 [ qe, qh ] = qfields( pol, dir, mat, k0, pt ); % field evalulation qe = reshape( qe, [], size( pol, 1 ) ); qh = reshape( qh, [], size( pol, 1 ) ); nu = vertcat( pt.tau.nu ); % translation to global degrees of freedom for it = 1 : numel( nu )
111qinc In the first step std, we evaluate the integrals using quadrature rules of low order with only few quadrature points per triangle. In the second step refine, we use a refined quadrature rules for triangle pairs that are sufficiently close to each other. In the final step duffy, we use specialized quadrature rules for identical or touching triangle pairs to deal with the singular integrands of the single and double layer potentials.
112The integrand diverges for s ≈ s and one has to be careful in the evaluation of the integral for identical or touching triangle pairs, as well as for triangles that are located close to each other. The evaluation of integrals of the form of Eq. (B.2) is performed in the toolbox through a quadrature engine, which allows to use different quadrature rules (coarse or refined) for different triangle pairs. We also provide the possibility that the exponential in Eq. (B.2) is expanded in a Taylor series, such that the time consuming evaluations of the double integrals have to be performed only once. The order of the Taylor expansion is controlled by the parameter order (with a default value of three). In the following we describe the quadrature engine and the parameters for its control in slightly more detail. We first introduce a measure for the distance between two triangles τ 1 , τ 2 . First, we enclose each boundary element τ in a sphere with radius rad(τ) that is centered around pos(τ). The mean distance scaled by the bounding box radius is then defined as the relative distance d(τ 1 , τ 2 ) = pos(τ 1 ) − pos(τ 2 ) rad(τ 1 ) + rad(τ 2 ) .
(B.3)
113When this distance is smaller than some parameter relcutoff we usually perform a refined integration. The working principle of our quadrature engine is depicted in Fig. B.8. We start with a coarse integration for all triangle pairs, and then successively employ more refined quadrature rules. In each refinement step the previous results are overwritten. To set up the quadrature engine, we first define the quadrature rules for the standard and refined integration rules = quadboundary.rules( 'quad3', triquad ( 3 ) ); % standard rules1 = quadboundary.rules( 'quad3', triquad ( 11 ) ); % refined
114The quadrature engine is then set up for instance through pot( 1 ) = galerkin.pot1.std( 'rules', rules ); pot( 2 ) = galerkin.pot1.refine2( 'relcutoff', 2, 'order', 3, 'rules1', rules1 ); pot( 3 ) = galerkin.pot1.duffy2( 'nduffy', 3 );
115Here order controls the Taylor series expansion, relcutoff controls the triangle distance for refined integration, and nduffy controls the quadrature rules for touching or identical triangle pairs. The quadrature engine can be passed to the bem solver through bem = galerkin.bemsolver( tau, 'engine', pot ); In the evaluation of the single and double layer potentials we then progress in bem through the pot array, where each element provides the quadrature rules for the coarse or refined triangle integrations. Alternatively, we can also set up an option array and pass the arguments controlling the engine directly to the bem solver (see also Note that with order=[] no series expansion is performed in the exponential of Eq. (B.2), which can lead to more accurate results at the expense of a significant increase of simulation time. A similar quadrature engine approach is used when computing the fields away from the boundary, using the representation formula (5). The relative distance between position r and the boundary element τ is defined through the distance between r and pos(τ) scaled by the bounding box radius rad(τ). The quadrature engine is set up in the same way as before pot( 1 ) = galerkin.pot2.std( 'rules', rules ); pot( 2 ) = galerkin.pot2.smooth( 'relcutoff', 2, 'rules', rules1 );
116This engine is used for instance in the fields function for the bem solution vector, where the performance can be controlled again by passing arguments to the function. The smooth integration function uses the singularity subtraction method of [39] for the evaluation of the integrals with divergent integrands. More details about the performance and functionality of the engine functions can be found in the help pages of the toolbox.
참고문헌 41건
- High-order/spectral methods on unstructured grids I. Time-domain solution of Maxwell's equations 2001
- Non-Self-Adjoint Boundary Eigenvalue Problems North-Holland mathematics studies · Elsevier BV · 2003 10.1016/s0304-0208(03)x8001-9
- Waves and Fields in Inhomogeneous Media 1990
- Errata to "Accurate and efficient numerical integration of weakly singular integrals in galerkin EFIE solutions IEEE Transactions on Antennas and Propagation · IEEE Antennas & Propagation Society · 2003 10.1109/tap.2003.817014
- High-order accurate methods in time-domain computational electromagnetics: A review Advances in imaging and electron physics · Academic Press · 2003 10.1016/s1076-5670(03)80097-6
- Differential Equations with Operator Coefficients: with Applications to Boundary Value Problems for Partial Differential Equations 1999
- An integral method for solving nonlinear eigenvalue problems Linear Algebra and its Applications · Elsevier BV · 2011 10.1016/j.laa.2011.03.030
- Solving Boundary Integral Problems with BEM++ ACM Transactions on Mathematical Software · Association for Computing Machinery · 2015 10.1145/2590830
- Diffraction Theory of Electromagnetic Waves Physical Review · American Institute of Physics · 1939 10.1103/physrev.56.99
- Efficient and intuitive method for the analysis of light scattering by a resonant nanostructure Optics Express · Optica Publishing Group · 2013 10.1364/oe.21.027371
- Quasinormal mode approach to modelling light-emission and propagation in nanoplasmonics New Journal of Physics · IOP Publishing · 2014 10.1088/1367-2630/16/11/113048
- Nodal High-Order Methods on Unstructured Grids Journal of Computational Physics · Elsevier BV · 2002 10.1006/jcph.2002.7118
- Scattering from arbitrarily‐shaped lossy dielectric bodies of revolution Radio Science · Wiley · 1977 10.1029/rs012i005p00709
- Simulating electron energy loss spectroscopy with the MNPBEM toolbox Computer Physics Communications · Elsevier BV · 2013 10.1016/j.cpc.2013.12.010
- Retarded field calculation of electron energy loss in inhomogeneous dielectrics Physical review. B, Condensed matter · American Physical Society · 2002 10.1103/physrevb.65.115418
- Numerical Methods for Calculating Poles of the Scattering Matrix With Applications in Grating Theory Journal of Lightwave Technology · Institute of Electrical and Electronics Engineers · 2013 10.1109/jlt.2012.2234723
- Theory of the Spontaneous Optical Emission of Nanosize Photonic and Plasmon Resonators Physical Review Letters · American Physical Society · 2013 10.1103/physrevlett.110.237401
- Completeness and orthogonality of quasinormal modes in leaky optical cavities Physical Review A · American Physical Society · 1994 10.1103/physreva.49.3057
- Validation of a Galerkin technique on a boundary integral equation for creeping flow around a torus Computational and Applied Mathematics · Springer Science+Business Media · 2013 10.1007/s40314-013-0043-5
- MNPBEM – A Matlab toolbox for the simulation of plasmonic nanoparticles Computer Physics Communications · Elsevier BV · 2011 10.1016/j.cpc.2011.09.009
- Surface integral formulation for 3D simulations of plasmonic and high permittivity nanostructures Journal of the Optical Society of America A · Optica Publishing Group · 2009 10.1364/josaa.26.000732
- SINGULARITY SUBTRACTION INTEGRAL FORMULAE FOR SURFACE INTEGRAL EQUATIONS WITH RWG, ROOFTOP AND HYBRID BASIS FUNCTIONS Electromagnetic waves · 2006 10.2528/pier06051901
- Plasmonics for extreme light concentration and manipulation Nature Materials · Nature Portfolio · 2010 10.1038/nmat2630
- A surface formulation for characteristic modes of material bodies IRE Transactions on Antennas and Propagation · Institute of Electrical and Electronics Engineers · 1977 10.1109/tap.1977.1141685
- Resonant-state expansion of dispersive open optical systems: Creating gold from sand Physical review. B./Physical review. B · American Physical Society · 2016 10.1103/physrevb.93.075417
- Eigen-energy effects and non-orthogonality in the quasi-normal mode expansion of Maxwell equations Optics Express · Optica Publishing Group · 2016 10.1364/oe.24.027137
- Making simulations with the MNPBEM toolbox big: Hierarchical matrices and iterative solvers Computer Physics Communications · Elsevier BV · 2017 10.1016/j.cpc.2017.08.010
- Riesz-projection-based theory of light-matter interaction in dispersive nanoresonators Physical review. A/Physical review, A · American Physical Society · 2018 10.1103/physreva.98.043806
- Photonics in highly dispersive media: the exact modal expansion Optics Letters · Optica Publishing Group · 2018 10.1364/ol.43.005813
- How to calculate the pole expansion of the optical scattering matrix from the resonant states Physical review. B./Physical review. B · American Physical Society · 2018 10.1103/physrevb.98.085433
- Modal expansion of the scattered field: Causality, nondivergence, and nonresonant contribution Physical review. B./Physical review. B · American Physical Society · 2018 10.1103/physrevb.98.085418
- Quasinormal mode solvers for resonators with dispersive materials Journal of the Optical Society of America A · Optica Publishing Group · 2019 10.1364/josaa.36.000686
- Novel Modal Approximation Scheme for Plasmonic Transmission Problems Physical Review Letters · American Physical Society · 2018 10.1103/physrevlett.121.246802
- Quantization of Quasinormal Modes for Open Cavities and Plasmonic Cavity Quantum Electrodynamics Physical Review Letters · American Physical Society · 2019 10.1103/physrevlett.122.213901
- Modeling electromagnetic resonators using quasinormal modes Advances in Optics and Photonics · Optica Publishing Group · 2020 10.1364/aop.377940
- Generalized effective mode volume for leaky optical cavities Optics Letters · Optica Publishing Group · 2012 10.1364/ol.37.001649
- Quasinormal mode approach to modelling light-emission and propagation in nanoplasmonics New Journal of Physics · IOP Publishing · 2014 10.1088/1367-2630/16/11/113048
- Numerical Methods for Calculating Poles of the Scattering Matrix With Applications in Grating Theory Journal of Lightwave Technology · Institute of Electrical and Electronics Engineers · 2013 10.1109/jlt.2012.2234723
- Quasinormal modes expansions for nanoresonators made of absorbing\n dielectric materials: study of the role of static modes arXiv (Cornell University) · Optica Publishing Group · 2021 10.48550/arxiv.2101.00968
- Nano and Quantum Optics Graduate texts in physics · Springer Nature · 2019 10.1007/978-3-030-30504-8
- Resonant-state expansion applied to three-dimensional open optical systems Physical Review A · American Physical Society · 2014 10.1103/physreva.90.013834