원시데이터 수집 시스템
선정목록으로

A nested hybridizable discontinuous Galerkin method for computing second-harmonic generation in three-dimensional metallic nanostructures

관련 수소연료전지 · (6) PEM(고분자전해질막)

기본 정보

저자
  1. Ferran Vidal-Codina — Department of Aeronautics and Astronautics, Massachusetts Institute of Technology, Cambridge, MA 02139, USA
  2. Ngoc Cuong Nguyen — Department of Aeronautics and Astronautics, Massachusetts Institute of Technology, Cambridge, MA 02139, USA
  3. Cristian Ciracì — Center for Biomolecular Nanotechnologies, Istituto Italiano di Tecnologia, Via Barsanti 14, 73010 Arnesano (LE), Italy
  4. Sang‐Hyun Oh — Department of Electrical and Computer Engineering, University of Minnesota, Minneapolis, MN 55455, USA
  5. J. Peraire — Department of Aeronautics and Astronautics, Massachusetts Institute of Technology, Cambridge, MA 02139, USA
DOI
10.1016/j.jcp.2020.110000
저널
Journal of Computational Physics
발행년도
2020
발행기관
Elsevier BV
피인용수
8
라이선스
publisher-specific-oa
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.jcp.2020.110000
토픽
Optical Coatings and Gratings
OpenAlex ID
W3021173315

평가 내용

관련도
관련
사업분야
수소연료전지 · (6) PEM(고분자전해질막)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

초록이 없습니다.

본문 107,587자

본문 펼치기
##### A nested hybridizable discontinuous Galerkin method for computing second-harmonic generation in three-dimensional metallic nanostructures F. Vidal-Codina <sup>a,</sup> <sup>_*_</sup>, N.-C. Nguyen <sup>a</sup>, C. Ciracì <sup>b</sup>, S.-H. Oh <sup>c</sup>, J. Peraire <sup>a</sup> _aDepartment_ _of_ _Aeronautics_ _and_ _Astronautics,_ _Massachusetts_ _Institute_ _of_ _Technology,_ _Cambridge,_ _MA_ _02139,_ _USA_ _bCenter_ _for_ _Biomolecular_ _Nanotechnologies,_ _Istituto_ _Italiano_ _di_ _Tecnologia,_ _Via_ _Barsanti_ _14,_ _73010_ _Arnesano_ _(LE),_ _Italy_ _cDepartment_ _of_ _Electrical_ _and_ _Computer_ _Engineering,_ _University_ _of_ _Minnesota,_ _Minneapolis,_ _MN_ _55455,_ _USA_ Abstract We develop a nested hybridizable discontinuous Galerkin (HDG) method to numerically solve the Maxwell’s equations coupled with a hydrodynamic model for the conduction-band electrons in metals. The HDG method leverages static condensation to eliminate the degrees of freedom of the approximate solution defined in the elements, yielding a linear system in terms of the degrees of freedom of the approximate trace defined on the element boundaries. This article presents a computational method that relies on a degree-of-freedom reordering such that the HDG linear system accommodates an additional static condensation step to eliminate a large portion of the degrees of freedom of the approximate trace, thereby yielding a much smaller linear system. For the particular metallic structures considered in this article, the resulting linear system obtained by means of nested static condensations is a block tridiagonal system, which can be solved efficiently. We apply the nested HDG method to compute second harmonic generation on a triangular coaxial periodic nanogap structure. This nonlinear optics phenomenon features rapid field variations and extreme boundary-layer structures that span a wide range of length scales. Numerical results show that the ability to identify structures which exhibit resonances at _?_ and 2 _?_ is essential to excite the second harmonic response. _Keywords:_ Hybridizable discontinuous Galerkin method, Maxwell’s equations, hydrodynamic model for metals, nonlinear plasmonics, nonlocal electrodynamics, second-harmonic generation _*_ Corresponding author _Email_ _addresses:_ `fvidal@mit.edu` (F. Vidal-Codina), `cuongng@mit.edu` (N.-C. Nguyen), `ciraci@iit.edu` (C. Ciracì), `sang@umn.edu` (S.-H. Oh), `peraire@mit.edu` (J. Peraire) _Preprint_ _submitted_ _to_ _Journal_ _of_ _Computational_ _Physics_ _November_ _17,_ _2020_ 1. Introduction Nonlinear plasmonics [11, 13, 42, 66, 74] studies the effects that arise when nonlinear media in a plasmonic structure cause the polarization to depend nonlinearly on the electric field. These effects are inherently weak, but can be amplified by the collective excitation of conduction-band electrons that occur on metallic nanostructures, commonly known as plasmon resonances. These excitations produce strong near-field enhancements of the incident wave by confining light in small volumes whose critical length scales are several orders of magnitude smaller than the wavelength of light. The combination of nonlinear effects and localized plasmon resonances offers new opportunities for the generation and manipulation of light at the nanoscale. The most common nonlinear effect is second-harmonic generation (SHG), whereby two photons at the incident frequency interact to generate a single photon at twice the incident frequency. Within classical electromagnetics, SHG occurs when the polarization has a quadratic dependence on the electric field. In common nonlinear optical materials, this quadratic dependence is provided by the absence of an inversion symmetry in the crystalline lattice, which generates an asymmetric response with respect to the applied electric field orientation. In contrast, plasmonic metals (e.g. gold, silver, copper and aluminum) are centrosymmetric and do not possess an intrinsic second-order susceptibility. A correct description of metal nonlinearities has to account for the complex dynamics of free-electrons [71]. It is well-known in fact that free-electrons provide both bulk and surface mechanisms for SHG [38, 73, 85]. Surface contributions arise from locally broken centrosymmetry while bulk contributions are ascribed to convective and Lorentz-force interactions in the electron fluid [21, 71]. Contrarily to nonlinear crystals, the nonlinear response of metals becomes highly dependent on the device geometry [14, 44]. In fact, unless centrosymmetry is broken at the larger scale of the device structure, the secondharmonic fields stays highly localized and destructively interferes in the far-field, becoming too weak to be observed. Plenty of research has been devoted to designing and fabricating shapes that enhance SHG, see [13, 42, 46, 66] and the references therein. The ability to accurately model and simulate nonlinear plasmonic phenomena requires computational capabilities that challenge traditional simulation techniques. From a modeling perspective, plasmonic phenomena can be described by Maxwell’s equations coupled with a hydrodynamic model to account for the nonlocal effect of the conduction-band electrons in the metallic materials, which become relevant for sub-10 nanometer features. The problems of interest involve the interaction of long-wavelength electromagnetic waves (µm and mm) with nanometer-wide features for potential applications in sensing and spectroscopy. Moreover, the electromagnetic fields are confined in deep-subwavelength cavities, and Ångstrom-thin accumulation charge layers develop at the metaldielectric interface. As a consequence, the discretizations required to attain accurate simulations need to be highly adapted (to properly capture the extremely localized fields) and anisotropic (to be computationally tractable). The finite-difference time-domain (FDTD) algorithm [48, 76] is a well known computational method for wave propagation. The most popular FDTD method utilizes Yee’s scheme [86] to discretize space and time with staggered cartesian grids and second-order schemes. The main shortcoming of FDTD is modeling geometries with complex features, since the stair-casing at the interfaces not aligned with the Cartesian grid severely impacts the accuracy. In addition, the mismatch in length scales that is characteristic of nonlinear plasmonics is a severe hindrance, since resolving for the smallest phenomena while keeping a uniform discretization may require grids having prohibitively large number of degrees of freedom. The FDTD method has been used for nonlocal [31, 57] and second-harmonic generation [2, 16, 54, 90] simulations. 2 Finite element (FE) methods [40] have also been widely used in electromagnetics, due to their ability to handle heterogeneous media and intricate geometries with unstructured discretizations, as well as _ℎ/?_ adaptation for increased accuracy. The family of face/edge elements introduced by Nédélec [60] have been extensively used to simulate electromagnetic wave propagation, and have been shown to avoid the problem of spurious modes [10] by appropriately choosing the approximation spaces. A commonly used implementation of edge elements for Maxwell’s equations is the one provided by the RF Module of Comsol Multiphysics [26]. Many groups have used this platform to implement their own version of the hydrodynamic model [19, 77, 78], SHG on nanoparticles and nanoantennas [4, 6, 15, 32, 91] as well as SHG on periodic arrays of nanostructures [17, 21, 45, 69]. Discontinuous Galerkin (DG) methods [25, 34] have also been widely used to simulate nonlocal effects in electromagnetics. In DG methods, the domain is discretized onto a collection of disjoint elements, and each field component is independently approximated within each element using standard finite element spaces. Solutions are therefore discontinuous across elements, and flux continuity is enforced at the interfaces. The DG method in time domain has been developed for many nanophotonics applications on metallic and lossless media [12, 39, 49, 55, 64, 72], as well as to simulate SHG on nanoparticles [35, 47, 58], resonators and antennas [1, 33, 52, 84]. The main caveat of DG methods for 3-D applications in the frequency domain or in the time domain with implicit time integration is the high computational burden, stemming from the duplication of degrees of freedom at the interfaces. This shortcoming is circumvented by the hybridizable discontinuous Galerkin (HDG) method, first developed in [22–24] and later extended to acoustics and elastodynamics [62, 70] as well as time-harmonic Maxwell’s equations [51, 63] and the hydrodynamic model for metals [50, 81]. In addition, unlike other DG methods HDG exhibits optimal convergence rates for both the solution and the flux. As a result, the solution may be locally post-processed to gain an additional order of convergence, a phenomenon known as superconvergence. In the recent years, the HDG method has been successfully applied for 2-D and 3-D metallic nanostructures to simulate plasmonic phenomena [50, 67, 80–82, 88, 89]. This article presents a nested hybridizable discontinuous Galerkin (nHDG) method for the Maxwell’s equations coupled with a hydrodynamic model for the conduction-band electrons in metals. By means of a static condensation to eliminate the degrees of freedom of the approximate solution defined within the elements, the HDG method yields a linear system in terms of the degrees of freedom of the approximate trace defined on the element boundaries. The nested HDG is a computational method that builds on top of classical HDG, whereby an additional static condensation is performed in order to eliminate a large portion of the degrees of freedom of the HDG linear system. Consequently, this nested strategy gives rise to a much smaller linear system, encompassing the degrees of freedom of a reduced number of element boundaries. Furthermore, if these element boundaries are judiciously selected, the nested HDG yields a linear system that is block-tridiagonal, and can thus be solved efficiently. The article also presents the formulation and implementation of the HDG method to compute SHG under the assumption of non-depleted pump approximation, that is, the fundamental wave is not affected by the generated harmonic [11]. We apply the nested HDG method to compute the SHG on a triangular coaxial periodic nanogap structure, which is a computationally intensive task since nonlinear optics phenomena feature rapid field variations and extreme boundary-layer structures that span a wide range of length scales. In addition, we propose strategies to partition the mesh in order to achieve an efficient nested static condensation. This article is organized as follows. In Section 2, we introduce the equations and notation used throughout the article. In Section 3, we review the formulation and implementation of the HDG 3 method to solve the hydrodynamic model for metals in frequency domain, describe the modifications needed to simulate SHG and present the nested hybridization strategy and algorithm. In Section 4, we present numerical results to assess the performance of the proposed method and present some concluding remarks in Section 5. 2. Second harmonic generation in metallic nanostructures We now derive the equations that will be used throughout this article. The overline denotes dimensional variables and constants, whereas the quantities without overlines are their non-dimensional counterparts. The only dimensional quantities without overlines are the reference quantities that we use to non-dimensionalize the problem: _?_ c is a reference length scale in meters, _?_ is a reference magnetic field in Ampere/meter, _?_ 0 is the free-space permittivity in Farad/meter, _?_ 0 is the freespace permeability in Henry/meter, _?_ 0 = 1 _/_ <sup>_√_</sup> _<u>?</u>_ 0 _<u>?</u>_ 0 is the free-space speed of light in meters/second and _?_ 0 = ~~√~~ _?_ 0 _/?_ 0 is the free-space impedance in Volt/Ampere. ~~√~~ _?_ 0 _/?_ 0 is the free-space impedance in Volt/Ampere. _2.1._ _Maxwell’s_ _equations_ _in_ _time_ _domain_ The electric _<u>ℰ</u>_ <u>(</u> <u>x</u> _<u>, ?</u>_ ) and magnetic _ℋ_ <u>(</u> <u>x</u> _<u>, ?</u>_ ) fields, along with the electric displacement _?_ and magnetic flux density _ℬ_, satisfy Maxwell’s equations in a metallic domain Ω <sup>m</sup> _∇× ℰ_ + _??ℬ_ = 0 (Ampère’s law) _,_ _∇× ℋ−_ _???_ = _?_ ext (Faraday’s law) _,_ _∇· ?_ = _<u>?</u>_ ext _,_ (Gauss’s law) _,_ _∇· ℬ_ = 0 _,_ (magnetic Gauss’s law) _,_ (1) where _?_ ext represents the external electric current and _<u>?</u>_ ext the external volume charge density. For simplicity of exposition, we assume there are no external current _?_ ext = 0 and external charge density _<u>?</u>_ ext = 0. In addition, we have the following constitutive relations _ℬ_ = _<u>?</u>_ _~~ℋ~~_ _,_ _?_ = _?_ 0 _ℰ_ + _?_ + _?_ _∞_ = _<u>?∞ℰ</u>_ + _?_ _,_ _∇· ?_ = _−?_ _???_ = _?_ _._ (2) The polarization density _?_ represents the density of permanent or induced electric dipole moments due to free electrons. Conversely, the background polarization _?_ _∞_ = ( _<u>?∞</u>_ _−_ _?_ 0) _ℰ_ represents the polarization of the bound electrons in the valence band. The last two relations relate the polarization density _?_ to the internal current _?_ and internal charge density _<u>?</u>_ <u>.</u> _2.2._ _A_ _nonlinear_ _hydrodynamic_ _model_ The above set of equations is closed once we specify the polarization density of the material in response to applied electromagnetic fields. In the simplest case, _?_ depends locally on the electric field through a linear relationship. To account for nonlocal effects which become important at nanoametric scales, a hydrodynamic model (HM) for the free electron gas was proposed in [30]. This model, despite neglecting quantum phenomena such as quantum tunneling and quantum 4 oscillations, introduces a hydrodynamic pressure term that accounts for the nonlocal coupling of the conduction-band electrons. Below we provide a brief description of the model and refer to [8, 20, 68] for additional details. The electron density _<u>?</u>_ <u>(</u> <u>x</u> _<u>, ?</u>_ ) and the hydrodynamic velocity <u>v</u> <u>(</u> <u>x</u> _<u>, ?</u>_ ) are related by the continuity equation as _???_ = _−∇·_ <u>(</u> _<u>?</u>_ <u>v</u> <u>).</u> In addition, the equation of motion for the electron fluid under a macroscopic electromagnetic field is described as _<u>??</u>_ ( _??_ + <u>v</u> _· ∇_ + _<u>?</u>_ <u>)</u> <u>v</u> = _<u>?</u>_ <u>(</u> _ℰ_ + <u>v</u> _× ℬ_ ) _−_ <sup>_<u>∇?</u>_</sup> (3) _<u>?</u>_ <sup>_,_</sup> where _??_ is the effective electron mass, _?_ is the electron charge so that _?_ = _<u>??</u>_ <u>v</u> and _<u>?</u>_ is a damping constant related to the collision rate of the electrons. The electron pressure _<u>?</u>_ <u>(</u> <u>x</u> _<u>, ?</u>_ ) is given by [27] )︂5 _/_ 3 _?_ <u>(</u> <u>x</u> _<u>, ?</u>_ ) = _<u>?</u>_ 0 (︂ _<u>?</u>_ <u>(</u> <u>x</u> _<u>, ?</u>_ <u>)</u> _<u>?</u>_ 0 (4) where _<u>?</u>_ 0 = <sup><u>18</u></sup> 25 <sup>_<u>?</u>_</sup> <sup>0</sup> <sup>_?_</sup> <sup>F,</sup> <sup>_?_</sup> <sup>F</sup> <sup>is</sup> <sup>the</sup> <sup>Fermi</sup> <sup>energy</sup> <sup>and</sup> <sup>_<u>?</u>_</sup> <sup>0</sup> <sup>is</sup> <sup>the</sup> <sup>equilibrium</sup> <sup>charge</sup> <sup>density.</sup> After combining equations (3), (4) and the continuity equation, we follow [21] and retaining only first- and second-order terms, we obtain a nonlinear nonlocal model for the polarization in response to an applied electromagnetic field p <sup>~~2~~</sup> <sup>_?_</sup> <sup>0</sup> <sup>_ℰ_</sup> <sup>=</sup> <sup>_−_</sup> <sup>_<u>?</u>_</sup> _<u>?</u>_ <u>p</u> <sup>~~2~~</sup> _−?_ <sup><u>2</u></sup> _∇_ ( _∇· ?_ ) + _????_ + _<u>????−</u>_ _<u>?</u>_ p <sup>~~2~~</sup> <sup>_<u>?</u>_</sup> <u>p</u> <sup>~~2~~</sup> <sup>_?_</sup> <sup>0</sup> _<u>?</u>_ 0 _<u>?</u>_ <sup>_ℰ_</sup> (︀ _∇· ?_ ~~)~~ <u>p</u> _?_ <sup>2</sup> 0 <sup>_<u>?</u>_</sup> <sup>0</sup> <u>p</u> <sup>2</sup> 0 <sup>_<u>?</u>_</sup> <sup>0</sup> <sup>_<u>?</u>_</sup> <sup>_???× ℋ_</sup> _<u>?</u>_ <sup>~~2~~</sup> <u>p</u> + 0 <sup>_<u>?</u>_</sup> <u>1</u> _<u>?</u>_ <sup><u>2</u></sup> _−_ _<u>?</u>_ 0 _<u>?</u>_ <sup>_∇·_</sup> <sup>(</sup> <sup>_???⊗_</sup> <sup>_???_</sup> <sup>)</sup> <sup>_−_</sup> 3 _<u>?</u>_ 0 _<u>?</u>_ <sup>_∇_</sup> <sup>(</sup> <sup>_∇· ?_</sup> <sup>)2</sup> <sup>_,_</sup> (5) where _<u>?</u>_ p = √︀ _<u>?</u>_ 0 _<u>?</u>_ <sup>~~2~~</sup> _/???_ 0 is the metal’s plasma frequency. For incoming fields above this frequency the metal behaves like a lossy dielectric since electron mobility is <u>not</u> <u>sufficient</u> to react and cancel where _<u>?</u>_ p = √︀ the incoming wave. The nonlocal parameter _?_ is given by _?_ = √︁ 6 _?_ F _/_ <u>5</u> _<u>??</u>_ . Given the definition of Fermi kinetic energy _?_ F = _<u>???</u>_ <sup>~~2~~</sup> F of Fermi kinetic energy _?_ F = _<u>???</u>_ <sup>~~2~~</sup> F <sup>_/_</sup> <sup>2,</sup> <sup>the</sup> <sup>nonlocal</sup> <sup>parameter</sup> <sup>reduces</sup> <sup>to</sup> <sup>_?_</sup> <sup>=</sup> √︀3 _/_ 5 _<u>?</u>_ F [53], where _<u>?</u>_ F is the Fermi velocity. The nonlinear terms in the right hand side of equation (5) are known as Coulomb force, magnetic Lorentz force, nonlinear convective force and nonlinear pressure force. We note that the simplest form of the hydrodynamic model, based on the Thomas-Fermi approximation accounting only for the linearized kinetic energy, corresponds to neglecting the nonlinear terms in the right hand side of (5) to recover a linear expression. The implementation of this nonlocal linear model with a hybridizable discontinuous Galerkin method was presented in [81]. Equation (5) needs to be solved simultaneously with Maxwell’s equations (1). Before proceeding, it is convenient to non-dimensionalize the problem variables using the following scalings <sup>~~2~~</sup> F <sup>_/_</sup> <sup>2,</sup> <sup>the</sup> <sup>nonlocal</sup> <sup>parameter</sup> <sup>reduces</sup> <sup>to</sup> <sup>_?_</sup> <sup>=</sup> √︀ <u>x</u> = _?_ c x _,_ _?_ = _?_ c _?/?_ 0 _,_ _ℰ_ = _??_ 0 _ℰ,_ _ℋ_ = _?ℋ,_ _?_ = _?_ 0 _??_ 0 _?,_ _ℬ_ = _?_ 0 _?ℬ,_ _?_ = _??_ _/?_ c _,_ _?_ = _??/?_ 0 _._ (6) For a non-magnetic medium ( _<u>?</u>_ = _?_ 0), applying the scalings above to Maxwell’s equations (1), the 5 constitutive relations (2) and the hydrodynamic pressure equation (5), we obtain _∇× ℰ_ + _??ℋ_ = 0 _,_ _∇× ℋ−_ _??_ ( _?∞ℰ_ ) = _?_ _,_ p <sup>2</sup> <sup>_ℰ_</sup> <sup>=</sup> _?_ <sup>_?_</sup> 0p <sup>2</sup> <u>p</u> <u>1</u> _<u>?</u>_ <sup>2</sup> _?_ <sup>_?_</sup> 0 <sup>2</sup> _?_ <sup>_?× ℋ−_</sup> _?_ 0 _?_ <sup>_∇·_</sup> <sup>(</sup> <sup>_?⊗?_</sup> <sup>)</sup> <sup>_−_</sup> 3 _?_ 0 3 _?_ 0 _?_ <sup>_∇?_</sup> <sup>2</sup> <sup>_,_</sup> (7) _?_ <sup>2</sup> _∇?_ + _???_ + _??−_ _?_ p <sup>2</sup> <u>p</u> <u>p</u> _?_ <sup>_?_</sup> 0 <sup>2</sup> _?_ <sup>_ℰ?_</sup> <sup>+</sup> _?_ <sup>_?_</sup> 0 <sup>2</sup> with the non-dimensional optical constants _?∞_ = _<u>?∞/?</u>_ 0, _?_ p = _<u>?</u>_ p _?_ c _/?_ 0, _?_ = _<u>??</u>_ c _/?_ 0, _?_ = _?/?_ 0 and electron constants _?_ = _<u>?</u>_ _?_ 0 _/_ ( _??_ <sup>2</sup> c <sup>)</sup> <sup>and</sup> <sup>_?_</sup> <sup>0</sup> <sup>=</sup> <sup>_<u>?</u>_</sup> <sup>0</sup> <sup>_?_</sup> <sup>3</sup> c <sup>.</sup> We now assume a time-harmonic response of the non-dimensional electromagnetic fields, where <sup>_*_</sup> denotes the complex conjugate <sup>2</sup> c <sup>)</sup> <sup>and</sup> <sup>_?_</sup> <sup>0</sup> <sup>=</sup> <sup>_<u>?</u>_</sup> <sup>0</sup> <sup>_?_</sup> <sup>3</sup> c <sup>3</sup> c <sup>.</sup> _ℜ{_ E _?_ ( x ) exp( _−????_ ) _}_ = <sup><u>1</u></sup> 2 _ℜ{_ H _?_ ( x ) exp( _−????_ ) _}_ = <sup><u>1</u></sup> 2 (8) _ℰ_ ( x _, ?_ ) = _ℋ_ ( x _, ?_ ) = _?_ ( x _, ?_ ) = _?_ ( x _, ?_ ) = ∑︁ _?∈_ N ∑︁ _?∈_ N ∑︁ _?∈_ N ∑︁ _?∈_ N _ℜ{_ J _?_ ( x ) exp( _−????_ ) _}_ = <sup><u>1</u></sup> 2 _ℜ{_ ρ _?_ ( x ) exp( _−????_ ) _}_ = <sup><u>1</u></sup> 2 ∑︁ _?∈_ N ∑︁ _?∈_ N E _?_ ( x ) exp( _−????_ ) + E <sup>_*_</sup> _?_ <sup>(</sup> <sup>x</sup> <sup>) exp(</sup> <sup>_????_</sup> <sup>)</sup> <sup>_,_</sup> E _?_ ( x ) exp( _−????_ ) + E <sup>_*_</sup> _?_ ρ _?_ ( x ) exp( _−????_ ) + ρ <sup>_*_</sup> _?_ <sup>(</sup> <sup>x</sup> <sup>) exp(</sup> <sup>_????_</sup> <sup>)</sup> <sup>_._</sup> H _?_ ( x ) exp( _−????_ ) + H <sup>_*_</sup> _?_ <sup>(</sup> <sup>x</sup> <sup>) exp(</sup> <sup>_????_</sup> <sup>)</sup> <sup>_,_</sup> ∑︁ _?∈_ N ∑︁ _?∈_ N J _?_ ( x ) exp( _−????_ ) + J <sup>_*_</sup> _?_ <sup>(</sup> <sup>x</sup> <sup>) exp(</sup> <sup>_????_</sup> <sup>)</sup> <sup>_,_</sup> To derive a system for the amplitudes of the first harmonic, we introduce the expansions (8) into (7) considering only _?_ _≤_ 2, multiply by exp ( _−???_ ) and invoke orthogonality of the Fourier modes to obtain following set of nonlinear equations _∇×_ E 1 _−_ _??_ H 1 = 0 _,_ _∇×_ H 1 + _???∞_ E 1 _−_ J 1 = 0 _,_ _?_ <sup>2</sup> _∇_ ρ1 + ( _?_ _−_ _??_ ) J 1 _−_ _?_ p <sup>2</sup> <sup>E</sup> <sup>1</sup> <sup>=</sup> <sup>_?_</sup> <sup>1</sup> <sup>_,_</sup> _??_ ρ1 _−∇·_ J 1 = 0 _._ The nonlinear source term _?_ 1 is given by (9) <u>p</u> 1 <sup>_*_</sup> <sup>ρ2</sup> <sup>+</sup> <sup>E</sup> <sup>2ρ</sup> 1 <sup>_*_</sup> <sup>) +</sup> _?_ <sup>_?_</sup> 0 <sup>2</sup> _?_ <sup>(</sup> <sup>J</sup> 1 <sup>_*_</sup> (10) _<u>?</u>_ <sup>2</sup> 3 _?_ 0 _?_ <sup>_∇_</sup> <sup>(ρ</sup> 1 <sup>_*_</sup> <sup>ρ2</sup> <sup>+ ρ2ρ</sup> <sup>_*_</sup> 1 <sup>)</sup> <sup>_._</sup> <u>p</u> 2 _?_ 1 = _?_ <sup>_?_</sup> 0 <sup>2</sup> _?_ <sup>(</sup> <sup>E</sup> 1 <sup>_*_</sup> 1 <sup>_*_</sup> <sup>_×_</sup> <sup>H</sup> <sup>2</sup> <sup>+</sup> <sup>J</sup> <sup>2</sup> <sup>_×_</sup> <sup>H</sup> 1 <sup>_*_</sup> <sup>)</sup> _<u>?</u>_ <sup>2</sup> 1 <sup>_*_</sup> <sup>_⊗_</sup> <sup>J</sup> <sup>2</sup> <sup>+</sup> <sup>J</sup> <sup>2</sup> <sup>_⊗_</sup> <sup>J</sup> 1 <sup>_*_</sup> <sup>)</sup> <sup>_−_</sup> 3 _?_ 0 <u>1</u> _−_ _?_ 0 _?_ <sup>_∇·_</sup> <sup>(</sup> <sup>J</sup> 1 <sup>_*_</sup> Since we expect the power of the first harmonic to be several orders of magnitude stronger than that of the second harmonic ( _‖_ E 2 _‖_ _≪‖_ E 1 _‖_ ), we hereafter assume that _?_ 1 = 0 . This approximation is known as the non-depleted pump approximation [11], which emphasizes that the second harmonic does not deplete the fundamental wave. This assumption simplifies the calculation of the secondharmonic and is justified in instances where the efficiency of the second harmonic generation is sufficiently weak. For later use, we refer to the system of equations (9) with the simplification _?_ 1 = 0, as _ℒ_ <sup>m</sup> ( E 1 _,_ H 1 _,_ J 1 _,_ ρ1; _?_ ) = 0 . 6 The Drude model [28] can be recovered from (9) by setting the nonlocal parameter _?_ to zero, in which case Ohm’s law is recovered J 1 = _??_ p <sup>2</sup> <sup>E</sup> <sup>1</sup> <sup>_/_</sup> <sup>(</sup> <sup>_?_</sup> <sup>+</sup> <sup>_??_</sup> <sup>)</sup> <sup>and</sup> <sup>the</sup> <sup>complex</sup> <sup>Drude</sup> <sup>permittivity</sup> <sup>is</sup> expressed as _?_ m( _?_ ) = _?∞_ _−_ _?_ p <sup>2</sup> <sup>_/_</sup> <sup>(</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>+</sup> <sup>_??_</sup> <sup>)).</sup> <sup>The</sup> <sup>Drude</sup> <sup>model</sup> <sup>is</sup> <sup>more</sup> <sup>computationally</sup> <sup>efficient,</sup> since (9) simplifies to Maxwell’s equations with a complex-valued permittivity, at the expense of neglecting the nonlocal electron interactions that become relevant for sub-10 nm features. _2.3._ _Metallic_ _nanostructures_ The above formulation is extended to consider the more general case of a metallic nanostructure, comprising both a metal Ω <sup>m</sup> described by the HM and a dielectric Ω <sup>d</sup> with permittivity _?_ d described solely by Maxwell’s equations. The solution within the metallic structure is governed by (9) and (12), whereas the response in the dielectric Ω <sup>d</sup> is given by regular time-harmonic Maxwell’s equations, namely _∇×_ E 1 _−_ _??_ H 1 = 0 _,_ (11) _∇×_ H 1 + _???_ d E 1 = 0 _._ The boundary conditions for a metallic nanostructure can be expressed as n _×_ E 1 _×_ n = 0 _,_ on _?_ ΩE _,_ n _×_ H 1 = 0 _,_ on _?_ ΩH _,_ n _·_ J 1 = 0 _,_ on _?_ Ω <sup>m</sup> J <sup>_∪_</sup> <sup>Γmd</sup> <sup>_,_</sup> (12) ρ1 = 0 _,_ on _?_ Ω <sup>m</sup> ρ <sup>m</sup> ρ <sup>_,_</sup> H 1 _×_ n _−_ <sup>_√_</sup> _<u>?</u>_ d n _×_ E 1 _×_ n = H inc _×_ n _−_ <sup>_√_</sup> _<u>?</u>_ d n _×_ E inc _×_ n := _?_ inc _,_ on _?_ Ω <sup>d</sup> <sup>d</sup> rad <sup>_._</sup> The first and second boundary condition prescribe perfect electric conductor (PEC) and perfect magnetic conductor (PMC) behavior, which allows us to impose symmetries in periodic structures. The third and fourth conditions also prescribe symmetry conditions in periodic structures for the electric current and the electron charge, and are only applicable on the metallic subdomain. In addition, the third boundary condition is also applied at the metal-dielectric interface Γmd = Ω <sup>m</sup> _∩_ Ω <sup>d</sup> to preclude the electrons from leaving the metal (since the normal component of the electric current vanishes), also known as no electron spill-out condition [7]. Quantum effects such as electron tunneling are therefore not modeled by the HM. The last equation is the first-order Silver-Müller radiation condition [59, 75], preventing outgoing waves from reflecting at the computational boundary and coming back into the domain. A common alternative to the radiation condition are the perfectly matched layers (PMLs) [5, 41]. Even though PMLs can be more effective at absorbing waves, they are more computationally intensive and require parameter tuning. We have developed both alternatives and found no significant differences for the metallic nanostructures considered within the frequency regimes of interest, hence we resorted to Silver-Müller conditions. Illumination is prescribed as a p -polarized plane wave propagating in the d -direction, that is E inc = p exp( _??_ <sup>_√_</sup> _<u>?</u>_ d d _·_ x ) and H inc = _−?/?∇×_ E inc. For an example of how the boundary conditions are assigned see Fig. 4 (c), where a periodic triangular coaxial nanostructure is shown. We refer to the above system of equations (11) to be solved on the dielectric as _ℒ_ <sup>d</sup> ( E 1 _,_ H 1; _?_ ) = 0, and the boundary equations (12) to be prescribed as _?_ ( E 1 _,_ H 1 _,_ J 1 _,_ ρ1; _?_ ) = _?_ inc, respectively. In order to numerically solve the above systems with the HDG method we shall also impose continuity of the tangential component of the magnetic field along the entire domain and continuity of the 7 normal component of the electric current along the metal. These two additional conditions are explained and derived within the HDG discretization, see Section 3. _2.4._ _Second-harmonic_ _generation_ Once the solution for the fundamental harmonic ( E 1 _,_ H 1 _,_ J 1 _,_ ρ1) has been determined by simultaneously solving (9), (11) and (12), we turn our attention to the second harmonic. Similarly as before, we introduce expansions (8) with _?_ _≤_ 2 into (7), multiply by exp( _−_ 2 _???_ ), invoke orthogonality of the Fourier basis and obtain the following set of equations for the amplitudes of the second harmonic in the metallic domain. . _∇×_ E 2 _−_ 2 _??_ H 2 = 0 _,_ _∇×_ H 2 + 2 _???∞_ E 2 _−_ J 2 = 0 _,_ _?_ <sup>2</sup> _∇_ ρ2 + ( _?_ _−_ 2 _??_ ) J 2 _−_ _?_ p <sup>2</sup> <sup>E</sup> <sup>2</sup> <sup>=</sup> <sup>_?_</sup> <sup>2</sup> 2 _??_ ρ2 _−∇·_ J 2 = 0 _,_ (13) where <u>p</u> <u>p</u> 2 _?_ 2 = _?_ <sup>_?_</sup> 0 <sup>2</sup> _?_ <sup>E</sup> <sup>1ρ1 +</sup> _?_ <sup>_?_</sup> 0 <sup>2</sup> (14) 1 3 _?_ 0 _?_ <sup>_∇_</sup> <sup>ρ2</sup> <u>p</u> <u>1</u> _<u>?</u>_ <sup>2</sup> _?_ <sup>_?_</sup> 0 <sup>2</sup> _?_ <sup>J</sup> <sup>1</sup> <sup>_×_</sup> <sup>H</sup> <sup>1</sup> <sup>_−_</sup> _?_ 0 _?_ <sup>_∇·_</sup> <sup>(</sup> <sup>J</sup> <sup>1</sup> <sup>_⊗_</sup> <sup>J</sup> <sup>1)</sup> <sup>_−_</sup> 3 _?_ 0 The nonlinear source term in (14) depends only on the fundamental fields and represents the motion of the electron fluid under an electromagnetic field. The assumption of non-depleted pump approximation simplifies second-harmonic calculations, since instead of solving a coupled system for the two harmonics, the SHG may be obtained by sequentially solving Maxwell’s equations first for the fundamental wave and then for the second harmonic with a nonlinear source term involving only the fundamental fields [21]. Using the operator _ℒ_ <sup>m</sup> introduced earlier, we can express equation (13) as _ℒ_ <sup>m</sup> ( E 2 _,_ H 2 _,_ J 2 _, ?_ 2; 2 _?_ ) = _?_ 2. The boundary conditions for the SHG are then simply _?_ ( E 2 _,_ H 2 _,_ J 2 _, ?_ 2; 2 _?_ ) = 0, since no incident light is shone and the only response is due to the nonlinear current. Summarizing, the non-depleted SHG can be simulated as a two-step process, namely 1. Solve _ℒ_ <sup>m</sup> ( E 1 _,_ H 1 _,_ J 1 _, ?_ 1; _?_ ) = 0 _,_ in Ω <sup>m</sup> _,_ _ℒ_ <sup>d</sup> ( E 1 _,_ H 1; _?_ ) = 0 _,_ in Ω <sup>d</sup> _,_ with _?_ ( E 1 _,_ H 1 _,_ J 1 _,_ ρ1; _?_ ) = _?_ inc _,_ to compute ( E 1 _,_ H 1 _,_ J 1 _,_ ρ1). 2. Solve _ℒ_ <sup>m</sup> ( E 2 _,_ H 2 _,_ J 2 _,_ ρ2; 2 _?_ ) = _?_ 2( E 1 _,_ H 1 _,_ J 1 _,_ ρ1) _,_ in Ω <sup>m</sup> _,_ _ℒ_ <sup>d</sup> ( E 2 _,_ H 2; 2 _?_ ) = 0 _,_ in Ω <sup>d</sup> _,_ with _?_ ( E 2 _,_ H 2 _,_ J 2 _,_ ρ2; 2 _?_ ) = 0 _,_ to compute ( E 2 _,_ H 2 _,_ J 2 _,_ ρ2). (15) (16) Here, the plane-wave illumination is used only to compute the fundamental fields, ensuring the second harmonic fields are solely generated by the nonlinear source (14). We point out that if the 8 non-depleted approximation were not justified, the nonlinear source term (10) would need to be retained in (15) and in this case, a simple fixed-point iterative algorithm involving (15) and (16) could be devised. 3. Nested HDG method for the hydrodynamic model _3.1._ _Approximation_ _spaces_ We first review the notation, operators and approximation spaces needed for the HDG method following [63]. We denote by _?_ = _?_ <sup>m</sup> _∪?_ <sup>d</sup> a triangulation of disjoint regular elements _?_ that partition a nanostructure consisting of a metallic and dielectric subdomains _?_ = Ω <sup>m</sup> _∪_ Ω <sup>d</sup> _∈_ R <sup>3</sup> . The set of element boundaries is then defined as _??_ := _{??_ : _?_ _∈?}_ . For an arbitrary element _?_ _∈?_, _?_ = _??_ _∩_ _??_ is a boundary face if it has a non-zero 2-D Lebesgue measure. Any pair of elements _?_ <sup>+</sup> and _?_ <sup>_−_</sup> share an interior face _?_ = _??_ <sup>+</sup> _∩_ _??_ <sup>_−_</sup> if its 2-D Lebesgue measure is non-zero. We finally denote by _ℰℎ_ <sup>_?_</sup> <sup>and</sup> <sup>_ℰ_</sup> _ℎ_ <sup>_?_</sup> <sup>the</sup> <sup>set</sup> <sup>of</sup> <sup>interior</sup> <sup>and</sup> <sup>boundary</sup> <sup>faces,</sup> <sup>respectively,</sup> <sup>and</sup> their union by _ℰℎ_ = _ℰℎ_ <sup>_?_</sup> <sup>_∪ℰ_</sup> _ℎ_ <sup>_?_</sup> <sup>.</sup> Let n <sup>+</sup> and n <sup>_−_</sup> be the outward-pointing unit normal vectors on the neighboring elements _?_ <sup>+</sup> _,_ _?_ <sup>_−_</sup>, respectively. We further use u <sup>_±_</sup> to denote the trace of u on _?_ from the interior of _?_ <sup>_±_</sup> . The jump - _·_ - for an interior face _?_ _∈ℰℎ_ <sup>_?_</sup> <sup>is</sup> <sup>defined</sup> <sup>as</sup> _ℎ_ <sup>_?_</sup> <sup>_∪ℰ_</sup> _ℎ_ <sup>_?_</sup> _ℎ_ <sup>_?_</sup> <sup>and</sup> <sup>_ℰ_</sup> _ℎ_ <sup>_?_</sup> _ℎ_ <sup>_?_</sup> <sup>.</sup> and for a boundary face _?_ _∈ℰℎ_ <sup>_?_</sup> - u _⊙_ n - = u <sup>+</sup> _⊙_ n <sup>+</sup> + u <sup>_−_</sup> _⊙_ n <sup>_−_</sup> _,_ _ℎ_ <sup>_?_</sup> <sup>with</sup> <sup>outward</sup> <sup>normal</sup> <sup>n</sup> <sup>as</sup> - u _⊙_ n - = u _⊙_ n _._ Here, the binary operation _⊙_ represents either _·_ or _×_ . The tangential u <sup>_?_</sup> and normal u <sup>_?_</sup> components of u, such that u = u <sup>_?_</sup> + u <sup>_?_</sup>, are given by u <sup>_?_</sup> = n _×_ u _×_ n _,_ u <sup>_?_</sup> = n ( u _·_ n ) _._ Let _?_ <sup>2</sup> ( _?_ ) _≡_ [ _?_ <sup>2</sup> ( _?_ )] <sup>3</sup> denote the Lebesgue space of three dimensional square integrable vector functions and _?_ <sup>1</sup> ( _?_ ) the Hilbert space _?_ <sup>1</sup> ( _?_ ) = _{?_ _∈_ _?_ <sup>2</sup> ( _?_ ) : ∫︀ _?_ <sup>_|∇?|_</sup> <sup>2</sup> <sup>_<_</sup> <sup>_∞}_</sup> <sup>.</sup> <sup>We</sup> <sup>introduce</sup> <sup>the</sup> functions and _?_ <sup>1</sup> ( _?_ ) the Hilbert space _?_ <sup>1</sup> ( _?_ ) = _{?_ _∈_ _?_ <sup>2</sup> ( _?_ ) : ∫︀ _?_ <sup>_|∇?|_</sup> <sup>2</sup> <sup>_<_</sup> <sup>_∞}_</sup> <sup>.</sup> <sup>We</sup> <sup>introduce</sup> <sup>the</sup> curl-conforming space ∫︀ _?_ <sup>curl</sup> ( _?_ ) = _{_ u _∈_ _?_ <sup>2</sup> ( _?_ ) : _∇×_ u _∈_ _?_ <sup>2</sup> ( _?_ ) _}_ with associated norm _‖_ u _‖_ <sup>2</sup> _?_ <sup>curl</sup> ( _?_ ) <sup>=</sup> ∫︀ _?_ <sup>_|_</sup> <sup>u</sup> <sup>_|_</sup> <sup>2 +</sup> <sup>_|∇×_</sup> <sup>u</sup> <sup>_|_</sup> <sup>2,</sup> <sup>as</sup> <sup>well</sup> <sup>as</sup> <sup>the</sup> <sup>div-conforming</sup> <sup>space</sup> _?_ <sup>div</sup> ( _?_ ) = _{_ u _∈_ _?_ <sup>2</sup> ( _?_ ) : _∇·_ u _∈_ _?_ <sup>2</sup> ( _?_ ) _}_ with associated norm _‖_ u _‖_ <sup>2</sup> _?_ <sup>div</sup> ( _?_ ) <sup>=</sup> ∫︀ _?_ <sup>_|_</sup> <sup>u</sup> <sup>_|_</sup> <sup>2 +</sup> <sup>_|∇·_</sup> <sup>u</sup> <sup>_|_</sup> <sup>2.</sup> Let _?_ <sup>_?_</sup> ( _?_ ) denote the space of complex-valued polynomials of degree at most _?_ on _?_ . We introduce the following approximation spaces _?ℎ_ = _{?_ _∈_ _?_ <sup>2</sup> ( _?_ ) : _?|?_ _∈?_ <sup>_?_</sup> ( _?_ ) _,_ _∀?_ _∈?ℎ},_ _?_ _ℎ_ = _{_ _?_ _∈_ _?_ <sup>2</sup> ( _?_ ) : _?_ _|?_ _∈_ [ _?_ <sup>_?_</sup> ( _?_ )] <sup>3</sup> _,_ _∀?_ _∈?ℎ},_ _?ℎ_ = _{?_ _∈_ _?_ <sup>2</sup> ( _ℰℎ_ ) : _?|?_ _∈?_ <sup>_?_</sup> ( _?_ ) _,_ _∀?_ _∈ℰℎ},_ _?_ _ℎ_ = _{_ _?_ _∈_ _?_ <sup>2</sup> ( _ℰℎ_ ) : _?_ _|?_ _∈?_ <sup>_?_</sup> ( _?_ ) t 1 _⊕?_ <sup>_?_</sup> ( _?_ ) t 2 _,_ _∀?_ _∈ℰℎ},_ 9 where t 1 _,_ t 2 are linearly independent vectors tangent to the face. We note that by construction, _?_ _∈_ _?_ _ℎ_ satisfies _?_ = n _×_ _?_ _×_ n = _?_ 1 t 1 + _?_ 2 t 2. The tangent vectors on a face _?_ can be defined in terms of its normal n = ( _?_ 1 _, ?_ 2 _, ?_ 3) as t 1 = ( _−?_ 2 _/?_ 1 _,_ 1 _,_ 0) and t 2 = ( _−?_ 3 _/?_ 1 _,_ 0 _,_ 1). This definition assumes that _|?_ 1 _|_ _≥_ max( _|?_ 2 _|, |?_ 3 _|_ ) but analogous expressions can be obtained when _|?_ 2 _|_ _≥_ max( _|?_ 1 _|, |?_ 3 _|_ ) or _|?_ 3 _|_ _≥_ max( _|?_ 1 _|, |?_ 2 _|_ ) to avoid singularities. Boundary conditions are included by setting _?_ _ℎ_ ( u _?|??_ ) = _{_ _?_ _∈_ _?_ _ℎ_ : n _×_ _?_ _×_ n = Π u _?_ on _??}_ and _?ℎ_ ( _??|??_ ) = _{?_ _∈_ _?ℎ_ : _?_ = Π _??_ on _??}_, where Π u _?_ (respectively, Π _??_ ) is the projection of the prescribed value of u, u _?_, onto _?_ _ℎ_ (respectively, _??_ onto _?ℎ_ ). Finally, we define the various Hermitian products for the above finite element spaces. The volume inner products are defined as 3 ∑︁( _??, ??_ ) _?_ _,_ _?_ =1 ( _?, ?_ ) _?_ := and the surface inner products by _⟨?, ?⟩??_ := ∑︁ _?∈?_ ( _?, ?_ ) _?,_ ( _?_ _,_ _?_ ) _?_ := ∑︁ _⟨?, ?⟩??,_ _⟨_ _?_ _,_ _?_ _⟩??_ := 3 ∑︁ _⟨??, ??⟩??_ _._ _?_ =1 _?∈?_ For two arbitrary scalar functions _?_ and _?_, its scalar product ( _?, ?_ ) _?_ is the integral of _??_ <sup>_*_</sup> on _?_ . _3.2._ _First_ _hybridization_ In this section, we describe the HDG discretization for a metallic nanostructure, introduced in [81], which is a necessary first step to develop the nested HDG method. For completeness, we will consider both plane-wave illumination – active only when computing first harmonic – as well as the nonlinear source term - active only when computing second harmonic. The HDG discretization of _ℒ_ <sup>m</sup> _,_ _ℒ_ <sup>d</sup> and _?_ needs to be completed with two additional continuity condition, that is enforcing zero jump in the tangential component of H _ℎ_ and in the normal component of J _ℎ_ . For all test functions ( _?_ _,_ _?_ _,_ _?_ _, ?,_ _?_ _, ?_ ) _∈_ _?_ _ℎ_ _×_ _?_ _ℎ_ _×_ _?_ _ℎ_ _× ?ℎ_ _×_ _?_ _ℎ_ _× ?ℎ_, we seek approximate fields ( H _ℎ,_ E _ℎ,_ J _ℎ,_ ρ _ℎ,_ ̂︀ E _ℎ,_ ̂︀ ρ _ℎ_ ) _∈_ _?_ _ℎ_ _×_ _?_ _ℎ_ _×_ _?_ _ℎ_ _×_ _?ℎ_ _×_ _?_ _ℎ_ ( 0 _|?_ ΩE ) _×_ _?ℎ_ (0 _|?_ Ωρm <sup>) such</sup> that _−??_ ( H _ℎ,_ _?_ ) _?_ m + ( E _ℎ, ∇×_ _?_ ) _?_ m + _⟨_ E ̂︀ _ℎ,_ _?_ _×_ n _⟩??_ m _∖?_ Ω <sup>m</sup> E <sup>=</sup> <sup>0</sup> <sup>_,_</sup> _−?_ <sup>2</sup> (ρ _ℎ, ∇·_ _?_ ) _?_ m + _?_ <sup>2</sup> _⟨_ ρ̂︀ _ℎ,_ _?_ _·_ n _⟩??_ m _∖?_ Ωρm <sup>+ (</sup> <sup>_?_</sup> <sup>_−_</sup> <sup>_??_</sup> <sup>)(</sup> <sup>J</sup> <sup>_ℎ,_</sup> <sup>_?_</sup> <sup>)</sup> <sup>_?_</sup> <sup>m</sup> <sup>_−_</sup> <sup>_?_</sup> p <sup>2(</sup> <sup>E</sup> <sup>_ℎ,_</sup> <sup>_?_</sup> <sup>)</sup> <sup>_?_</sup> <sup>m</sup> <sup>= (</sup> <sup>_?_</sup> <sup>_,_</sup> <sup>_?_</sup> <sup>)</sup> <sup>_?_</sup> <sup>m</sup> <sup>_,_</sup> ( H _ℎ, ∇×_ _?_ ) _?_ m + _⟨_ H ̂︀ _ℎ,_ _?_ _×_ n _⟩??_ m + _??_ ( _?∞_ E _ℎ,_ _?_ ) _?_ m _−_ ( J _ℎ,_ _?_ ) _?_ m = 0 _,_ _??_ (ρ _ℎ, ?_ ) _?_ m _−⟨_ J ̂︀ _ℎ_ _·_ n _, ?⟩??_ m + ( J _ℎ, ∇?_ ) _?_ m = 0 _,_ (17) _−⟨_ n _×_ ̂︀ H _ℎ,_ _?_ _⟩??_ m _∖?_ Ω <sup>m</sup> E <sup>=</sup> <sup>0</sup> <sup>_,_</sup> _⟨_ J ̂︀ _ℎ_ _·_ n _, ?⟩??_ m _∖?_ Ωρm <sup>= 0</sup> <sup>_,_</sup> are satisfied in the metal. The fieldŝ︀ E _ℎ,_ ̂︀ H _ℎ,_ ̂︀ J _ℎ,_ ̂︀ ρ _ℎ_ are single valued on the faces and approximate the tangential component of E _,_ H _,_ J and the trace of ρ, respectively. The first four equations are the weak formulation of _ℒ_ <sup>m</sup> ( H _,_ E _,_ J _,_ ρ; _?_ ) = _?_ inc. The boundary equations are strongly prescribed on the approximation spaces for the electric field and electron charge and weakly prescribed on the 10 last two equations for the magnetic field and the electric current. In addition, the fifth equation enforces zero jump in the tangential component of H _ℎ_, that is - n _×_ ̂︀ H _ℎ_ - = 0 along all elemental interfaces _ℰℎ_, and lastly the sixth equation enforces zero jump on the normal component of J _ℎ_ along all metal-metal interfaces _ℰ_ <sup>m</sup> <sup>̂︀</sup> _ℎ_ <sup>m,</sup> <sup>that</sup> <sup>is</sup> <sup>�</sup> <sup>n</sup> <sup>_·_</sup> <sup>̂︀</sup> <sup>J</sup> <sup>_ℎ_</sup> <sup>�</sup> <sup>= 0.</sup> <sup>̂︀</sup> Similarly, for the dielectric domain Ω <sup>d</sup> the following weak formulation is satisfied _−??_ ( H _ℎ,_ _?_ ) _?_ d + ( E _ℎ, ∇×_ _?_ ) _?ℎ_ + _⟨_ E ̂︀ _ℎ,_ _?_ _×_ n _⟩??_ d _∖?_ ΩdE <sup>=</sup> <sup>0</sup> <sup>_,_</sup> ( H _ℎ, ∇×_ _?_ ) _?_ d + _⟨_ H ̂︀ _ℎ,_ _?_ _×_ n _⟩??_ d + _??_ ( _?_ d E _ℎ,_ _?_ ) _?_ d = 0 _,_ <sup>̂︀</sup> (18) ̂︀ ̂︀ dE <sup>_−√?_</sup> <sup>d</sup> <sup>_<u>⟨</u>_</sup> <sup>E</sup> <sup>̂︀</sup> <sup>_ℎ,_</sup> <sup>_?_</sup> <sup>_⟩?_</sup> <sup>Ωd</sup> _−⟨_ n _×_ ̂︀ H _ℎ,_ _?_ _⟩??_ d _∖?_ ΩdE <sup>̂︀</sup> <sup>̂︀</sup> <sup>d</sup> rad <sup>=</sup> <sup>_⟨_</sup> <sup>_?_</sup> <sup>inc</sup> <sup>_,_</sup> <sup>_?_</sup> <sup>_⟩?_</sup> <sup>Ωd</sup> rad We close the system by introducing expressions for the hybrid fluxes of the magnetic field and electric current field as H _ℎ_ = H _ℎ_ + _??_ ( E _ℎ_ _−_ ̂︀ E _ℎ_ ) _×_ n _,_ J _ℎ_ _·_ n = J _ℎ_ _·_ n _−_ _????_ (ρ _ℎ_ _−_ ̂︀ ρ _ℎ_ ) _._ (19) The parameters _??,_ _??_ are the stabilization parameters, defined globally to ensure the accuracy and stability of the HDG discretization. We propose the choice _??_ = <sup>_√_</sup> _<u>?</u>_ (for each material’s permittivity) and _??_ = _?_ p _/?_ which leads to numerically stable solutions even in the presence of tightly localized fields in the metal-dielectric interface. Substituting (19) in (17) and integrating by parts, we write the final HDG discretization for the metallic domain _−??_ ( H _ℎ,_ _?_ ) _?_ m + ( E _ℎ, ∇×_ _?_ ) _?_ m + _⟨_ E ̂︀ _ℎ,_ _?_ _×_ n _⟩??_ m _∖?_ Ω <sup>m</sup> E <sup>=</sup> <sup>0</sup> <sup>_,_</sup> _−?_ <sup>2</sup> (ρ _ℎ, ∇·_ _?_ ) _?_ m + _?_ <sup>2</sup> _⟨_ ρ̂︀ _ℎ,_ _?_ _·_ n _⟩??_ m _∖?_ Ωρm <sup>+ (</sup> <sup>_?_</sup> <sup>_−_</sup> <sup>_??_</sup> <sup>)(</sup> <sup>J</sup> <sup>_ℎ,_</sup> <sup>_?_</sup> <sup>)</sup> <sup>_?_</sup> <sup>m</sup> <sup>_−_</sup> <sup>_?_</sup> p <sup>2(</sup> <sup>E</sup> <sup>_ℎ,_</sup> <sup>_?_</sup> <sup>)</sup> <sup>_?_</sup> <sup>m</sup> <sup>= (</sup> <sup>_?_</sup> <sup>2</sup> <sup>_,_</sup> <sup>_?_</sup> <sup>)</sup> <sup>_?_</sup> <sup>m</sup> <sup>_,_</sup> ( _∇×_ H _ℎ,_ _?_ ) _?_ <sup>m</sup> + _⟨??_ [ E _ℎ_ _−_ ̂︀ E _ℎ_ ] _,_ n _×_ _?_ _×_ n _⟩??_ m + _??_ ( _?∞_ E _ℎ,_ _?_ ) _?_ m _−_ ( J _ℎ,_ _?_ ) _?_ m = 0 _,_ _−_ ( _∇·_ J _ℎ, ?_ ) _?_ m + _??_ (ρ _ℎ, ?_ ) _?_ m + _????⟨_ ρ _ℎ, ?⟩??_ m _−_ _????⟨_ ρ̂︀ _ℎ, ?⟩??_ m = 0 _,_ (20) _−⟨_ n _×_ H _ℎ,_ _?_ _⟩??_ m _∖?_ Ω <sup>m</sup> E <sup>m</sup> E <sup>_−⟨??_</sup> <sup>E</sup> <sup>_ℎ,_</sup> <sup>_?_</sup> <sup>_⟩??_</sup> <sup>m</sup> <sup>_∖?_</sup> <sup>Ωm</sup> E <sup>̂︀</sup> <sup>m</sup> E <sup>+</sup> <sup>_⟨??_</sup> <sup>̂︀</sup> <sup>E</sup> <sup>_ℎ,_</sup> <sup>_?_</sup> <sup>_⟩??_</sup> <sup>m</sup> <sup>_∖?_</sup> <sup>Ω</sup> E <sup>m</sup> <sup>̂︀</sup> E <sup>m</sup> <sup>=</sup> <sup>0</sup> <sup>_,_</sup> _⟨_ J _ℎ_ _·_ n _, ?⟩??_ m _∖?_ Ωmρ <sup>_−_</sup> <sup>_????⟨_</sup> <sup>ρ</sup> <sup>_ℎ, ?⟩??_</sup> <sup>m</sup> <sup>_∖?_</sup> <sup>Ωm</sup> ρ <sup>+</sup> <sup>_????⟨_</sup> <sup>ρ̂︀</sup> <sup>_ℎ, ?⟩??_</sup> <sup>m</sup> <sup>_∖?_</sup> <sup>Ω</sup> ρ <sup>m</sup> <sup>= 0</sup> <sup>_._</sup> The nonlinear source also requires integration by parts, hence ( _?_ 2 _,_ _?_ ) _?_ m = _?_ <u>p</u> <sup>2</sup> <u>p</u> 2 _?_ 0 _?_ <sup>(</sup> <sup>E</sup> <sup>1ρ1</sup> <sup>_,_</sup> <sup>_?_</sup> <sup>)</sup> <sup>_?_</sup> <sup>m</sup> <sup>+</sup> 2 <sup>_?_</sup> _?_ 0 <sup>2</sup> _?_ <sup>(</sup> <sup>J</sup> <sup>1</sup> <sup>_×_</sup> <sup>H</sup> <sup>1)</sup> <sup>_?_</sup> <sup>m</sup> <u>1</u> _−_ 2 _?_ 0 _?_ [︁ ]︁ ̂︀ ̂︀ _⟨_ ( J ̂︀ 1 _⊗_ ̂︀ J 1) _·_ n _,_ _?_ _⟩??_ <sup>m</sup> _−_ ( J 1 _⊗_ J 1 _, ∇_ _?_ ) _?_ m _<u>?</u>_ <sup>2</sup> _−_ _⟨_ ρ̂︀ 1 <sup>2</sup> [︀ ̂︀ 6 _?_ 0 _?_ ̂︀ 1 <sup>2</sup> <sup>_,_</sup> <sup>_?_</sup> <sup>_·_</sup> <sup>n</sup> <sup>_⟩??_</sup> <sup>m</sup> <sup>_−_</sup> <sup>(ρ2</sup> 1 <sup>_, ∇·_</sup> <sup>_?_</sup> <sup>)</sup> <sup>_?_</sup> <sup>m</sup> <sup>]︀</sup> _._ The final HDG discretization for the dielectric is obtained after substituting (19) in (18) and 11 integrating by parts _−??_ ( H _ℎ,_ _?_ ) _?_ d + ( E _ℎ, ∇×_ _?_ ) _?_ d + _⟨_ E ̂︀ _ℎ,_ _?_ _×_ n _⟩??_ d _∖?_ ΩdE <sup>=</sup> <sup>0</sup> <sup>_,_</sup> ( _∇×_ H _ℎ,_ _?_ ) _?_ d + _⟨??_ [ E _ℎ_ _−_ ̂︀ E _ℎ_ ] _,_ n _×_ _?_ _×_ n _⟩??_ d + _??_ ( _?_ d E _ℎ,_ _?_ ) _?_ d = 0 _,_ (21) _−⟨_ n _×_ H _ℎ,_ _?_ _⟩??_ d _∖?_ ΩdE E <sup>d</sup> <sup>+</sup> <sup>̂︀</sup> dE <sup>_−⟨??_</sup> <sup>E</sup> <sup>_ℎ,_</sup> <sup>_?_</sup> <sup>_⟩??_</sup> <sup>d</sup> <sup>_∖?_</sup> <sup>Ω</sup> E <sup>d</sup> <sup>̂︀</sup> ̂︀ Ed <sup>_−√?_</sup> <sup>d</sup> <sup>_<u>⟨</u>_</sup> <sup>E</sup> <sup>̂︀</sup> <sup>_ℎ,_</sup> <sup>_?_</sup> <sup>_⟩?_</sup> <sup>Ωd</sup> + _⟨??_ ̂︀ E _ℎ,_ _?_ _⟩??_ d _∖?_ ΩEd <sup>̂︀</sup> <sup>̂︀</sup> <sup>d</sup> rad <sup>=</sup> <sup>_⟨_</sup> <sup>_?_</sup> <sup>inc</sup> <sup>_,_</sup> <sup>_?_</sup> <sup>_⟩?_</sup> <sup>Ωd</sup> rad <sup>d</sup> <sup>_._</sup> The weak formulations (20)-(21) are then discretized using the corresponding basis functions on all the elements and faces of _?_, thus giving rise to the linear system ⎡ ⎢⎢⎢⎢⎢⎢⎢⎢⎢ ~~⎢~~ <u>⎢⎢⎣</u> 0 0 <u>H</u> ~~m~~ <u>J</u> ~~m~~ <u>E</u> ~~m~~ <u>ρm</u> <u>E</u> ~~m~~ <u>ρm</u> ⎤ 0 _<u>?</u>_ <u>2</u> 0 0 0 0 ⎡ ⎢⎢⎢⎢⎢⎢⎢⎢⎢ ~~⎢~~ <u>⎢⎢⎣</u> _−??_ A 0 B 0 C 0 0 ( _?_ _−_ _??_ )A _−?_ p <sup>2A</sup> _−?_ <sup>2</sup> P 0 _?_ <sup>2</sup> O B <sup>_?_</sup> _−_ A D + _??_ A _?_ 0 _−_ E 0 0 _−_ P <sup>_?_</sup> 0 _??_ H 0 _−??_ N C <sup>_?_</sup> 0 _−_ E <sup>_?_</sup> 0 M 0 0 O <sup>_?_</sup> 0 _−??_ N <sup>_?_</sup> 0 _??_ T ⎤ ⎥⎥⎥⎥⎥⎥⎥⎥⎥ ~~⎥~~ <u>⎥⎥⎦</u> ⎤ ⎥⎥⎥⎥⎥⎥⎥⎥⎥ ~~⎥~~ <u>⎥⎥⎦</u> ⎤ ⎥⎥⎥⎥⎥⎥⎥⎥⎥ ~~⎥~~ <u>⎥⎥⎦</u> = ⎡ ⎢⎢⎢⎢⎢⎢⎢⎢⎢ ~~⎢~~ <u>⎢⎢⎣</u> _,_ (22) for the metal domain, and ⎡ ⎢⎢⎢⎣ _−??_ A B C B <sup>_?_</sup> D + _??_ A _?_ _−_ E C <sup>_?_</sup> _−_ E <sup>_?_</sup> M ⎡ ⎢⎢⎢⎣ <u>H</u> d <u>E</u> ~~<u>d</u>~~ <u>E</u> ~~d~~ ⎡ ⎢⎢⎢⎣ _<u>?</u>_ <u>inc</u> ⎤ ⎥⎥⎥⎦ ⎤ ⎥⎥⎥⎦ = (23) ⎥⎥⎥⎦ _,_ for the dielectric domain. Here <u>(</u> <u>H</u> ~~m~~ _,_ <u>E</u> ~~m~~ _,_ ̂︀ <u>E</u> m) and <u>(</u> <u>H</u> d _,_ <u>E</u> ~~d~~ _,_ ̂︀ <u>E</u> ~~d~~ ) represent the vectors of degrees of freedom of ( H _ℎ,_ E _ℎ,_ ̂︀ E _ℎ_ ) in metal and dielectric, respectively. Similarly, <u>(</u> <u>J</u> ~~m~~ _,_ <u>ρm</u> _,_ ̂︀ <u>ρ</u> ~~m~~ ) represent the vectors of degrees of freedom of ( J _ℎ,_ ρ _ℎ,_ ̂︀ ρ _ℎ_ ) in metal. It is important to point out that the two systems (22) and (23) have to be solved simultaneously becausê︀ <u>E</u> ~~m~~ and̂︀ <u>E</u> ~~d~~ share degrees of freedom for the faces located on the metal-dielectric interface. We note that due to the discontinuous nature of the approximation spaces, the local variables E _ℎ,_ H _ℎ,_ J _ℎ,_ ρ _ℎ_ (defined in the interior of each element) are only coupled globally through the global variableŝ︀ E _,_ ̂︀ ρ (defined on the element faces). This means that we can eliminate these local variables at the element level, which in matrix form corresponds to eliminating the upper-left submatrices, indicated with the dashed lines in (22) and (23), thus only a reduced matrix for the global variables needs to be assembled. This numerical strategy, also known as hybridization or static condensation, is essential to achieve an efficient implementation of the HDG method [22–24, 61–63]. Specifically, the hybridization procedure yields the following global linear system ϒ ̂︀ U = _?_ _,_ (24) where the vector̂︀ U consists of the degrees of freedom of ( E ̂︀ _ℎ,_ ̂︀ ρ _ℎ_ ). In practice, both the matrix ϒ and the vector _?_ are formed by a standard finite element assembly procedure by computing 12 the elemental quantities and assembling them in an element-by-element fashion. The detailed implementation can be found in [79, 81]. The elimination of local degrees of freedom through hybridization renders a linear system where the global degrees of freedom are defined on the faces only, thus drastically reducing the size of the linear system that must be solved. After solving the linear system (24) for the global unknowns, the local unknowns can be efficiently recovered at the element level [79, 81], an operation that is trivially parallelizable. _3.3._ _Nested_ _hybridization_ Thus far, we have recreated the formulation and implementation of the HDG method for a metaldielectric domain introduced in [81]. In this section, we describe a nested hybridization method to efficiently solve the global linear system that stems from the first hybridization (24) by exploiting the geometry of the problems of interest. Indeed, for large 3-D structures the direct solution of (24) may be challenging. Iterative methods, on the other hand, have found limited success for stiff indefinite problems of the type considered here. The idea behind the nested hybridization is to partition the global degrees of freedom̂︀ U = _{_ W _,_ V _}_, such that the W degrees of freedom can be statically condensed to yield the following linear system ΨV = _?_ (25) for V . Specifically, reordering the global system (24) using thê︀ U = _{_ W _,_ V _}_ allows us to write of Ψ _,_ _?_ as a function of ϒ _,_ _?_, namely ⎡ <u>⎢⎣</u> W V ⎡ <u>⎢⎣</u> _?_ W _?_ V ⎡ <u>⎢⎣</u> ϒ WW ϒ WV ϒ VW ϒ VV ⎤ <u>⎥⎦</u> = ⎤ <u>⎥⎦</u> _._ (26) ⎤ <u>⎥⎦</u> Assuming that ϒ WW is invertible, the above system may be recast as W = ϒ <sup>_−_</sup> WW <sup>1</sup> W = ϒ <sup>_−_</sup> WW <sup>1</sup> <sup>[</sup> <sup>_?_</sup> <sup>W</sup> <sup>_−_</sup> <sup>ϒ</sup> <sup>WV</sup> <sup>V</sup> <sup>]</sup> (27) [︀ ϒ VV _−_ ϒ VW ϒ <sup>_−_</sup> <sup>1</sup> ]︀ V = _?_ V _−_ ϒ VW ϒ <sup>_−_</sup> <sup>1</sup> (28) ϒ VV _−_ ϒ VW ϒ <sup>_−_</sup> WW <sup>1</sup> V = _?_ V _−_ ϒ VW ϒ <sup>_−_</sup> WW <sup>1</sup> <sup>_−_</sup> WW <sup>1</sup> <sup>_?_</sup> <sup>W</sup> <sup>_._</sup> (28) <sup>_−_</sup> WW <sup>1</sup> <sup>ϒ</sup> <sup>WV</sup> ]︀ Thus we have Ψ = ϒ VV _−_ ϒ VW ϒ <sup>_−_</sup> WW <sup>1</sup> <sup>_−_</sup> WW <sup>1</sup> <sup>ϒ</sup> <sup>WV</sup> <sup>and</sup> <sup>_?_</sup> <sup>=</sup> <sup>_?_</sup> <sup>V</sup> <sup>_−_</sup> <sup>ϒ</sup> <sup>VW</sup> <sup>ϒ</sup> <sup>_−_</sup> WW <sup>1</sup> <sup>_−_</sup> WW <sup>1</sup> <sup>_?_</sup> <sup>W.</sup> For this hybridization to be computationally efficient, we need to ensure the inverse of ϒ WW may be efficiently evaluated by means of a judicious choice of the global degrees of freedom. To that end, we target specifically metallic nanostructures that can be discretized by extruding a 2-D discretization. There are many examples of such structures in the literature [18, 19, 21, 67, 81, 87, 88, 92]. Under this assumption, the degrees of freedom in the planes perpendicular to the extrusion direction are assigned to V, and the remaining degrees of freedom are assigned to W . This partitioning gives rise to N blocks _{_ Ω _?}_ <sup>N</sup> _?_ =1 <sup>,</sup> <sup>whose</sup> <sup>unknowns</sup> <sup>are</sup> <sup>_{_</sup> <sup>W</sup> <sup>_?}_</sup> <sup>N</sup> _?_ =1 <sup>;</sup> <sup>and</sup> <sup>N + 1</sup> <sup>interfaces</sup> <sup>_{_</sup> <sup>Γ</sup> <sup>_?}_</sup> <sup>N</sup> _?_ =0 <sup>,</sup> <sup>whose</sup> unknowns are _{_ V _?}_ <sup>N</sup> _?_ =0 <sup>,</sup> <sup>as</sup> <sup>illustrated</sup> <sup>in</sup> <sup>Fig.</sup> <sup>1.</sup> <sup>Consequently,</sup> <sup>the</sup> <sup>matrix</sup> <sup>ϒ</sup> <sup>WW</sup> <sup>can</sup> <sup>be</sup> <sup>inverted</sup> efficiently since it is a block-diagonal matrix, namely <sup>N</sup> _?_ =1 <sup>,</sup> <sup>whose</sup> <sup>unknowns</sup> <sup>are</sup> <sup>_{_</sup> <sup>W</sup> <sup>_?}_</sup> <sup>N</sup> _?_ <sup>N</sup> _?_ =1 <sup>;</sup> <sup>and</sup> <sup>N + 1</sup> <sup>interfaces</sup> <sup>_{_</sup> <sup>Γ</sup> <sup>_?}_</sup> <sup>N</sup> _?_ ϒ WW = diag ( ϒ W1W1 _,_ ϒ W2W2 _, . . .,_ ϒ WNWN) _._ 13 # a b ###### U � V W ###### Γ3 ###### Ω3 Γ2 ###### Ω2 Ω1 ###### Γ1 Γ0 Figure 1: Sample metallic film structure with degrees of freedom for a _?_ = 2 discretization. (a) Global degrees of free dom̂︀ U after first hybridization. (b) Degree of freedom splittinĝ︀ U = _{_ W _,_ V _}_ after nested hybridization, with V only on horizontal planes and W within the blocks. Furthermore, this partitioning gives rise to a linear system (25) that is a block-tridiagonal, namely _?_ 0 _?_ 1 ... ... _?_ N _−_ 1 _?_ N ⎡ ⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎣ _?_ 0 _?_ 0 ## ? 0 ? 1 ? 1 0 _?_ 1 ... ... ... ... ... ## 0 ... ? N − 1 ? N − 1 _?_ N _−_ 1 _?_ N 14 V 0 V 1 ... ... V N _−_ 1 V N ⎡ ⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎣ ⎤ ⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎦ ⎤ ⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎦ ⎤ ⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎦ = ⎡ ⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎣ (29) The blocks may be computed explicitly following (27) and (28) to obtain _?_ 0 = ϒ V0V0 _−_ ϒ V0W1 ϒ <sup>_−_</sup> W <sup>1</sup> 1W1 <sup>ϒ</sup> <sup>W</sup> 1 <sup>V</sup> 0 <sup>_,_</sup> _?_ 0 = ϒ V0V1 _−_ ϒ V0W1 ϒ <sup>_−_</sup> W <sup>1</sup> 1W1 <sup>ϒ</sup> <sup>W</sup> 1 <sup>V</sup> 1 <sup>_,_</sup> _?_ 0 = ϒ V1V0 _−_ ϒ V1W1 ϒ <sup>_−_</sup> W <sup>1</sup> 1W1 <sup>ϒ</sup> <sup>W</sup> 1 <sup>V</sup> 0 <sup>_,_</sup> _?_ 0 = _?_ V0 _−_ ϒ V0W1 ϒ <sup>_−_</sup> W <sup>1</sup> 1W1 <sup>_?_</sup> <sup>W</sup> 1 <sup>_,_</sup> _?_ N = ϒ VNVN _−_ ϒ VNWN ϒ <sup>_−_</sup> W <sup>1</sup> NWN <sup>ϒ</sup> <sup>W</sup> N <sup>V</sup> N <sup>_,_</sup> _?_ N = _?_ VN _−_ ϒ VNWN ϒ <sup>_−_</sup> W <sup>1</sup> NWN <sup>_?_</sup> <sup>W</sup> N <sup>_,_</sup> and for _?_ = 1 _, . . .,_ N _−_ 1 <sup>_−_</sup> W <sup>1</sup> _?_ W _?_ <sup>ϒ</sup> <sup>W</sup> _?_ <sup>V</sup> _?_ <sup>_−_</sup> <sup>ϒ</sup> <sup>V</sup> _?_ <sup>W</sup> _?_ +1 <sup>ϒ</sup> W <sup>_−_</sup> <sup>1</sup> _?_ _?_ = ϒ V _?_ V _?_ _−_ ϒ V _?_ W _?_ ϒ <sup>_−_</sup> W <sup>1</sup> W <sup>_−_</sup> <sup>1</sup> _?_ +1W _?_ +1 <sup>ϒ</sup> <sup>W</sup> _?_ +1 <sup>V</sup> _?_ <sup>_,_</sup> (30) (31) _?_ _?_ = ϒ V _?_ V _?_ +1 _−_ ϒ V _?_ W _?_ +1 ϒ <sup>_−_</sup> W <sup>1</sup> _?_ +1W _?_ +1 <sup>ϒ</sup> <sup>W</sup> _?_ +1 <sup>V</sup> _?_ +1 <sup>_,_</sup> _?_ _?_ = ϒ V _?_ +1V _?_ _−_ ϒ V _?_ +1W _?_ +1 ϒ <sup>_−_</sup> W <sup>1</sup> _?_ +1W _?_ +1 <sup>ϒ</sup> <sup>W</sup> _?_ +1 <sup>V</sup> _?_ <sup>_,_</sup> _?_ _?_ = _?_ V _?_ _−_ ϒ V _?_ W _?_ ϒ <sup>_−_</sup> W <sup>1</sup> <sup>_−_</sup> W <sup>1</sup> _?_ W _?_ <sup>_?_</sup> <sup>W</sup> _?_ <sup>_−_</sup> <sup>ϒ</sup> <sup>V</sup> _?_ <sup>W</sup> _?_ +1 <sup>ϒ</sup> <sup>_−_</sup> W <sup>1</sup> <sup>_−_</sup> W <sup>1</sup> _?_ +1W _?_ +1 <sup>_?_</sup> <sup>W</sup> _?_ +1 <sup>_._</sup> The block tridiagonal system is never formed in practice, but rather solved on-the-fly using Thomas method (forward Gaussian elimination for tridiagonal matrices). The first equation in (29) is recast as V 0 = _?_ <sup>_−_</sup> 0 <sup>1</sup> ( _?_ 0 _−_ _?_ 0 V 1) =̃︀ _?_ 0 +̃︀ _?_ 0 V 1 _._ (32) Using this relation, the second equation reads V 1 = ( _?_ 1 + _?_ 0̃︀ _?_ 0) <sup>_−_</sup> <sup>1 (︁</sup> )︁ _?_ 1 _−_ _?_ 0̃︀ _?_ 0 _−_ _?_ 1 V 2 =̃︀ _?_ 1 +̃︀ _?_ 1 V 2 _,_ (33) and we can thus establish an analogous expression for the subsequent equations _?_ = 2 _, . . .,_ N _−_ 1, that is ̃︀ V _?_ = ( _?_ _?_ + _?_ _?−_ 1̃︀ _?_ _?−_ 1) <sup>_−_</sup> <sup>1 (︁</sup> _?_ _?_ _−_ _?_ _?−_ 1̃︀ _?_ _?−_ 1 _−_ _?_ _?_ V _?_ +1 )︁ =̃︀ _?_ _?_ +̃︀ _?_ _?_ V _?_ +1 _._ (34) Hence, from the last equation we can retrieve the value for V N as =̃︀ _?_ Ñ︀ _?_ N _,_ (35) V N = ( _?_ N + _?_ N _−_ 1̃︀ _?_ N _−_ 1) <sup>_−_</sup> <sup>1 (︁</sup> _?_ N _−_ _?_ N _−_ 1̃︀ _?_ N _−_ 1 )︁ and we then march backwards to recover the remaining _{_ V _?}_ <sup>0</sup> _?_ =N _−_ 1 <sup>leveraging</sup> <sup>(34)–(32).</sup> _3.4._ _Implementation_ In this section, we describe how to efficiently compute (30)-(31) and solve (29). The first step is to judiciously partition the computational domain in the extrusion direction to define the blocks and interfaces. For a given block Ω _?_, the values on ϒ W _?_ W _?_ depend solely on the spatial dimensions of the block and the material properties ( _?_ d for dielectric and _?∞,_ _?_ p _,_ _?,_ _?_ for metal) and for a given interface Γ _?_ the values ϒ V _?_ V _?_ depend solely on the spatial dimensions of the interface and the adjacent blocks’ material properties. Hence, accounting for these features <u>when</u> partitioning the domain allows us to define unique block and interface types _{_ Ω _ℓ}_ <sup>_?_</sup> _ℓ_ =1 <sup>_,_</sup> <sup>_{_</sup> <sup>Γ</sup> <sup>_?}?_</sup> _?_ =1 <sup>that</sup> <sup>may</sup> translate into important computational savings, similar to the strategy developed by Huynh _et_ _al._ 15 ### a b c superstrate Γ10 Γ7 Ω5 Ω1 Γ5 Γ3 Γ2 Γ6 Γ4 metal film _z_ _y_ _x_ Ω10 Ω9 Ω8 Ω7 Ω6 Ω5 Ω4 Ω3 Ω2 Ω1 substrate Γ9 Γ8 Γ7 Γ6 Γ5 Γ4 Γ3 Γ2 Γ1 Γ0 Γ1 Ω4 Ω3 Ω2 Figure 2: Substrate-metal-superstrate sample structure. (a) Block and interface definition. (b) Block types. (c) Interface types. Blocks Interfaces _?_ Ω _?_ Γ Ω _<u>?</u>_ _−−→_ Ω _<u>ℓ</u>_ Γ _<u>?</u>_ _−−→_ Γ _<u>?</u>_ 1 1 0 1 2-4 2 1-3 2 5-6 3 4 3 7-9 4 5 4 10 5 6 5 7-9 6 10 7 Ω _<u>?</u>_ _?_ Ω _−−→_ Ω _<u>ℓ</u>_ Γ _<u>?</u>_ Table 1: Block and interface type assignment for structure in Fig. 2. in the context of efficient model order reduction for structured problems [29, 36, 37, 83]. The type assignments can be mathematically expressed with a tuple of maps ( _?_ Ω _, ?_ Γ), such that _?_ Ω( _?_ ) = _ℓ_ if block _?_ belongs to type _ℓ_, and analogously for the interfaces with _?_ Γ. We have illustrated the type definition on a substrate-metal-superstrate structure shown in Fig. 2, where the block partitioning is done along the _?_ axis. After discretization, we are left with 4, 2 and 4 substrate, metal and superstrate blocks respectively, along with 11 interfaces. Based on the dimensions and the material properties, the type assignment is summarized in Table 1. Once the type maps have been established and the matrix and forcing term ϒ _,_ _?_ have been computed, the degrees of freedom̂︀ U following Algorithm 1, a procedure that we refer to as nested HDG with full assembly. Since an integral part of this nested hybridization method is the ability to reuse computations by virtue of the block and interface types, we shall define six lists _{??}_ <sup>6</sup> _?_ =1 where all relevant computations are stored and can thus be accessed whenever required by Algo 16 Algorithm 1 Nested hybridization with full assembly to solve (24) Require: HDG matrix and forcing term ϒ _,_ _?_ of entire domain Ω; type maps ( _?_ Ω _, ?_ Γ) of blocks _{_ Ω _?}_ <sup>N</sup> _?_ <sup>N</sup> _?_ =1 <sup>and</sup> <sup>interfaces</sup> <sup>_{_</sup> <sup>Γ</sup> <sup>_?}_</sup> _?_ <sup>N</sup> _{_ Ω _?}_ <sup>N</sup> _?_ =1 <sup>and</sup> <sup>interfaces</sup> <sup>_{_</sup> <sup>Γ</sup> <sup>_?}_</sup> _?_ <sup>N</sup> =0 <sup>;</sup> <sup>six</sup> <sup>empty</sup> <sup>lists</sup> <sup>_?_</sup> <sup>1</sup> <sup>_, . . ., ?_</sup> <sup>6</sup> 1: for _?_ = 1 : N do 2: Set _ℓ_ = _?_ Ω( _?_ ), _?_ 0 = _?_ Γ( _?_ _−_ 1) and _?_ 1 = _?_ Γ( _?_ ) 3: if _?_ 1( _ℓ_ ) = ∅ then 4: Compute LU decomposition of ϒ W _ℓ_ W _ℓ_ = _??_ and store _??_ _↦→_ _?_ 1( _ℓ_ ) 5: Solve linear system for multiple right-hand-sides in parallel ]︀ _,_ _?_ 1( _ℓ_ )[ _?_ 0 _,_ _?_ 1 _,_ _?_ ] = [︀ ϒ W _ℓ,_ V _?_ 0 _,_ ϒ W _ℓ,_ V _?_ 1 _,_ _?_ W _?_ store _?_ 0 _↦→_ _?_ 2[ _ℓ, ?_ 0] _,_ _?_ 1 _↦→_ _?_ 3[ _ℓ, ?_ 1] and set _?_ = [ _?_ 0 _,_ _?_ 1 _,_ _?_ ] 6: else 7: if _?_ 2( _ℓ, ?_ 0) = ∅ and _?_ 3( _ℓ, ?_ 1) _̸_ = ∅ then 8: Solve linear system for multiple right-hand-sides in parallel _,_ _?_ 1( _ℓ_ )[ _?_ 0 _,_ _?_ ] = [︀ ϒ W _ℓ,_ V _?_ 0 _,_ _?_ W _?_ ]︀ store _?_ 0 _↦→_ _?_ 2[ _ℓ, ?_ 0] and set _?_ = [ _?_ 0 _,_ _?_ 3[ _ℓ, ?_ 1] _,_ _?_ ] 9: else if _?_ 2( _ℓ, ?_ 0) _̸_ = ∅ and _?_ 3( _ℓ, ?_ 1) = ∅ then 10: Solve linear system for multiple right-hand-sides in parallel _,_ _?_ 1( _ℓ_ )[ _?_ 1 _,_ _?_ ] = [︀ ϒ W _ℓ,_ V _?_ 1 _,_ _?_ W _?_ ]︀ store _?_ 1 _↦→_ _?_ 3[ _ℓ, ?_ 1] and set _?_ = [ _?_ 2[ _ℓ, ?_ 0] _,_ _?_ 1 _,_ _?_ ] 11: else 12: Solve linear system _?_ 1( _ℓ_ ) _?_ = _?_ W _?_ and set _?_ = [ _?_ 2[ _ℓ, ?_ 0] _,_ _?_ 3[ _ℓ, ?_ 1] _,_ _?_ ] 13: end if 14: end if 15: Multiply and store ϒ V _?_ 0 _,_ W _ℓ_ _?_ _↦→_ _?_ 4[ _ℓ, ?_ 0] _,_ ϒ V _?_ 1 _,_ W _ℓ_ _?_ _↦→_ _?_ 5[ _ℓ, ?_ 1] 16: Compute _?_ _?−_ 1 _,_ _?_ _?−_ 1 _,_ _?_ _?−_ 1 and _?_ _?−_ 1 using (30)-(31) 17: Compute and storẽ︀ _?_ _?−_ 1 _↦→_ _?_ 6[ _?,_ 1] and̃︀ _?_ _?−_ 1 _↦→_ _?_ 6[ _?,_ 2] using (32)-(34) 18: if _?_ = N then 19: Compute _?_ N _,_ _?_ N using (30) and̃︀ _?_ N _,_ ̃︀ _?_ N using (35) 20: Evaluate V N =̃︀ _?_ Ñ︀ _?_ N 21: end if 22: end for 23: for _?_ = N : _−_ 1 : 1 with _ℓ_ = _?_ Ω( _?_ ), _?_ 0 = _?_ Γ( _?_ _−_ 1), _?_ 1 = _?_ Γ( _?_ ) do V _?−_ 1 = _?_ 6( _?,_ 2) + _?_ 6( _?,_ 1) V _?_ _?_ 1( _ℓ_ ) W _?_ = _?_ W _?_ _−_ ϒ W _ℓ_ V _?_ 0 V _?−_ 1 _−_ ϒ W _ℓ_ V _?_ 1 V _?_ 24: <u>end</u> <u>for</u> rithm 1. These lists will contain the following items: _?_ 1 stores the LU decomposition of ϒ WW for each block type, and are indexed by block type; _?_ 2 _, . . ., ?_ 5 contain the building blocks of the Schur 17 decomposition at the block-interface level, and are indexed by both block and interface type, see Algorithm 1 for the exact expressions; finally, _?_ 6 contains each intermediate factor in the solution of the tridiagonal system (29) using forward block Gaussian elimination, that is _{_ _?_ ̃︀ _?,_ ̃︀ _?_ _?}?_ <sup>N</sup> =0 <sup>,</sup> <sup>which</sup> are required to compute the degrees of freedom for V with equations (32)–(34). We make the following remarks regarding Algorithm 1: (i) instead of precomputing the HDG matrix ϒ and forcing _?_, which may require significant storage, the matrix and forcing term can be partially assembled on-the-fly after operation 2, that is only for the degrees of freedom _{_ W _ℓ,_ V _?_ 0 _,_ V _?_ 1 _}_ and purged after each iteration, a variation that is referred to hereafter as nested HDG with partial assembly; however, if this strategy is pursued both matrix and forcing term need to be partially re-assembled in operation 23 to recover the solution field, hence the saving in memory (the HDG matrix is never entirely assembled) comes at the expense of a higher computational runtime; (ii) since storing and reusing computations is an integral part of the algorithm, we may also eliminate items from _?_ 2 _, . . ., ?_ 5 as soon as they are no longer needed; (iii) the solution of the linear systems for multiple right-hand-sides in steps 5, 8 and 10 of the algorithm is the most computationally intensive, although it can be trivially parallelized; (iv) the storage of _?_ 6 requires significant memory storage since all steps are needed to recover the interface degrees of freedom as in operation 23; and (v) this hybridization results in a strong compression of the original problem, since once _{_ V _?}_ <sup>N</sup> _?_ =0 <sup>have</sup> been recovered we may evaluate _{_ W _?}_ <sup>N</sup> _?_ =1 <sup>through</sup> <sup>operation</sup> <sup>23</sup> <sup>block-wise</sup> <sup>at</sup> <sup>minimal</sup> <sup>cost</sup> <sup>(the</sup> LU decompositions are already stored in _?_ 1) and then obtain the local variables _{_ E _ℎ,_ H _ℎ,_ J _ℎ,_ ρ _ℎ}_ with the classical HDG static condensation expressions at the element level, see [79, 81]. The computational strategy described above is a purely algebraic construction, hence it is not only applicable to the HDG discretization of Maxwell’s equations augmented with the hydrodynamic model, but to any linear system arising from an HDG discretization. In order to minimize the computational and memory requirements that stem from the nested HDG method described in Algorithm 1, a carefully designed mesh and judicious degree-of-freedom choice is critical. 4. Numerical results The numerical results presented in this section have been simulated with the `MATLAB` implementation of the nested HDG method described above and the classical HDG for Maxwell’s equations introduced in [63, 81]. The computational times and memory footprint of the simulations correspond to a 512GB Linux 18.04 machine with 16 AMD Opteron(tm) Processors 6320x15 that has been used to perform the simulations. _4.1._ _Plane_ _wave_ _through_ _layered_ _media_ In this section, we perform a numerical test to verify the implementation and accuracy of the nested HDG. To that end, we use a plane wave propagating through a sapphire-silica-air layered medium under normal incidence, for which the exact solution is known, and compare the errors of classical HDG, _i.e._ direct solution of (24), with nested hybridization described by Algorithm 1. The refractive indices of the layers are 3.31 (sapphire), 1.98 (silica) and 1 (air), with respective thicknesses of 500, 250 and 250 nm. The plane wave is an _?_ -polarized 1 micron wavelength plane wave propagating in the positive _?_ -direction, impinging from the sapphire layer. The computational domain is a prism of 250 _×_ 250 _×_ 1000 nm discretized in 6 _×_ 6 _× ?_ isotropic cubes, and we prescribe E _×_ n = 0 on the _?_ -constant boundaries and H _×_ n = 0 on the _?_ -constant boundaries, as well as 18 HDG nested HDG _‖_ E 0 _−_ E _ℎ‖_ _?_ 2 _‖_ E 0 _−_ E _ℎ‖_ _?_ curl _‖_ E 0 _−_ E _ℎ‖_ _?_ 2 _‖_ E 0 _−_ E _ℎ‖_ _?_ curl _?_ _?_ Error Order Error Order Error Order Error Order 2 8 5.0e-2 - 2.2e-1 - 5.0e-2 - 2.2e-1 16 2.6e-3 4.27 4.7e-2 2.20 2.6e-3 4.27 4.7e-2 2.20 32 1.2e-4 4.42 1.2e-2 2.01 1.2e-4 4.42 1.2e-2 2.01 64 9.7e-6 3.63 2.9e-3 2.00 9.7e-6 3.63 2.9e-3 2.00 3 8 2.9e-3 - 4.5e-2 - 2.9e-3 - 4.5e-2 16 6.6e-5 5.47 5.6e-3 3.01 6.6e-5 5.47 5.6e-3 3.01 32 3.0e-6 4.46 7.2e-4 2.97 3.0e-6 4.46 7.2e-4 2.97 64 1.7e-7 4.14 9.0e-5 2.99 1.7e-7 4.14 9.0e-5 2.99 4 8 1.6e-4 - 6.6e-3 - 1.6e-4 - 6.6e-3 16 3.5e-6 5.51 4.8e-4 3.79 3.5e-6 5.51 4.8e-4 3.79 32 9.3e-8 5.23 3.1e-5 3.96 9.3e-8 5.23 3.1e-5 3.96 64 2.8e-9 5.08 1.9e-6 3.99 2.8e-9 5.08 1.9e-6 3.99 Table 2: History of convergence for the HDG and nested HDG solution. first-order absorbing conditions on the top and bottom boundaries. We focus on _?_ = 2 _,_ 3 _,_ 4 and several _?_ values, and compute the _?_ <sup>2</sup> ( _?_ ) and _?_ <sup>curl</sup> ( _?_ ) errors of E _ℎ_, collected in Table 2 along with a convergence analysis. Note that since the cubes in the _?_ -direction are isotropic, there are only three different types of blocks (sapphire, silica, air) and seven interfaces (upper-lower boundaries, sapphire-sapphire, sapphire-silica, silica-silica, silica-air and air-air). a b Figure 3: Comparison of computational costs between methods, for _?_ = 2 _,_ 3 _,_ 4 and _?_ = 8 _,_ 16 _,_ 32 _,_ 64: (a) Memory requirements with respect to nested HDG with partial assembly. (b) Runtime with respect to nested HDG with full assembly. As expected, the solutions computed by both methods have the exact same errors and orders of convergence, since the nested HDG is just an algebraic modification that enables a more efficient solution of the classical HDG linear system. We now compare the computational costs and memory requirements of HDG to the nested version, both with full and partial assembly. The computational 19 runtimes correspond to the wall time averages of 10 individual simulations for each method; the memory is measured in terms of RAM GB required to execute the algorithms. The most memoryefficient method is the nested HDG with partial assembly, and the differences become starker as the mesh is refined, requiring half the memory of that of nested HDG with full assembly and about 20 times less than HDG for the finest mesh, see Fig. 3(a). In terms of computational runtime, the nested HDG with full assembly, which we use to benchmark in Fig. 3(b), is obviously faster than nested HDG with partial assembly due to the cost of operation 23. Even though solutions computed with classical HDG are faster for coarser meshes, as the discretization is refined our implementation of nested HDG with full assembly becomes faster due to the reuse of computations at the block level. The main takeaway from this example is that the nested HDG produces the same solutions as classical HDG while exhibiting significantly lower memory requirements; the differences in computational runtime depend on a myriad of factors, namely the resolution of the 2-D mesh (the interfaces), the amount of unique blocks, the number of processors available and the efficiency of the implementation, to name a few. However, based on the results in this article, we can conclude that the nested HDG has the potential of resolving the linear HDG system faster than via direct solution. _4.2._ _Triangular_ _nanocoaxial_ _aperture_ We now consider a metallic nanostructure that produces extraordinary optical transmission and can excite second harmonic fields. This structure consists of periodic arrays of subwavelength triangular apertures of a dielectric material patterned in a metallic film, and unlike arrays of annular nanogap structures that have been simulated with HDG in previous works [67, 81, 88], triangular apertures are not centrosymmetric, a requirement to excite second-order effects. _4.2.1._ _Structure_ _definition_ The structure that will be analyzed is a gold thin-film with triangular coaxial nanogaps arranged according to the symmetries of the square, see Fig. 4(a), for wavelengths ranging from visible to low infra-red. The metal film is deposited over a sapphire substrate, a transparent material in these frequency regimes, and the nanogap is filled with alumina. The structure is illuminated from below with an _?_ -polarized plane wave, and we can exploit the symmetries of the structure and solve only for the domain shown in Fig. 4 containing half of the triangular nanogap. Under these symmetry conditions, we prescribe E _×_ n = 0 _,_ ρ = 0 on the _?_ -constant boundaries and H _×_ n = 0 _,_ J _·_ n = 0 on the _?_ -constant boundaries. First-order radiation conditions are imposed on the _?_ -constant boundaries. To assess the efficacy of SHG, we monitor the transmittance τ through the structure and the second harmonic transmittance, computed as _,_ (36) _??_ <sup>_ℜ_</sup> <sup>[</sup> <sup>E</sup> <sup>2</sup> <sup>_×_</sup> <sup>H</sup> <sup>_*_</sup> 2 <sup>⃒</sup> ∫︀ _??_ <sup>_ℜ_</sup> <sup>[</sup> <sup>E</sup> <sup>1</sup> <sup>_×_</sup> <sup>H</sup> <sup>_*_</sup> 1 <sup>⃒</sup> ∫︀ τ1 = 100 _·_ ∫︀ _??_ <sup>_ℜ_</sup> <sup>[</sup> <sup>E</sup> <sup>1</sup> <sup>_×_</sup> <sup>H</sup> <sup>_*_</sup> 1 <sup>]</sup> <sup>_·_</sup> <sup>n</sup> <sup>d</sup> <sup>_?_</sup> <sup>⃒</sup> <u>∫</u> <sup>⃒</sup> _??_ <sup>_ℜ_</sup> <sup>[</sup> <sup>E</sup> <sup>inc</sup> <sup>_×_</sup> <sup>H</sup> <sup>_*_</sup> <sup>⃒</sup> <sup>_*_</sup> inc <sup>]</sup> <sup>_·_</sup> <sup>n</sup> <sup>d</sup> <sup>_?_</sup> <sup>⃒</sup> ∫︀ _??_ <sup>_ℜ_</sup> <sup>[</sup> <sup>E</sup> <sup>2</sup> <sup>_×_</sup> <sup>H</sup> <sup>_*_</sup> 2 <sup>]</sup> <sup>_·_</sup> <sup>n</sup> <sup>d</sup> <sup>_?_</sup> <sup>⃒</sup> <u>∫</u> <sup>⃒</sup> _??_ <sup>_ℜ_</sup> <sup>[</sup> <sup>E</sup> <sup>inc</sup> <sup>_×_</sup> <sup>H</sup> <sup>_*_</sup> <sup>⃒</sup> <sup>_*_</sup> inc <sup>]</sup> <sup>_·_</sup> <sup>n</sup> <sup>d</sup> <sup>_?_</sup> <sup>⃒</sup> _,_ τ2 = 100 _·_ where _??_ is an arbitrary _??_ plane below the gold film and _??_ an arbitrary _??_ plane above the gold film. The discretization consists of 18K hexahedral cubic elements, and is constructed by extruding in the _?_ -direction the 2-D curved mesh in Fig. 4(b). The 2-D curved mesh, with 330 elements, is devised such that the rounded corners are properly represented, and a boundary-layer type discretization is used for the region surrounding the gap. To that end, we place 2-D coaxial layers at distances 0.5, 20 ###### a b 500 nm _G_ _D_ 20 nm 2 1 1 ###### c radiation _T_ 2 500 nm 1 2 1 _T_ 500 nm _y_ _x_ Boundary conditions 1: 2: _z_ _y_ _x_ radiation 2 Figure 4: Triangular coaxial nanostructure: (a) 3-D model of periodic array with relevant measures. (b) Crosssectional view and 2-D curved mesh of unit cell, with symmetry axis and boundary condition specification. (c) 3-D computational domain of unit cell. 1, 2, 3 and 5 nm on both sides of the gap-metal interfaces, ensuring enough resolution for both first and second order phenomena. In the vertical direction, we set both the substrate and superstrate thickness to 500 nm which is sufficient to properly represent illumination conditions and domain unboundedness. For each stratum, we use 19 blocks divided among 4 types, increasing the thickness of each block type as we move further away from the gold film. This computational strategy allows us to capture the rapidly-varying near-field effects in the vicinity of the metal surface (< 5 nm) as well as to smoothly transition towards the far-field values of transmittance. For the gold stratum, we use one thin block type for the regions near the metal-substrate and metal-superstrate interfaces (4 blocks of 0.25 nm thickness for both upper and lower areas) to capture the boundary-layer features that develop and one thick block type for the rest (8 blocks). Hence, the total number of blocks is 54, split into 10 type blocks and 7 type interfaces, see Fig. 4(c). The mesh topology we have described is the same for the different geometric parameters discussed below, and since the hydrodynamic density profile is independent of the gap size we use the same values of 2-D coaxial layers and 3-D boundary-layer detail at the upper and lower metal surfaces for all gaps. Numerical accuracy is verified by carrying out grid convergence studies on consecutively refined meshes, until the relative error for the SHG transmittance is below 1%. This highly anisotropic mesh, along with the nested HDG method, allows us to efficiently solve for the full 3-D EM wave field. 21 # a b c _R1_ thickness [nm] _R1_ triangle side [nm] _R1_ _R0_ _R0_ gap [nm] _R0_ _T_ = 125 nm, _D_ = 150 nm _G_ = 9 nm, _D_ = 150 nm _G_ = 9 nm, _T_ = 125 nm Wavelength [micron] Figure 5: Wavelength [µm] - transmittance [%] curves (x-axes shared between subfigures): (a) Effect of decreasing gap. (b) Effect of increasing thickness. (c) Effect of increasing triangle side length. _4.2.2._ _Optimal_ _geometry_ For the structure under consideration, we set the array periodicity to 500 nm and the radius of curvature at the triangle corners to 20 nm for fabrication purposes. The remaining geometric features, namely the gap size _?_, the triangle side _?_ and the film thickness _?_ need to be numerically determined so as to achieve a doubly-resonant structure. The idea behind such a structure is that resonances are excited at both _?_ and 2 _?_, thus amplifying the second-order effects that are generated 22 ###### a b Transmittance - 12 nm gap _R1_ _R0_ _R1a_ _R0_ _R1_ min max _R1a_ _R1b_ _R0_ _R1b_ Transmittance - 15 nm gap Wavelength [micron] Figure 6: (a) Transmittance [%]-wavelength [µm]-thickness [nm] heatmaps for 12 nm (top) and 15 nm gap (bottom), with lines to visually aid resonance tracking and gray shaded area to identify thicknesses that lead to doubly-resonant structures. (b) Real part of Ex for the different resonances along the mid-gap diagonallyvertical plane. Black lines correspond to upper and lower film surfaces. as a consequence of its non-centrosymmetric nature. Firstly, we need to understand the effect of _?,_ _?_ and _?_ on the resonances. In order to alleviate the computational burden of this parametric study, we perform the simulations using the Drude model (by setting _?_ = 0 in (15)) instead of the hydrodynamic model; in the mid-infrared the Drude model predicts a transmittance spectrum that is qualitatively identical to that of the hydrodynamic (only red-shifted), hence it suffices to understand the impact of the geometry parameters. Furthermore, the high-resolution mesh defined above is specifically tailored to capture SHG, hence we may use a coarser mesh just for these geometry simulations since the Drude model does not solve for the Ångstrom-thin accumulation charge layers at the metal-dielectric interfaces. To that end, we use a mesh similar to that of Fig. 4(b,c), but with only 112 2-D elements for a total of 2K hexahedral cubic elements. For a single wavelength, simulating the full electromagnetic response using the Drude model on the coarse mesh requires solving a sparse linear system of size 190K and 62M non-zeros (1.5GB of RAM), which takes 9 minutes to solve using `MATLAB` ’s backslash operation. We simulate the full spectra of transmittance (0.9-2.8 micron) for several gaps, triangle side lengths and film thicknesses. The impact of gap is shown in Fig. 5(a) for _?_ = 125 nm and _?_ = 150 nm, the impact of thickness is shown in Fig. 5(b) for _?_ = 9 nm and _?_ = 150 nm and the impact of triangle side length is shown in Fig. 5(c) for _?_ = 125 nm and _?_ = 9 nm. The wavelength _?_ <sup>_*_</sup> 0 <sup>of</sup> <sup>resonance</sup> <sup>_?_</sup> <sup>0</sup> <sup>is</sup> <sup>blue-</sup> shifted as _?_ decreases, whereas it is almost insensitive to the thickness. Conversely, the wavelength _?_ <sup>_*_</sup> 1 <sup>of</sup> <sup>resonance</sup> <sup>_?_</sup> <sup>1</sup> <sup>is</sup> <sup>much</sup> <sup>more</sup> <sup>sensitive</sup> <sup>to</sup> <sup>changes</sup> <sup>in</sup> <sup>_?_</sup> <sup>(blue-shift</sup> <sup>for</sup> <sup>decreasing</sup> <sup>thickness)</sup> 23 than to changes in _?_ . Finally, both resonances are similarly affected by gap size modifications. Consequently, for a given gap size one should fix either _?_ (resp. _?_ ) and vary _?_ (resp. _?_ ) to attain a geometric configuration that is doubly-resonant at frequencies _?_ and 2 _?_ . For this structure, we choose to fix _?_ and optimize the double resonance as _?_ varies, and leverage our previous work to compute parametrized solutions of plasmonic structures [82], whereby a small number of high-fidelity simulations can be used to construct an accurate reduced order model (ROM) that enables the inexpensive computation of approximate solutions. The reduced order model is constructed upon two parameters: the incident wavelength, to obtain spectrum profiles; and the film thickness, to evaluate how variations in the film thickness impact the resonances. To achieve a parametric representation of the thickness, we build a mapping using _?_ <sup>2</sup> splines that prescribes deformations in the z-direction, thus ensuring that thickness variations starting from a reference thickness value may be accommodated and are continuous and differentiable. Further details on how to parametrize geometry in plasmonics using deformation mappings may be found in [82]. For each gap size of interest, we set the triangle side to _?_ = 150 nm and build a ROM by first computing 200 high-fidelity simulations (Drude model on the coarse mesh) and then combining these solutions, or snapshots, to form a low-dimensional approximation space, see [82]. This is commonly known as offline stage, which is computationally intensive (each of the 200 solutions takes 9 minutes for a total of 30 hours) but done only once. After completing this stage, the main advantage of ROMs is that they can be queried for any value of _?_ _∈_ [0 _._ 8 _,_ 22] micron and _?_ _∈_ [110 _,_ 150] nm –these are the prescribed intervals of interest for the triangular coax– and produce an approximate fullwave 3-D solution of (15) in less than 0.1 seconds. This multi-query process, known as the online stage, will obviously exhibit lower accuracy since instead of the high-fidelity solver we employ a surrogate model. However, for the reduced order models under consideration we report relative errors in transmittance of less than 5% when comparing the ROM solution to the high-fidelity HDG solution, hence the ROM are a suitable computational tool to study the impact of thickness in the resonances of this triangular coaxial structure. In this case, the burden of the offline stage is greatly compensated by the efficiency of the online stage, since transmittance-wavelength-thickness heatmaps can be obtained by inexpensively querying the ROM for multiple ( _?, ?_ ) combinations, which would otherwise require a full HDG 3-D simulation for each ( _?, ?_ ). These heatmaps are paramount to track the resonances as a function of the thickness and to identify, for each gap, the metal film thickness that gives rise to a doublyresonant structure. We show the transmittance heatmaps for 12 and 15 nm nanogaps with _?_ = 150 nm in Fig 6, where we notice that the _?_ 1 resonance splits between two for 15 nm gaps and above, whereas it remains a single resonance for gaps below 15 nm. A field plot of the real part of the _?_ -electric amplitude is provided in Fig. 6, where the field is shown along the mid-gap diagonal plane –that is, the vertical plane that runs along the middle of the gap and is parallel to the longer side of the triangle as shown in Fig. 5(b)– where it can be observed that the _?_ 1 splitting gives rise to modes _?_ 1 _?,_ _?_ 1 _?_ that are not constant along the diagonal direction, as opposed the _?_ 1 mode. The shaded gray area corresponds to thickness values that lead to double resonances. _4.2.3._ _Second-harmonic_ _simulations_ Once we have identified, for each gap, the values of _?_ and _?_ that excite modes at _?_ and 2 _?_, we can apply the computational strategy summarized in (15)-(16) on the fine mesh and with the hydrodynamic model ( _?>_ 0) to compute SHG, where we solve the global HDG linear systems by 24 gap [nm] gap [nm] film thickness [nm] film thickness [nm] wavelength [micron] wavelength [micron] Figure 7: First and second harmonic transmittance for _?_ = 150 nm. (a,b) Transmittance profile τ1 (a) and τ2 (b)-wavelength [µm] for 6, 9, 12 and 15 nm gap and optimal thickness to realize double resonances. (c,d) Transmittance profile τ1 (c) and τ2 (d)-wavelength [µm] for the 12 nm gap and several film thicknesses. Optimal thickness leading to double resonance is 128 nm. means of Algorithm 1. In order to simulate the spectra shown in Fig. 7, for each gap size and film thickness we solve (15)-(16) for 24 different wavelength values. These simulations are expensive, taking around 19 hours –9.5 hours for each (15) and (16)– per wavelength, for a grand total of 19 days of nonstop computation to recover the first and second harmonic spectrum for a given gap and thickness. We now discuss the breakdown of simulation costs of either (15) or (16) for one wavelength into operations as per Algorithm 1, using the nested HDG with partial assembly and purging the lists _?_ 2 _,_ _?_ 5 of unnecessary computations after each iteration. The LU decomposition (operation 4) takes 25 min, solving the linear system (operations 5, 8, 10, 12) takes 250 min, forming and operating the full matrices that result from the second hybridization (operations 16, 17, 20) take 282 min and the _{_ W _,_ V _}_ recovery (operation 23) takes 3 min. In terms of storage, the partial assembly of ϒ requires 0.5 GB, the LU decompositions in _?_ 1 requires 13 GB for all types, _?_ 2 and _?_ 3 combined require a maximum of 29 GB, _?_ 4 and _?_ 5 combined require a maximum of 28 GB and finally _?_ 6 requires 128 GB. The storage requirement at any given algorithm step does not exceed 150 GB thanks to the type blocks and interfaces definition and since the information on _?_ 2 _, . . ., ?_ 5 25 can be eliminated as the algorithm progresses. However, the storage for _?_ 1 _,_ _?_ 6 keeps increasing throughout the main loop, and it can only be deleted after it has been used to recover _{_ W _,_ V _}_ in operation 23. Unfortunately, no specific cost comparison can be drawn with classical HDG because the direct solution of the fully assembled sparse matrix exceeds the RAM capacity of our machine (512 GB). If fully assembled, the HDG linear system ϒ is of dimension 2M, with 750M non-zeros for a total of 18 GB in storage. The bottleneck for the nested HDG method is the discretization of the 2-D mesh rather than the amount of blocks in the third dimension. The resolution of the 2-D mesh will dictate the amount of degrees of freedom at the interfaces, which is directly related to the amount of forcing terms when solving the linear systems (operations 5, 8, 10), as well as to the dimension of the matrices _?_ _?_ that need to be inverted to solve the tridiagonal system, which are no longer sparse. A possible strategy to mitigate the computational costs is to increase the number of processors, since operations 5, 8, 10 are embarrassingly parallel with respect to the number of forcing terms. However, further research is needed to reduce the computational burden of the forward Gaussian elimination of the block tridiagonal matrix (Thomas algorithm), summarized in operations 16, 17, 20. For all simulations, we choose an illumination intensity of 100 MW _/_ cm <sup>2</sup>, which corresponds to a reference magnetic field _?_ = 7 _._ 29 _·_ 10 <sup>4</sup> A _/_ m, and a reference lengthscale _?_ c = 10 <sup>_−_</sup> <sup>9</sup> m. The values for gold optical constants are _?∞_ = 1, ℏ _<u>?</u>_ p = 8 _._ 45 eV, ℏ _<u>?</u>_ = 0 _._ 047 eV [65], the Fermi velocity _<u>?</u>_ F = 1 _._ 39 _·_ 10 <sup>6</sup> m/s, the equilibrium charge density _<u>?</u>_ 0 = 5 _._ 91 _·_ 10 <sup>28</sup> m <sup>_−_</sup> <sup>3</sup> [3] and finally the electron charge _<u>?</u>_ = 1 _._ 062 _·_ 10 <sup>_−_</sup> <sup>19</sup> C. The dielectric constant values for alumina as a function of the incident wavelength are given by [9] for _?<_ 1 _._ 5 micron and [43] for _?>_ 1 _._ 5 micron, whereas the permittivity of sapphire is taken from [56]. The first and second order transmittances τ1 _,_ τ2 are shown in Figs. 7(a) and (b) for 6, 9, 12 and 15 nm gap. Setting _?_ = 150 nm, we capitalize on the ROMs constructed in Section 4.2.2 and find that thickness values of 128.5, 129, 128 and 126 nm lead to double resonances for these gaps, respectively. Even though the ROM is constructed for the Drude model only, the doubly-resonant thickness is still valid for the nonlocal calculations, since the blue-shift introduced by the hydrodynamic model depends only on the gap width and triangle side length. Stronger second-harmonic transmittance correlates with stronger first harmonic transmittance, suggesting that ultranarrow gaps (below 10 nm) may not be the best candidate structures to observe SHG, despite exhibiting larger field enhancements due to the increased confinement. In order to highlight the importance of having a doubly resonant structure for enhanced SHG, we compute for _?_ = 150 nm and _?_ = 12 nm the transmittance profile for several film thicknesses, namely 110, 120, 128, 140 and 150 nm, shown in Figs. 7(c) and (d). For this gap and triangle side, thicknesses of approximately 128 nm are the ones that guarantee double resonances, as shown in Fig. 6(a) (top), thus we can expect the second harmonic transmittance τ2 to peak for this geometric configuration. Indeed, when comparing the peak transmittance of 120 and 128 nm thicknesses, we see that despite exhibiting lower first harmonic transmittance τ <sup>128</sup> 1 _/_ τ <sup>120</sup> 1 = 0 _._ 95, the 128 nm thickness attains a second harmonic transmittance nearly four times larger than that of 120 nm τ <sup>128</sup> 2 _/_ τ <sup>120</sup> 2 = 3 _._ 97. This boosting in second harmonic transmittance is a consequence of an optimal geometric configuration that excites resonances at precisely _?_ and 2 _?_ . The field enhancement for this optimal geometry at the resonant wavelength is shown in Fig. 8, where the extreme confinement and boundary-layer structure of both the first and second harmonic at the curved metal-alumina interface can be appreciated. <sup>128</sup> 1 _/_ τ <sup>120</sup> 1 <sup>128</sup> 2 _/_ τ <sup>120</sup> 2 26 #### a b First harmonic - enhancement at 0.25 nm below gold-air interface zoom 1 zoom 2 Au Au Al2O3 12 nm Au Au Au Au Al2O3 150 nm 0.5 nm Au | E 1x| Second harmonic - enhancement at 0.25 nm below gold-air interface zoom 1 zoom 2 Au Al2O3 Au 150 nm 12 nm Au Au Al2O3 0.5 nm | E 2x| Figure 8: Cross-section image, with two zooms to show detail at the rounded vertex, of _?_ -component of electric field for _?_ = 150 nm, _?_ = 12 nm and _?_ = 128 nm (double resonant structure) at resonant wavelength _?_ = 2 _._ 009 micron, computed 0.25 nm below the gold-air interface. Black squares indicate area of zoom. (a) First harmonic _|_ E1x _|_ (b) Second harmonic _|_ E2x _|_ . 5. Conclusions The hybridizable discontinuous Galerkin method for Maxwell’s equations augmented with the hydrodynamic model for metals is specially suited to simulate nonlinear plasmonics phenomena, owing to its high-order accuracy and its ability to handle the very large disparity in length scales and the extreme localization of electromagnetic fields. For complex structures the required spatial discretization gives rise to a system that cannot be directly solved due to storage limitations. On the other hand we have not found a robust and effective iterative algorithm to solve the large indefinite HDG linear systems. In this article, we have presented a computational strategy to efficiently solve linear systems of equations that arise from the HDG method by performing a nested hybridization. In computational terms, we consider discretizations that results form the extrusion of 2-D meshes 27 and substitute one single large linear system solve for multiple smaller linear systems that stem from partitioning the original mesh into non-overlapping blocks of mesh elements following the extrusion direction. Furthermore, a judicious block partition enables us to reuse computations, thus making the nested HDG more efficient than classical HDG both from the storage and the computational perspective. Acknowledgements F. V.-C., N.- C. N and J. P. acknowledge support from the AFOSR Grant No. FA9550-19-1-0240. S.-H.O. acknowledge support from the NSF Grant No. ECCS 1809240 and ECCS 1809723. F. V.-C. acknowledges Vimworks for the design of Fig. 4 (a). Bibliography [1] Alberti, J., Linnenbank, H., Linden, S., Grynko, Y., Förstner, J., 2016. The role of electro magnetic interactions in second harmonic generation from plasmonic metamaterials. Applied Physics B 122 (2), 45. [2] Aouani, H., Navarro-Cia, M., Rahmani, M., Sidiropoulos, T. P., Hong, M., Oulton, R. F., Maier, S. A., 2012. Multiresonant broadband optical antennas as efficient tunable nanosources of second harmonic light. Nano Letters 12 (9), 4997–5002. [3] Ashcroft, N. W., Mermin, N. D., 1976. Solid State Physics. Holt, Rinehart and Winston. [4] Bachelier, G., Russier-Antoine, I., Benichou, E., Jonin, C., Brevet, P.-F., 2008. Multipolar second-harmonic generation in noble metal nanoparticles. JOSA B 25 (6), 955–960. [5] Berenger, J.-P., 1994. A perfectly matched layer for the absorption of electromagnetic waves. Journal of Computational Physics 114 (2), 185–200. [6] Berthelot, J., Bachelier, G., Song, M., Rai, P., Des Francs, G. C., Dereux, A., Bouhelier, A., 2012. Silencing and enhancement of second-harmonic generation in optical gap antennas. Optics Express 20 (10), 10498–10508. [7] Boardman, A., Paranjape, B., Nakamura, Y. O., 1976. Surface plasmon-polaritons in a spatially dispersive inhomogeneous medium. Physica Status Solidi (b) 75 (1), 347–359. [8] Boardman, A. D., 1982. Electromagnetic surface modes. John Wiley & Sons. [9] Boidin, R., Halenkovič, T., Nazabal, V., Beneš, L., Němec, P., 2016. Pulsed laser deposited alumina thin films. Ceramics International 42 (1), 1177–1182. [10] Bossavit, A., 1990. Solving Maxwell equations in a closed cavity, and the question of ’spurious modes’. IEEE Transactions on Magnetics 26 (2), 702–705. [11] Boyd, R. W., 2003. Nonlinear Optics. Elsevier. [12] Busch, K., König, M., Niegemann, J., 2011. Discontinuous Galerkin methods in nanophotonics. Laser & Photonics Reviews 5 (6), 773–809. 28 [13] Butet, J., Brevet, P.-F., Martin, O. J., 2015. Optical second harmonic generation in plasmonic nanostructures: from fundamental principles to advanced applications. ACS Nano 9 (11), 10545–10562. [14] Canfield, B. K., Husu, H., Laukkanen, J., Bai, B., Kuittinen, M., Turunen, J., Kauranen, M., May 2007. Local field asymmetry drives second-harmonic generation in noncentrosymmetric nanodimers. Nano Letters 7 (5), 1251–1255. [15] Carletti, L., Locatelli, A., Stepanenko, O., Leo, G., De Angelis, C., 2015. Enhanced second harmonic generation from magnetic resonance in AlGaAs nanoantennas. Optics Express 23 (20), 26544–26550. [16] Celebrano, M., Wu, X., Baselli, M., Großmann, S., Biagioni, P., Locatelli, A., De Angelis, C., Cerullo, G., Osellame, R., Hecht, B., et al., 2015. Mode matching in multiresonant plasmonic nanoantennas for enhanced second harmonic generation. Nature Nanotechnology 10 (5), 412. [17] Chandrasekar, R., Emani, N. K., Lagutchev, A., Shalaev, V. M., Ciracì, C., Smith, D. R., Kildishev, A. V., 2015. Second harmonic generation with plasmonic metasurfaces: direct comparison of electric and magnetic resonances. Optical Materials Express 5 (11), 2682–2691. [18] Chen, X., Park, H.-R., Pelton, M., Piao, X., Lindquist, N. C., Im, H., Kim, Y. J., Ahn, J. S., Ahn, K. J., Park, N., Kim, D.-S., Oh, S.-H., 2013. Atomic layer lithography of wafer-scale nanogap arrays for extreme confinement of electromagnetic waves. Nature Communications 4, 2361. [19] Ciracì, C., Hill, R., Mock, J., Urzhumov, Y., Fernández-Domínguez, A., Maier, S., Pendry, J., Chilkoti, A., Smith, D., 2012. Probing the ultimate limits of plasmonic enhancement. Science 337 (6098), 1072–1074. [20] Ciracì, C., Pendry, J. B., Smith, D. R., 2013. Hydrodynamic model for plasmonics: a macro scopic approach to a microscopic problem. ChemPhysChem 14 (6), 1109–1116. [21] Ciracì, C., Poutrina, E., Scalora, M., Smith, D. R., 2012. Second-harmonic generation in metallic nanoparticles: Clarification of the role of the surface. Physical Review B 86 (11), 115451. [22] Cockburn, B., Dong, B., Guzmán, J., 2008. A superconvergent LDG-hybridizable Galerkin method for second-order elliptic problems. Mathematics of Computation 77 (264), 1887–1916. [23] Cockburn, B., Gopalakrishnan, J., Lazarov, R., 2009. Unified hybridization of discontinuous Galerkin, mixed, and continuous Galerkin methods for second order elliptic problems. SIAM Journal on Numerical Analysis 47 (2), 1319–1365. [24] Cockburn, B., Guzmán, J., Wang, H., 2009. Superconvergent discontinuous Galerkin methods for second-order elliptic problems. Mathematics of Computation 78 (265), 1–24. [25] Cockburn, B., Shu, C.-W., 1998. The local discontinuous Galerkin method for time-dependent convection-diffusion systems. SIAM Journal on Numerical Analysis 35 (6), 2440–2463. [26] COMSOL Inc, 1986. COMSOL Multiphysics Modeling Software. `[http://www.comsol.com/](http://www.comsol.com/)` . 29 [27] Crouseilles, N., Hervieux, P.-A., Manfredi, G., 2008. Quantum hydrodynamic model for the nonlinear electron dynamics in thin metal films. Physical Review B 78 (15), 155412. [28] Drude, P., 1900. Zur elektronentheorie der metalle. Annalen der Physik 306 (3), 566–613. [29] Eftang, J. L., Patera, A. T., 2013. Port reduction in parametrized component static conden sation: approximation and a posteriori error estimation. International Journal for Numerical Methods in Engineering 96 (5), 269–302. [30] Eguiluz, A., Quinn, J. J., Aug 1976. Hydrodynamic model for surface plasmons in metals and degenerate semiconductors. Physical Review B 14, 1347–1361. [31] Fang, M., Huang, Z., Sha, W. E., Xiong, X. Y., Wu, X., 2016. Full hydrodynamic model of nonlinear electromagnetic response in metallic metamaterials. Progress In Electromagnetics Research 157, 63–78. [32] Ginzburg, P., Krasavin, A. V., Wurtz, G. A., Zayats, A. V., 2015. Nonperturbative hydro dynamic model for multiple harmonics generation in metallic nanostructures. ACS Photonics 2 (1), 8–13. [33] Grynko, Y., Förstner, J., 2017. Simulation of second harmonic generation from photonic nanos tructures using the discontinuous Galerkin time domain method. In: Recent Trends in Computational Photonics. Springer, pp. 261–284. [34] Hesthaven, J. S., Warburton, T., 2002. Nodal high-order methods on unstructured grids: I. Time-domain solution of Maxwell’s equations. Journal of Computational Physics 181 (1), 186– 221. [35] Hille, A., Moeferdt, M., Wolff, C., Matyssek, C., Rodríguez-Oliveros, R., Prohm, C., Niege mann, J., Grafström, S., Eng, L. M., Busch, K., 2016. Second harmonic generation from metal nano-particle resonators: Numerical analysis on the basis of the hydrodynamic drude model. The Journal of Physical Chemistry C 120 (2), 1163–1169. [36] Huynh, D. B. P., Knezevic, D. J., Patera, A. T., 2013. A static condensation reduced ba sis element method: approximation and a posteriori error estimation. ESAIM: Mathematical Modelling and Numerical Analysis 47 (01), 213–251. [37] Huynh, D. B. P., Knezevic, D. J., Patera, A. T., 2013. A static condensation reduced basis element method: complex problems. Computer Methods in Applied Mechanics and Engineering 259, 197–216. [38] Jha, S., 1965. Theory of optical harmonic generation at a metal surface. Physical Review 140 (6A), A2020. [39] Ji, X., Cai, W., Zhang, P., 2007. High-order DGTD methods for dispersive Maxwell’s equations and modelling of silver nanowire coupling. International Journal for Numerical Methods in Engineering 69 (2), 308–325. [40] Jin, J.-M., 2015. The finite element method in electromagnetics. John Wiley & Sons. [41] Johnson, S. G., 2008. Notes on perfectly matched layers (PMLs). Lecture notes, Massachusetts Institute of Technology, Massachusetts 5 (5.3), 2. 30 [42] Kauranen, M., Zayats, A. V., 2012. Nonlinear plasmonics. Nature Photonics 6 (11), 737. [43] Kischkat, J., Peters, S., Gruska, B., Semtsiv, M., Chashnikova, M., Klinkmüller, M., Fedosenko, O., Machulik, S., Aleksandrova, A., Monastyrskyi, G., et al., 2012. Mid-infrared optical properties of thin films of aluminum oxide, titanium dioxide, silicon dioxide, aluminum nitride, and silicon nitride. Applied Optics 51 (28), 6789–6798. [44] Klein, M. W., Enkrich, C., Wegener, M., Linden, S., 2006. Second-harmonic generation from magnetic metamaterials. Science 313 (5786), 502–504. [45] Kolkowski, R., Szeszko, J., Dwir, B., Kapon, E., Zyss, J., 2016. Non-centrosymmetric plasmonic crystals for second-harmonic generation with controlled anisotropy and enhancement. Laser & Photonics Reviews 10 (2), 287–298. [46] Krasavin, A. V., Ginzburg, P., Zayats, A. V., 2018. Free-electron optical nonlinearities in plas monic nanostructures: A review of the hydrodynamic description. Laser & Photonics Reviews 12 (1), 1700082. [47] Kullock, R., Hille, A., Haußmann, A., Grafström, S., Eng, L. M., 2011. SHG simulations of plasmonic nanoparticles using curved elements. Optics Express 19 (15), 14426–14436. [48] Kunz, K. S., Luebbers, R. J., 1993. The finite difference time domain method for electromag netics. CRC press. [49] Lanteri, S., Scheid, C., 2013. Convergence of a discontinuous Galerkin scheme for the mixed time-domain Maxwell’s equations in dispersive media. IMA Journal of Numerical Analysis 33 (2), 432–459. [50] Li, L., Lanteri, S., Mortensen, N. A., Wubs, M., 2017. A hybridizable discontinuous Galerkin method for solving nonlocal optical response models. Computer Physics Communications 219, 99–107. [51] Li, L., Lanteri, S., Perrussel, R., 2013. A hybridizable discontinuous galerkin method for solving 3d time-harmonic maxwell’s equations. In: Numerical Mathematics and Advanced Applications 2011. Springer, pp. 119–128. [52] Linden, S., Niesler, F., Förstner, J., Grynko, Y., Meier, T., Wegener, M., 2012. Collective effects in second-harmonic generation from split-ring-resonator arrays. Physical Review Letters 109 (1), 015502. [53] Lindhard, J., 1954. On the properties of a gas of charged particles. Dan. Vid. Selsk Mat.-Fys. Medd. 28, 8. [54] Liu, J., Brio, M., Zeng, Y., Zakharian, A. R., Hoyer, W., Koch, S. W., Moloney, J. V., 2010. Generalization of the FDTD algorithm for simulations of hydrodynamic nonlinear Drude model. Journal of Computational Physics 229 (17), 5921–5932. [55] Lu, T., Zhang, P., Cai, W., 2004. Discontinuous Galerkin methods for dispersive and lossy Maxwell’s equations and PML boundary conditions. Journal of Computational Physics 200 (2), 549–580. 31 [56] Malitson, I., Dodge, M., 1972. Refractive-index and birefringence of synthetic sapphire. In: Journal Of The Optical Society Of America. Vol. 62. pp. 1405–1405. [57] McMahon, J. M., Gray, S. K., Schatz, G. C., 2010. Calculating nonlocal optical properties of structures with arbitrary shape. Physical Review B 82 (3), 035423. [58] Moeferdt, M., Kiel, T., Sproll, T., Intravaia, F., Busch, K., 2018. Plasmonic modes in nanowire dimers: A study based on the hydrodynamic Drude model including nonlocal and nonlinear effects. Physical Review B 97 (7), 075431. [59] Mur, G., 1981. Absorbing boundary conditions for the finite-difference approximation of the time-domain electromagnetic-field equations. Electromagnetic Compatibility, IEEE Transactions on (4), 377–382. [60] Nédélec, J.-C., 1980. Mixed finite elements in R <sup>3</sup> . Numerische Mathematik 35 (3), 315–341. [61] Nguyen, N.-C., Peraire, J., Cockburn, B., 2009. An implicit high-order hybridizable discon tinuous Galerkin method for linear convection-diffusion equations. Journal of Computational Physics 228 (9), 3232–3254. [62] Nguyen, N.-C., Peraire, J., Cockburn, B., 2011. High-order implicit hybridizable discontin uous Galerkin methods for acoustics and elastodynamics. Journal of Computational Physics 230 (10), 3695–3718. [63] Nguyen, N.-C., Peraire, J., Cockburn, B., 2011. Hybridizable discontinuous Galerkin methods for the time-harmonic Maxwell’s equations. Journal of Computational Physics 230 (19), 7151– 7175. [64] Niegemann, J., Pernice, W., Busch, K., 2009. Simulation of optical resonators using DGTD and FDTD. Journal of Optics A: Pure and Applied Optics 11 (11), 114015. [65] Olmon, R. L., Slovick, B., Johnson, T. W., Shelton, D., Oh, S.-H., Boreman, G. D., Raschke, M. B., 2012. Optical dielectric function of gold. Physical Review B 86 (23), 235147. [66] Panoiu, N., Sha, W., Lei, D., Li, G., 2018. Nonlinear optics in plasmonic nanostructures. Journal of Optics 20 (8), 083001. [67] Park, H.-R., Chen, X., Nguyen, N.-C., Peraire, J., Oh, S.-H., 2015. Nanogap-enhanced tera hertz sensing of 1 nm thick ( _?/_ 10 <sup>6</sup> ) dielectric films. ACS Photonics 2 (3), 417–424. [68] Pitarke, J., Silkin, V., Chulkov, E., Echenique, P., 2006. Theory of surface plasmons and surface-plasmon polaritons. Reports on Progress in Physics 70 (1), 1–87. [69] Razdolski, I., Chen, Y., Giles, A. J., Gewinner, S., Schöllkopf, W., Hong, M., Wolf, M., Gian nini, V., Caldwell, J. D., Maier, S. A., et al., 2016. Resonant enhancement of second-harmonic generation in the mid-infrared using localized surface phonon polaritons in subdiffractional nanostructures. Nano Letters 16 (11), 6954–6959. [70] Saà-Seoane, J., Nguyen, N.-C., Men, H., Freund, R., Peraire, J., 2012. Binary optimization techniques for linear PDE-governed material design. Applied Physics A 109 (4), 1023–1030. 32 [71] Scalora, M., Vincenti, M. A., de Ceglia, D., Roppo, V., Centini, M., Akozbek, N., Bloemer, M. J., Oct. 2010. Second- and third-harmonic generation in metal-based structures. Physical Review A 82 (4), 043828. [72] Schmitt, N., Scheid, C., Lanteri, S., Moreau, A., Viquerat, J., 2016. A DGTD method for the numerical modeling of the interaction of light with nanometer scale metallic structures taking into account non-local dispersion effects. Journal of Computational Physics 316, 396–415. [73] Sipe, J. E., So, V., Fukui, M., Stegeman, G., 1980. Analysis of second-harmonic generation at metal surfaces. Physical Review B 21 (10), 4389–4402. [74] Smirnova, D., Kivshar, Y. S., 2016. Multipolar nonlinear nanophotonics. Optica 3 (11), 1241– 1255. [75] Sommerfeld, A., 1949. Partial differential equations in physics. Vol. 1. Academic Press. [76] Taflove, A., Hagness, S. C., 2005. Computational electrodynamics: the finite-difference time domain method. Artech house. [77] Toscano, G., Raza, S., Jauho, A.-P., Mortensen, N. A., Wubs, M., 2012. Modified field enhance ment and extinction by plasmonic nanowire dimers due to nonlocal response. Optics Express 20 (4), 4176–4188. [78] Toscano, G., Straubel, J., Kwiatkowski, A., Rockstuhl, C., Evers, F., Xu, H., Mortensen, N. A., Wubs, M., 2015. Resonance shifts and spill-out effects in self-consistent hydrodynamic nanoplasmonics. Nature Communications 6 (7132). [79] Vidal-Codina, F., 2017. Simulation methods for plasmonic structures. Ph.D. thesis, Mas sachusetts Institute of Technology. [80] Vidal-Codina, F., Martín-Moreno, L., Ciracì, C., Yoo, D., Nguyen, N.-C., Oh, S.-H., Peraire, J., 2020. Terahertz and infrared nonlocality and field saturation in extreme-scale nanoslits. Opt. Express 28 (6), 8701–8715. [81] Vidal-Codina, F., Nguyen, N.-C., Oh, S.-H., Peraire, J., 2018. A hybridizable discontinuous Galerkin method for computing nonlocal electromagnetic effects in three-dimensional metallic nanostructures. Journal of Computational Physics 355, 548–565. [82] Vidal-Codina, F., Nguyen, N.-C., Peraire, J., 2018. Computing parametrized solutions for plasmonic nanogap structures. Journal of Computational Physics 366, 89–106. [83] Vidal-Codina, F., Saà-Seoane, J., Nguyen, N.-C., Peraire, J., 2019. A multiscale continuous galerkin method for stochastic simulation and robust design of photonic crystals. Journal of Computational Physics: X 2, 100016. [84] von Cube, F., Irsen, S., Diehl, R., Niegemann, J., Busch, K., Linden, S., 2013. From isolated metaatoms to photonic metamaterials: evolution of the plasmonic near-field. Nano Letters 13 (2), 703–708. [85] Wang, F. X., Rodríguez, F. J., Albers, W. M., Ahorinta, R., Sipe, J. E., Kauranen, M., Dec. 2009. Surface and bulk contributions to the second-order nonlinear optical response of a gold film. Physical Review B 80 (23), 233402. 33 [86] Yee, K. S., 1966. Numerical solution of initial boundary value problems involving Maxwell’s equations in isotropic media. IEEE Transactions on Antennas and Propagation 14 (3), 302–307. [87] Yoo, D., Mohr, D. A., Vidal-Codina, F., John-Herpin, A., Jo, M., Kim, S., Matson, J., Caldwell, J. D., Jeon, H., Nguyen, N.-C., et al., 2018. High-contrast infrared absorption spectroscopy via mass-produced coaxial zero-mode resonators with sub-10 nm gaps. Nano Letters 18 (3), 1930–1936. [88] Yoo, D., Nguyen, N.-C., Martin-Moreno, L., Mohr, D. A., Carretero-Palacios, S., Shaver, J., Peraire, J., Ebbesen, T. W., Oh, S.-H., 2016. High-throughput fabrication of resonant metamaterials with ultrasmall coaxial apertures via atomic layer lithography. Nano Letters 16 (3), 2040–2046. [89] Yoo, D., Vidal-Codina, F., Ciracì, C., Nguyen, N.-C., Smith, D. R., Peraire, J., Oh, S.-H., 2019. Modeling and observation of mid-infrared nonlocality in effective epsilon-near-zero ultranarrow coaxial apertures. Nature Communications 10, 4476. [90] Zeng, Y., Hoyer, W., Liu, J., Koch, S. W., Moloney, J. V., 2009. Classical theory for second harmonic generation from metallic nanoparticles. Physical Review B 79 (23), 235109. [91] Zhang, Y., Grady, N. K., Ayala-Orozco, C., Halas, N. J., 2011. Three-dimensional nanostruc tures as highly efficient generators of second harmonic light. Nano Letters 11 (12), 5519–5523. [92] Zhu, W., Esteban, R., Borisov, A. G., Baumberg, J. J., Nordlander, P., Lezec, H. J., Aizpurua, J., Crozier, K. B., 2016. Quantum mechanical effects in plasmonic structures with subnanometre gaps. Nature Communications 7, 11495. 34

섹션 본문 99문단 · 42,857자

(제목 없음)

1In this paper, we develop a nested hybridizable discontinuous Galerkin (HDG) method to numerically solve the Maxwell's equations coupled with the hydrodynamic model for the conduction-band electrons in metals. By means of a static condensation to eliminate the degrees of freedom of the approximate solution defined in the elements, the HDG method yields a linear system in terms of the degrees of freedom of the approximate trace defined on the element boundaries. Furthermore, we propose to reorder these degrees of freedom so that the linear system accommodates a second static condensation to eliminate a large portion of the degrees of freedom of the approximate trace, thereby yielding a much smaller linear system. For the particular metallic structures considered in this paper, the resulting linear system obtained by means of nested static condensations is a block tridiagonal system, which can be solved efficiently. We apply the nested HDG method to compute the second harmonic generation (SHG) on a triangular coaxial periodic nanogap structure. This nonlinear optics phenomenon features rapid field variations and extreme boundary-layer structures that span multiple length scales. Numerical results show that the ability to identify structures which exhibit resonances at and 2 is paramount to excite the second harmonic response.

Introduction

2Nonlinear plasmonics [7,9,38,59,67] studies the effects that arise when nonlinear media in a plasmonic structure cause the polarization to depend nonlinearly on the electric field. These effects are inherently weak, but can be amplified by the collective excitation of conduction-band electrons that can occur on metallic nanostructures, commonly known as plasmon resonances. These excitations produce strong near-field enhancements of the incident wave by confining light in small volumes whose critical lengthscales are several orders of magnitude smaller than the wavelength of light. The combination of nonlinear effects and localized plasmon resonances offers new opportunities for the generation and manipulation of light at the nanoscale. The most common nonlinear effect is second-harmonic generation (SHG), whereby two photons at the incident frequency interact to generate a single photon at twice the incident frequency. Within classical electromagnetics, SHG occurs when the polarization has a quadratic dependence on the electric field. In common nonlinear optical materials, this quadratic dependence is provided by the absence of an inversion symmetry in the crystalline lattice, which generates an asymmetric response with respect to the applied electric field orientation. In contrast, plasmonic metals (e.g. gold, silver, copper and aluminum) are centrosymmetric and do not possess an intrinsic second-order susceptibility. A correct description of metal nonlinearities has to account for the complex dynamics of free-electrons [64]. It is well-known in fact that free-electrons provide both bulk and surface mechanisms for SHG [34,66,78]. Surface contributions arise from locally broken centrosymmetry while bulk contributions are ascribed to convective and Lorentz-force interactions in the electron fluid [17,64]. Contrarily to nonlinear crystals then, the nonlinear response of metals becomes highly dependent on the device geometry [10,40]. In fact, unless centrosymmetry is broken at the larger scale of the device structure, the second-harmonic fields stays highly localized and destructively interfere in the far-field, becoming too weak to be observed. Plenty of research has been devoted to designing and fabricating shapes that enhance SHG, see [9,38,59] and the references therein.

3The ability to accurately model and simulate nonlinear plasmonic phenomena requires computational capabilities that challenge traditional simulation techniques. From a modelling perspective, plasmonic phenomena can be described by Maxwell's equations coupled with a hydrodynamic model to account for the nonlocal effect of the conduction-band electrons in the metallic materials, which become relevant for sub-10 nanometer features. The problems of interest involve the interaction of long-wavelength electromagnetic waves (µm and mm) with nanometer-wide features for potential applications in sensing and spectroscopy. Moreover, the electromagnetic fields are confined in deep-subwavelength cavities, and Ångstrom-thin accumulation charge layers develop at the metaldielectric interface. As a consequence, the discretizations required to attain accurate simulations need to be highly adapted (to properly capture the extremely localized fields) and anisotropic (to be computationally tractable).

4The finite-difference time-domain (FDTD) algorithm [42,69] is a well known computational method for wave propagation. The most popular FDTD method utilizes Yee's scheme [79] to discretize space and time with staggered cartesian grids and second-order schemes. The main shortcoming of FDTD is modeling geometries with complex features, since the stair-casing at the interfaces not aligned with the Cartesian grid severely impacts the accuracy. In addition, the mismatch in length scales that is characteristic of nonlinear plasmonics is a severe hindrance, since resolving for the smallest phenomena while keeping a uniform discretization may require grids having prohibitively large number of degrees of freedom. The FDTD method has recently been used for nonlocal [27,50] and nonlinear simulations [12,47,83]. Finite element (FE) methods [36] have also been widely used in electromagnetics, due to their ability to handle heterogeneous media and intricate geometries with unstructured discretizations, as well as ℎ/ adaptation for increased accuracy. The family of face/edge elements introduced by Nédélec [53] have been extensively used to simulate electromagnetic wave propagation, and have been shown to avoid the problem of spurious modes [6] by appropriately choosing the approximation spaces. A commonly used implementation of edge elements for Maxwell's equations is the one provided by the RF Module of Comsol Multiphysics [22]. Many groups have used this platform to implement their own version of the hydrodynamic model [15,70,71] for SHG for 2-D and 3-D metamaterials [11,13,17,28,62].

5Discontinous Galerkin (DG) methods [21,30] have also been widely used to simulate nonlocal effects in electromagnetics. In DG methods, the domain is discretized onto a collection of disjoint elements, and each field component is independently approximated within each element using standard finite element spaces. Solutions are therefore discontinuous across elements, and flux continuity is enforced at the interfaces. The DG method in time domain has been developed for many nanophotonics applications on metallic and lossless media [8,35,43,48,57,65], as well as to simulate SHG on nanoparticles [31,41,51], resonators and antennas [29,77]. The main caveat of DG methods for 3-D applications in the frequency domain or in the time domain with implicit time integration is the high computational burden, stemming from the duplication of degrees of freedom at the interfaces. This shortcoming is circumvented by the hybridizable discontinuous Galerkin (HDG) method, first developed in [18][19][20] and later extended to acoustics and elastodynamics [55,63] as well as time-harmonic Maxwell's equations [45,56] and the hydrodynamic model for metals [44,74]. In addition, unlike other DG methods HDG exhibits optimal convergence rates for both the solution and the flux. As a result, the solution may be locally postprocessed to gain an additional order of convergence, a phenomenon known as superconvergence. In the recent years, the HDG method has been successfully applied for 2-D and 3-D metallic nanostructures to simulate plasmonic phenomena [44, 60, 73-75, 81, 82].

6In this paper, we introduce a nested HDG method for the Maxwell's equations coupled with the hydrodynamic model for the conduction-band electrons in metals. By means of a static condensation to eliminating the degrees of freedom of the approximate solution defined within the elements, the HDG method yields a linear system in terms of the degrees of freedom of the approximate trace defined on the element boundaries. In addition, the degrees of freedom of the approximate traces are properly reordered so that the linear system accommodates a second static condensation to eliminate a large portion of the degrees of freedom of the approximate traces. Hence, this approach yields a much smaller linear system, encompassing the degrees of freedom of only selected element boundaries. Furthermore, if these element boundaries are judiciously selected the approach yields a linear system that is block-tridiagonal, and can thus be solved efficiently. We apply the nested HDG method to compute the SHG on a triangular coaxial periodic nanogap structure, which is a computationally intensive task since nonlinear optics phenomena feature rapid field variations and extreme boundary-layer structures that span multiple length scales. In addition, we propose strategies to partition the mesh in order to achieve an efficient nested static condensation.

7This article is organized as follows. In Section 2, we introduce the equations and notation used throughout the paper. In Section 3, we review the formulation and implementation of the HDG method to solve the hydrodynamic model for metals in frequency domain, and describe the additional hybridization strategy and algorithm. In Section 4, we present numerical results to assess the performance of the proposed method and present some concluding remarks in Section 5.

Maxwell's equations in time domain

8The electric ℰ(x, ) and magnetic ℋ(x, ) fields, along with the electric displacement and magnetic flux density ℬ, satisfy Maxwell's equations in a metallic domain Ω m ∇ × ℰ + ℬ = 0 (Ampère's law),

9where ext represents the external electric current and ext the external volume charge density. For simplicity of exposition, we assume there are no external current ext = 0 and external charge density ext = 0. In addition, we have the following constitutive relations

10(2)

11The polarization density represents the density of permanent or induced electric dipole moments due to free electrons. Conversely, the background polarization ∞ = ( ∞ − 0 )ℰ represents the polarization of the bound electrons in the valence band. The last two relations relate the polarization density to the internal current and internal charge density . Note that 0 , 0 are the free-space permittivity and permeability, that relate to the free-space speed of light 0 = 1/ √ 0 0 .

A nonlinear hydrodynamic model

12The above set of equations is closed once we specify the polarization density of the material in response to applied electromagnetic fields. In the simplest case, depends locally on the electric field through a linear relationship. To account for nonlocal effects which become important at nanoametric scales, a hydrodynamic model (HM) for the free electron gas was proposed in [26]. This model, despite neglecting quantum phenomena such as quantum tunneling and quantum oscillations, introduces a hydrodynamic pressure term that accounts for the nonlocal coupling of the conduction-band electrons. Below we provide a brief description of the model and refer to [4,16,61] for additional details.

13The electron density (x, ) and the hydrodynamic velocity v(x, ) are related by the continuity equation as = −∇ · ( v). In addition, the equation of motion for the electron fluid under a macroscopic electromagnetic field is described as

14where is the effective electron mass, is the electron charge so that = v and is a damping constant related to the collision rate of the electrons. The electron pressure (x, ) is given by [23]

15where 0 = 18 25 0 F , F is the Fermi energy and 0 is the equilibrium charge density.

16After combining equations (3), (4) and the continuity equation, we follow [17] and retaining only first-and second-order terms, we obtain a nonlinear nonlocal model for the polarization in response to an applied electromagnetic field

17where p = √︀ 0 2 / 0 is the metal's plasma frequency. For incoming fields above this frequency the metal behaves like a lossy dielectric since electron mobility is not sufficient to react and cancel the incoming wave.The nonlocal parameter is given by = √︀ 6 F /5 . Given the definition of Fermi kinetic energy F = 2 F /2, the nonlocal parameter reduces to =

√︀

183/5 F [46], where F is the Fermi velocity. The nonlinear terms in the right hand side of equation (5) are known as Coulomb force, magnetic Lorentz force, nonlinear convective force and nonlinear pressure force. We note that the simplest form of the hydrodynamic model, based on the Thomas-Fermi approximation accounting only for the linearized kinetic energy, corresponds to retaining only the first two terms in the right hand side of (5) and neglecting the remaining nonlinear terms. The implementation of this nonlocal linear model with a hybridizable discontinuous Galerkin method was presented in [74].

19Equation (5) needs to be solved simultaneously with Maxwell's equations (1). Before proceeding, it is convenient to non-dimensionalize the problem variables using the following scalings

20where c is a reference length scale, is a reference magnetic field and 0 = √︀ 0 / 0 is the freespace impedance. For a non-magnetic medium ( = 0 ), applying the scalings above to Maxwell's equations (1), the constitutive relations (2) and the hydrodynamic pressure equation (5), we obtain

21with the nondimensional variables ∞ = ∞ / 0 , p = p c / 0 , = c / 0 and = / 0 . We now assume a time-harmonic response of the nondimensional electromagnetic fields,

22Inserting the above expansions into (7) and retaining only the linear terms, we can obtain the following set of linear equations for the amplitudes of the fundamental harmonic,

23For later use, we refer to the system of equations (9) as ℒ m (E 1 , H 1 , J 1 , ρ 1 ; ) = 0. The Drude model [24] can be recovered from (9) by setting the nonlocal parameter to zero, in which case Ohm's law is recovered J 1 = 2 p E 1 /( + ) and the complex Drude permittivity is expressed as m ( ) = ∞ − 2 p /( ( + )). The Drude model is more computationally efficient, since (9) simplifies to Maxwell's equations with a complex-valued permitivity, at the expense of neglecting the nonlocal electron interactions that become relevant for sub-10 nm features.

Metallic nanostructures

24The above formulation is extended to consider the more general case of a metallic nanostructure, comprising both a metal Ω m described by the HM and a dielectric Ω d with permittivity d described solely by Maxwell's equations. The solution within the metallic structure is governed by (9) and (11), whereas the response in the dielectric Ω d is given by regular time-harmonic Maxwell's equations, namely

25The boundary conditions for a metallic nanostructure can be expressed as

266

27The first and second boundary condition prescribe perfect electric conductor (PEC) and perfect magnetic conductor (PMC) behavior, which allows us to impose symmetries in periodic structures. The third and fourth conditions also prescribe symmetry conditions in periodic structures for the electric current and the electron charge, and are only applicable on the metallic subdomain. In addition, the third boundary condition is also applied at the metal-dielectric interface Γ md = Ω m ∩ Ω d to preclude the electrons from leaving the metal (since the normal component of the electric current vanishes), also known as no electron spill-out condition [3]. Quantum effects such as electron tunneling are therefore not modeled by the HM.

28The last equation is the first-order Silver-Müller radiation condition [52,68], preventing outgoing waves from reflecting at the computational boundary and coming back into the domain. A common alternative to the radiation condition are the perfectly matched layers (PMLs) [2,37]. Even though PMLs can be more effective at absorbing waves, they are more computationally intensive and require parameter tuning. We have developed both alternatives and found no significant differences for the metallic nanostructures considered within the frequency regimes of interest. Illumination is prescribed as a p-polarized plane wave propagating in the d-direction, that is

29For an example of how the boundary conditions are assigned see Fig. 3 (c), where a periodic triangular coaxial nanostructure is shown.

30We refer to the above system of equations (10) to be solved on the dielectric as ℒ d (E 1 , H 1 ; ) = 0, and the boundary equations (11) to be prescribed as (E 1 , H 1 , J 1 , ρ 1 ; ) = inc , respectively. In order to numerically solve the above systems with the HDG method we shall also impose continuity of the tangential component of the magnetic field along the entire domain and continuity of the normal component of the electric current along the metal. These two additional conditions are explained and derived within the HDG discretization, see Section 3.

Second-harmonic generation

31Once the solution for the fundamental harmonic (E 1 , H 1 , J 1 , ρ 1 ) has been determined by simultaneously solving (9), (10) and (11), we turn our attention to the second harmonic. Inserting expansions (8) into (7) and collecting the the terms multiplying exp(− 2 ), we obtain the following set of equations for the amplitudes of the second harmonic in the metallic domain

32The nonlinear source term in (13) depends only on the fundamental fields and represents the motion of electron fluid under an electromagnetic field.

33Using the operator ℒ m introduced earlier, we can express equation (12) as ℒ m (E 2 , H 2 , J 2 , 2 ; 2 ) = . The boundary conditions for the SHG are then simply (E 2 , H 2 , J 2 , 2 ; 2 ) = 0, since no incident light is shone and the only response is due to the nonlinear current.

34Summarizing, the SHG can be simulated as a two-step process, namely

35to compute (E 1 ,

36Note that plane-wave illumination is used only to compute the fundamental fields, ensuring the second harmonic fields are solely generated by the nonlinear source (13).

Approximation spaces

37We first review the notation, operators and approximation spaces needed for the HDG method following [56]. We denote by = m ∪ d a triangulation of disjoint regular elements that partition a nanostructure consisting of a metallic and dielectric subdomains = Ω m ∪ Ω d ∈ R 3 . The set of element boundaries is then defined as

38For an arbitrary element ∈ , = ∩ is a boundary face if it has a nonzero 2-D Lebesgue measure. Any pair of elements + and − share an interior face = + ∩ − if its 2-D Lebesgue measure is nonzero. We finally denote by ℰ ℎ and ℰ ℎ the set of interior and boundary faces, respectively, and their union by ℰ ℎ = ℰ ℎ ∪ ℰ ℎ .

39Let n + and n − be the outward-pointing unit normal vectors on the neighboring elements + , − , respectively. We further use u ± to denote the trace of u on from the interior of ± . The jump · for an interior face ∈ ℰ ℎ is defined as

40and for a boundary face ∈ ℰ ℎ with outward normal n as

41Here, the binary operation ⊙ represents either · or ×. The tangential u and normal u components of u, such that u = u + u , are given by 3 denote the Lebesgue space of three dimensional square integrable vector functions and 1 ( ) the Hilbert space

42Let ( ) denote the space of complex-valued polynomials of degree at most on . We introduce the following approximation spaces

43where t 1 , t 2 are linearly independent vectors tangent to the face. We note that by construction,

44The tangent vectors on a face can be defined in terms of its normal n = ( 1 , 2 , 3 ) as t 1 = (− 2 / 1 , 1, 0) and t 2 = (− 3 / 1 , 0, 1). This definition assumes that | 1 | ≥ max(| 2 |, | 3 |) but analogous expressions can be obtained when

45where Πu (respectively, Π ) is the projection of the prescribed value of u, u , onto ℎ (respectively, onto ℎ ).

46Finally, we define the various Hermitian products for the above finite element spaces. The volume inner products are defined as

47and the surface inner products by

48The HDG discretization of ℒ m , ℒ d and needs to be completed with two additional continuity condition, that is enforcing zero jump in the tangential component of H ℎ and in the normal component of J ℎ across interior faces ℰ ℎ . For all test functions ( , , , , ,

49We close the system by introducing expressions for the hybrid fluxes of the magnetic field and electric current field aŝ︀

50The parameters , are the stabilization parameters, defined globally to ensure the accuracy and stability of the HDG discretization. We propose the choice = √ (for each material's permittivity) and

51= p / which leads to numerically stable solutions even in the presence of tightly localized fields in the metal-dielectric interface.

52Substituting (18) in (16) and integrating by parts, we write the final HDG discretization for the metallic domain

53The nonlinear source also requires integration by parts, hence

54The final HDG discretization for the dielectric is obtained after substituting (18) in (17) and integrating by parts

55The weak formulations (19)- (20) are then discretized using the corresponding basis functions on all the elements and faces of , thus giving rise to the linear system

56for the metal domain, and

57for the dielectric domain. Here (H m , E m ,̂︀ E m ) and (H d , E d ,̂︀ E d ) represent the vectors of degrees of freedom of (H ℎ , E ℎ ,̂︀ E ℎ ) in metal and dielectric, respectively. Similarly, (J m , ρ m ,̂︀ ρ m ) represent the vectors of degrees of freedom of (J ℎ , ρ ℎ ,̂︀ ρ ℎ ) in metal. It is important to point out that the two systems (21) and (22) have to be solved simultaneously becausê︀ E m and̂︀ E d share degrees of freedom for the faces located on the metal-dielectric interface.

58We note that due to the discontinuous nature of the approximation spaces, the local variables E ℎ , H ℎ , J ℎ , ρ ℎ (defined in the interior of each element) are only coupled globally through the global variableŝ︀ E,̂︀ ρ (defined on the element faces). This means that we can eliminate these local variables at the element level, which in matrix form corresponds to eliminating the upper-left submatrices, indicated with the dashed lines in (21) and (22), thus only a reduced matrix for the global variables needs to be assembled. This numerical strategy, also known as hybridization, is essential to achieve an efficient implementation of the HDG method [18][19][20][54][55][56]. Specifically, the hybridization procedure (also known as static condensation) yields the following global linear system

59where the vector̂︀ U consists of the degrees of freedom of (̂︀ E ℎ ,̂︀ ρ ℎ ). In practice, both the matrix ϒ and the vector are formed by a standard finite element assembly procedure by computing the elemental quantities and assembling them in an element-by-element fashion. The detailed implementation can be found in [72,74].

60The elimination of local degrees of freedom through hybridization renders a linear system where the global degrees of freedom are defined on the faces only, thus drastically reducing the size of the linear system that must be solved. After solving the linear system (23) for the global unknowns, the local unknowns can be efficiently recovered at the element level [72,74], an operation that is trivially parallelizable.

Second hybridization

61Thus far, we have recreated the formulation and implementation of the HDG method for a metaldielectric domain introduced in [74]. In this section, we describe a second hybridization to efficiently solve the global linear system that stems from the first hybridization and exploits the geometry of the problems of interest. Indeed, for large 3-D structures the direct solution of (23) may be challenging. Iterative methods, on the other hand, have found limited success for stiff indefinite problems of the type considered here.

62The idea behind the second hybridization is to partition the global degrees of freedom̂︀ U = {W, V}, such that the W degrees of freedom can be statically condensed to yield the following linear system

63for V. Specifically, reordering the global system (23) using thê︀ U = {W, V} allows us to write of Ψ, as a function of ϒ, , namely

64Assuming that ϒ WW is invertible, the above system may be recast as

65Thus we have Ψ = ϒ VV − ϒ VW ϒ −1 WW ϒ WV and = V − ϒ VW ϒ −1 WW W . For this hybridization to be computationally efficient, we need to ensure the inverse of ϒ WW may be efficiently evaluated by means of a judicious choice of the global degrees of freedom. To that end, we target specifically metallic nanostructures that can be discretized by extruding a 2-D discretization.

66There are many examples of such structures in the literature [14,15,17,60,74,80,81,84]. Under this assumption, the degrees of freedom in the planes perpendicular to the extrusion direction are assigned to V, and the remaining degrees of freedom are assigned to W. This partitioning gives rise to N blocks {Ω } N =1 , whose unknowns are {W } N =1 ; and N + 1 interfaces {Γ } N =0 , whose unknowns are {V } N =0 , as illustrated in Fig. 1. Consequently, the matrix ϒ WW can be inverted efficiently since it is a block-diagonal matrix, namely

13

67Furthermore, this partitioning gives rise to a linear system (24) that is a block-tridiagonal, namely

68The blocks may be computed explicitly following (26) and (27) to obtain

69and for = 1, . . . , N − 1

70The block tridiagonal system is never formed in practice, but rather solved on-the-fly using Thomas method (forward Gaussian elimination for tridiagonal matrices). The first equation in (28) is recast as

71Using this relation, the second equation reads

72and we can thus establish an analogous expression for the subsequent equations = 2, . . . , N − 1,

73Hence, from the last equation we can retrieve the value for V N as

74and we then march backwards to recover the remaining {V } 0 =N−1 leveraging (33)-(31).

75x y z

Implementation

76In this section, we describe how to efficiently compute (29)- (30) and solve (28). The first step is to judiciously partition the computational domain in the extrusion direction to define the blocks and interfaces. For a given block Ω , the values on ϒ W W depend solely on the spatial dimensions of the block and the material properties ( d for dielectric and ∞ , p , , for metal) and for a given interface Γ the values ϒ V V depend solely on the spatial dimensions of the interface and the adjacent blocks' material properties. Hence, accounting for these features when partitioning the domain allows us to define unique block and interface types {Ω ℓ } ℓ=1 , {Γ } =1 that may translate into important computational savings, similar to the strategy developed by Huynh et al.

77in the context of efficient model order reduction for structured problems [25,32,33,76]. The type assignments can be mathematically expressed with a tuple of maps ( Ω , Γ ), such that Ω ( ) = ℓ if block belongs to type ℓ, and analogously for the interfaces with Γ . We have illustrated the type definition on a substrate-metal-superstrate structure shown in Fig. 2, where the block partitioning is done along the axis. After discretization, we are left with 4, 2 and 4 substrate, metal and superstrate blocks respectively, along with 11 interfaces. Based on the dimensions and the material properties, the type assignment is summarized in Table 1.

78Once the type maps have been established and the matrix and forcing term ϒ, have been computed, we resort to the second hybridization to efficiently recover̂︀ U, a procedure detailed in Algorithm 1. Since an integral part of this nested hybridization method is the ability to reuse computations by virtue of the block and interface types, we shall define six lists { } 6 =1 where all relevant computations are stored and can thus be accessed whenever required by Algorithm 1. These lists will contain the following items: 1 stores the LU decomposition of ϒ WW for each block type, and are indexed by block type; 2 , . . . , 5 contain the building blocks of the Schur decomposition at the block-interface level, and are indexed by both block and interface type, see Algorithm 1 for the exact expressions; finally, 6 contains each intermediate factor in the solution of the tridiagonal system (28) using forward block Gaussian elimination, that is {̃︀ ,̃︀ } N =0 , which are required to compute the degrees of freedom for V with equations (31)- (33).

79A few observations regarding Algorithm 1: (i) the forcing needs to be evaluated for all blocks and interfaces, since the source term in (16) has spatial dependence, whereas ϒ only needs to be evaluated for each block and interface type; (ii) since storing and reusing computations is an integral part of the algorithm, we may also eliminate items from 2 , . . . , 5 as soon as they are no longer required; (iii) the solution of the linear systems in steps 5, 8 and 10 of the algorithm is the most computationally intensive, although it can be trivially parallelized; (iv) the storage of 6 requires significant memory storage since all steps are needed to recover the interface degrees of freedom as in operation 23; and (v) this hybridization results in a strong compression of the original problem, since once {V } N =0 have been recovered we may evaluate {W } N =1 through operation 23 block-wise at minimal cost (the LU decompositions are already stored in 1 ) and then obtain the local variables {E ℎ , H ℎ , J ℎ , ρ ℎ } with the regular HDG static condensation expressions at the element level, see [72,74].

Plane wave in air

80In this section, we perform a numerical test to verify the implementation and accuracy of the second hybridization process. To that end, we choose a plane wave propagating through air, for which the exact solution is known, and compare the errors between classical HDG by direct solution of (23) and the second hybridization described by Algorithm 1.

81An -polarized 2 micron wavelength plane wave propagating in the positive -direction through air is described by E inc = exp( )x, and we use a 250×250×1000 nm prism as computational domain, discretized in 6 × 6 × isotropic cubes. We focus on = 1, 2, 3 and several values, and compute the 2 ( ) and curl ( ) errors of E ℎ , collected in Table along with a convergence analysis. Note that since the cubes in the -direction are isotropic and we only consider air, there is only one type consisting of a single block and three interfaces (upper-lower boundaries and air-air contact).

82As expected, the solutions computed by both methods have the same errors and orders of convergence. In terms of storage, for = 4 and = 32 (a total of 1152 elements) the HDG method Compute LU decomposition of ϒ W ℓ W ℓ = and store ↦ → 1 [ℓ] 5:

83Solve linear system for multiple right-hand-sides in parallel Solve linear system for multiple right-hand-sides in parallel

84else if 2 [ℓ, 0 ] ̸ = ∅ and 3 [ℓ, 1 ] = ∅ then 10:

85Solve linear system for multiple right-hand-sides in parallel

8624: end for requires 47 GB to solve the linear system (23), whereas the nested HDG method requires a total of 1.88 GB, split between 117 MB for 1 , 104 MB for each 2 , . . . , 5 and 1.65 GB for 6 . In terms of computational runtime, the HDG method takes 6.5 hours on a 512GB Linux machine with 16 AMD Opteron(tm) Processors, while the nested HDG method takes only 3 minutes. The computational saving is very significant, since the nested HDG method is about 130 times faster than the HDG method. Note that all blocks belong to the same type, hence almost all computations at the block level can be reused.

Triangular nanocoaxial aperture

87We now consider a metallic nanostructure that produces extraordinary optical transmission and can excite second harmonic fields. This structure consist of periodic arrays of subwavelength triangular apertures of a dielectric material patterned in a metallic film, and unlike arrays of annular nanogap structures that have been simulated with HDG in previous works [60,74,81], triangular apertures are not centrosymmetric, a requirement to excite second-order effects.

88The structure that will be analyzed is a gold thin-film with triangular coaxial nanogaps arranged according to a square pattern, see Fig. 3(a), for wavelengths ranging from visible to low infra-red. The metal film is deposited over a sapphire substrate, a transparent material in these frequency regimes, and the nanogap is filled with alumina. The structure is illuminated from below with an -polarized plane wave, and we can exploit the symmetries of the structure and solve only for the domain shown in Fig. 3 containing half of the triangular nanogap. Under these symmetry conditions, we prescribe E × n = 0, ρ = 0 on the -constant boundaries and H × n = 0, J · n = 0 on the -constant boundaries. First-order radiation conditions are imposed on the -constant boundaries. To assess the efficacy of SHG, we monitor the transmittance τ through the structure and the second harmonic transmittance, computed as

89where is an arbitrary plane below the gold film and an arbitrary plane above the gold film. The discretization consists of 18K hexahedral cubic elements, and is constructed by extruding in the -direction the 2-D curved mesh in Fig. 3(b). The 2-D curved mesh is devised such that the rounded corners are properly represented, and a boundary-layer type discretization is used for the region surrounding the gap. To that end, we place 2-D coaxial layers at distances 0.5, 1, 2, 3 and 5 nm on both sides of the gap-metal interfaces, ensuring enough resolution for both first and second order phenomena. In the vertical direction, we set both the substrate and superstrate thickness to 500 nm which is sufficient to properly represent illumination conditions and domain unboundedness. For each stratum, we use 19 blocks divided among 4 types, with increasing type thickness as we move further away from the gold film. This computational strategy allows us to capture the rapidly-varying near-field effects in the vicinity of the metal surface (< 5 nm) as well as to smoothly transition towards the far-field values of transmittance. For the gold stratum, we use one thin type for the regions near the metal-substrate and metal-superstrate interfaces (4 blocks of 0.25 nm thickness for both upper and lower areas) to capture the boundary-layer features that develop and one thick type for the rest (8 blocks). Hence, the total number of blocks is 54, split into 10 type blocks and 7 type interfaces, see Fig. 3(c). The mesh topology we have described is the same for the different geometric parameters discussed below, and since the hydrodynamic density profile is independent of the gap size we use the same values of 2-D coaxial layers and 3-D boundary-layer detail at the upper and lower metal surfaces for all gaps. Numerical accuracy is verified by carrying out grid convergence studies on consecutively refined meshes, until the relative error for the SHG transmittance is below 1%. This highly anisotropic mesh, along with the nested HDG method, allows us to efficiently solve for the full 3-D EM wave field.

90For the structure under consideration, we set the array periodicity to 500 nm and the radius of curvature at the traingle corners to 20 nm for fabrication purposes. The remaining geometric features, namely the gap size , the triangle side and the film thickness need to be numerically determined so as to achieve a doubly-resonant structure. The idea behind such a structure is that resonances are excited at both and 2 , thus amplifying the second-order effects that are generated as a consequence of its non-centrosymmetric nature.

91Firstly, we need to understand the effect of , and on the resonances, and since the transmittance spectra of the Drude characterization for metals is qualitatively the same as of the hydrodynamic, it suffices to solve (14) for = 0, requiring significantly lower computational and storage requirements. In addition, we leverage our previous work to compute parametrized solutions of plasmonic structures [75], whereby a small number of high-fidelity simulations can be used to construct an accurate reduced order model that enables the rapid computation of inexpensive solutions over the parameter range. The impact of gap is shown in Fig. 4(a) for = 125 nm and = 150 nm, the impact of thickness is shown in Fig. 4(b) for = 9 nm and = 150 nm and the impact of triangle side lenght is shown in Fig. 4(c) for = 125 nm and = 9 nm. The wavelength * 0 of resonance 0 is blue-shifted as decreases, whereas it is almost insensitive to the thickness. Conversely, the wavelength * 1 of resonance 1 is much more sensitive to changes in (blue-shift for decreasing thickness) than to changes in . Finally, both resonances are similarly affected by gap size modifications. Consequently, for a given gap size one should fix either (resp. ) and vary (resp. ) to attain a geometric configuration that is doubly-resonant at frequencies and 2 . The strategy chosen here is the former, since developing reduced-order model to parametrize variations in is much simpler than for .

92We construct a reduced order model for several gaps using 200 high-fidelity simulations of (14) for = 0 for varying and ∈ [110, 140] nm, whereby the value chosen ensures double resonance.

93These solutions are computed with the standard HDG method directly solving (23), on a 3-D mesh of 2K elements -for Drude metals no boundary layer is generated, hence coarser discretizations suffice to capture the electromagnetic fields. Once the ROMs are developed, frequency-thickness heatmaps can be obtained by inexpensively querying the ROM for multiple ( , ) combinations. These heatmaps are useful to track the resonances as a function thickness and to identify, for each gap, the metal film thickness that gives rise to a doubly-resonant structure. We show the transmittance heatmaps for 12 and 15 nm nanogaps with = 150 nm in Fig 5, where we notice that the 1 resonance splits between two for 15 nm gaps and above, whereas it remains a single resonance for gaps below 15 nm. A field plot of the real part of the -electric amplitude is provided in Fig 5, where the field is shown along the mid-gap diagonal plane -that is, the vertical plane that runs along the middle of the gap and is parallel to the longer side of the triangle as shown in Fig 4b-where it can be observed that the 1 splitting gives rise to modes 1 , 1 that are not constant along the diagonal direction, as opposed the 1 mode. The shaded gray area corresponds to thickness values that lead to double resonances.

Field enhancement

94Field enhancement Once we have identified, for each gap, the values of and that excite modes at and 2 , we can apply the strategy summarized in (14)- (15), where the global linear systems that stem from the HDG discretization (23) are solved with Algorithm 1. These simulations are expensive, taking around 19 hours -9.5 hours for each (14) and (15) -per wavelength on a 512GB Linux 18.04 machine with 16 AMD Opteron(tm) Processors 6320x15. If we break it into operations as per Algorithm 1, the LU decomposition (operation 4) takes 24 min, the linear system (operations 5, 8, 10, 12) takes 250 min, the tridiagonal blocks (operations 16,17,20) take 283 min and the {W, V} recovery (operation 23) takes 3 min. In terms of storage, 1 requires 13 GB for all types, 2 and 3 combined require a maximum of 29 GB, 4 and 5 combined require a maximum of 28 GB and finally 6 requires 128 GB. The storage requirement at any given algorithm step does not exceed 150 GB thanks to the type blocks and interfaces definition and since the information on 2 , . . . , 5 can be eliminated as the algorithm progresses. However, the storage for 1 and 6 keeps increasing throughout the main loop, and it can only be deleted after it has been used to recover {W, V} in operation 23.

95For all cases, we choose an illumination intensity of = 100 MW/cm 2 , which corresponds to a reference magnetic field = 72.86 MA/m, and values for gold optical constants ∞ = 1, p = 8.45 eV, = 0.047 eV [58], the Fermi velocity and energy F = 1.39 · 10 6 m/s and F = 5.5 eV, the equilibrium charge density 0 = 5.91·10 28 m −3 [1] and the effective mass * = 2 F / 2 F = 9.17·10 −31 kg. The dielectric constant values for alumina and sapphire as a function of the incident wavelength are given by [5,39] and [49] respectively.

96The first and second order transmittances τ 1 , τ 2 are shown in Figs. 6(a) and (b) for 6, 9, 12 and 15 nm gap. Setting = 150 nm, we capitalize on the ROM and find that thickness values of 128.5, 129, 128 and 126 nm lead to double resonances for these gaps, respectively. Even though the ROM is constructed for the Drude model only, the doubly-resonant thickness is still valid for the nonlocal calculations, since the blue-shift introduced by the hydrodynamic model depends only on the gap width and triangle side length. Stronger second harmonic transmittance correlates with stronger first harmonic transmittance, suggesting that ultranarrow gaps (below 10 nm) may not be the best candidate structures to observe SHG, despite exhibiting larger field enhancements due to the increased confinement.

97In order to highlight the importance of having a doubly resonant structure for enhanced SHG, we compute for = 150 nm and = 12 nm the transmittance profile for several film thicknesses, namely 110, 120, 128, 140 and 150 nm, shown in Figs. 6(c) and (d). For this gap and triangle side, thicknesses of approximately 128 nm are the ones that guarantee double resonances, as shown in Fig. 5(a) (top), thus we can expect the second harmonic transmittance τ 2 to peak for this geometric configuration. Indeed, when comparing the peak transmittance of 120 and 128 nm thicknesses, we see that despite exhibiting lower first harmonic transmittance τ 128 1 /τ 120 1 = 0.95 the 128 nm thickness attains a second harmonic transmittance nearly four times larger than that of 120 nm

Conclusions

98The hybridizable discontinuous Galerkin method for Maxwell's equations augmented with the hydrodynamic model for metals is specially suited to simulate nonlinear plasmonics phenomena, owing to its high-order accuracy and its ability to handle the very large disparity in length scales and the extreme localization of electromagnetic fields. For complex structures the required spatial discretization gives rise to a system that cannot be directly solved due to storage limitations. On the other hand we have not found a robust and effective iterative algorithm to solve the large indefinite HDG linear systems. In this paper, we have presented a computational strategy to efficiently solve linear systems of equations that arise from the HDG method by performing a nested hybridization.

99In computational terms, we consider discretizations that results form the extrusion of 2-D meshes and substitute one single large linear system solve for multiple smaller linear systems that stem from partitioning the original mesh into non-overlapping blocks of mesh elements following the extrusion direction. Furthermore, a judicious block partition enables us to reuse computations, thus making the nested HDG more efficient than classical HDG both from the storage and the computational perspective.

참고문헌 100건

  1. A Hybridizable Discontinuous Galerkin Method for Solving 3D Time-Harmonic Maxwell’s Equations Springer eBooks · Springer Nature · 2012 10.1007/978-3-642-33134-3_13
  2. Partial Differential Equations in Physics Pure and applied mathematics · Elsevier BV · 1949 10.1016/s0079-8169(08)x6048-9
  3. ON THE PROPERTIES OF A GAS OF CHARGED PARTICLES E. Munksgaard eBooks · E. Munksgaard · 1954
  4. Computational Electrodynamics: The Finite-Difference Time-Domain Method 1995
  5. The Finite Difference Time Domain Method for Electromagnetics CRC Press eBooks · Informa · 2018 10.1201/9780203736708
  6. Electromagnetic surface modes 1982
  7. The Finite Element Method in Electromagnetics 1993
  8. Partial Differential Equations in Physics Elsevier eBooks · Elsevier BV · 1949 10.1016/b978-0-12-654658-3.x5001-0
  9. Resonance shifts and spill-out effects in self-consistent hydrodynamic nanoplasmonics Nature Communications · Nature Portfolio · 2015 10.1038/ncomms8132
  10. Enhanced second-harmonic generation from magnetic resonance in AlGaAs nanoantennas Optics Express · Optica Publishing Group · 2015 10.1364/oe.23.026544
  11. Pulsed laser deposited alumina thin films Ceramics International · Elsevier BV · 2015 10.1016/j.ceramint.2015.09.048
  12. An implicit high-order hybridizable discontinuous Galerkin method for nonlinear convection–diffusion equations Journal of Computational Physics · Elsevier BV · 2009 10.1016/j.jcp.2009.08.030
  13. A superconvergent LDG-hybridizable Galerkin method for second-order elliptic problems Mathematics of Computation · American Mathematical Society · 2008 10.1090/s0025-5718-08-02123-6
  14. From Isolated Metaatoms to Photonic Metamaterials: Evolution of the Plasmonic Near-Field Nano Letters · American Chemical Society · 2013 10.1021/nl3043757
  15. Absorbing Boundary Conditions for the Finite-Difference Approximation of the Time-Domain Electromagnetic-Field Equations IEEE Transactions on Electromagnetic Compatibility · Institute of Electrical and Electronics Engineers · 1981 10.1109/temc.1981.303970
  16. A static condensation reduced basis element method: Complex problems Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2013 10.1016/j.cma.2013.02.013
  17. SHG simulations of plasmonic nanoparticles using curved elements Optics Express · Optica Publishing Group · 2011 10.1364/oe.19.014426
  18. Second-harmonic generation in metallic nanoparticles: Clarification of the role of the surface Physical Review B · American Physical Society · 2012 10.1103/physrevb.86.115451
  19. Surface Plasmon‐Polaritons in a Spatially Dispersive Inhomogeneous Medium physica status solidi (b) · Wiley · 1976 10.1002/pssb.2220750138
  20. Unified Hybridization of Discontinuous Galerkin, Mixed, and Continuous Galerkin Methods for Second Order Elliptic Problems SIAM Journal on Numerical Analysis · Society for Industrial and Applied Mathematics · 2009 10.1137/070706616
  21. A perfectly matched layer for the absorption of electromagnetic waves Journal of Computational Physics · Elsevier BV · 1994 10.1006/jcph.1994.1159
  22. Surface and bulk contributions to the second-order nonlinear optical response of a gold film Physical Review B · American Physical Society · 2009 10.1103/physrevb.80.233402
  23. Nonperturbative Hydrodynamic Model for Multiple Harmonics Generation in Metallic Nanostructures ACS Photonics · American Chemical Society · 2014 10.1021/ph500362y
  24. Local Field Asymmetry Drives Second-Harmonic Generation in Noncentrosymmetric Nanodimers Nano Letters · American Chemical Society · 2007 10.1021/nl0701253
  25. Superconvergent discontinuous Galerkin methods for second-order elliptic problems Mathematics of Computation · American Mathematical Society · 2008 10.1090/s0025-5718-08-02146-7
  26. The Local Discontinuous Galerkin Method for Time-Dependent Convection-Diffusion Systems SIAM Journal on Numerical Analysis · Society for Industrial and Applied Mathematics · 1998 10.1137/s0036142997316712
  27. Nanogap-Enhanced Terahertz Sensing of 1 nm Thick (λ/10<sup>6</sup>) Dielectric Films ACS Photonics · American Chemical Society · 2015 10.1021/ph500464j
  28. Multiresonant Broadband Optical Antennas As Efficient Tunable Nanosources of Second Harmonic Light Nano Letters · American Chemical Society · 2012 10.1021/nl302665m
  29. High‐order DGTD methods for dispersive Maxwell's equations and modelling of silver nanowire coupling International Journal for Numerical Methods in Engineering · Wiley · 2006 10.1002/nme.1762
  30. Nodal High-Order Methods on Unstructured Grids Journal of Computational Physics · Elsevier BV · 2002 10.1006/jcph.2002.7118
  31. Classical theory for second-harmonic generation from metallic nanoparticles Physical Review B · American Physical Society · 2009 10.1103/physrevb.79.235109
  32. Solving Maxwell equations in a closed cavity, and the question of 'spurious modes' IEEE Transactions on Magnetics · IEEE Magnetics Society · 1990 10.1109/20.106414
  33. A Static condensation Reduced Basis Element method : approximation and<i>a posteriori</i>error estimation ESAIM Mathematical Modelling and Numerical Analysis · EDP Sciences · 2012 10.1051/m2an/2012022
  34. Mode matching in multiresonant plasmonic nanoantennas for enhanced second harmonic generation Nature Nanotechnology · Nature Portfolio · 2015 10.1038/nnano.2015.69
  35. Mid-infrared optical properties of thin films of aluminum oxide, titanium dioxide, silicon dioxide, aluminum nitride, and silicon nitride Applied Optics · Optica Publishing Group · 2012 10.1364/ao.51.006789
  36. Silencing and enhancement of second-harmonic generation in optical gap antennas Optics Express · Optica Publishing Group · 2012 10.1364/oe.20.010498
  37. Calculating nonlocal optical properties of structures with arbitrary shape Physical Review B · American Physical Society · 2010 10.1103/physrevb.82.035423
  38. Probing the Ultimate Limits of Plasmonic Enhancement Science · American Association for the Advancement of Science · 2012 10.1126/science.1224823
  39. Multipolar second-harmonic generation in noble metal nanoparticles Journal of the Optical Society of America B · Optica Publishing Group · 2008 10.1364/josab.25.000955
  40. Second- and third-harmonic generation in metal-based structures Physical Review A · American Physical Society · 2010 10.1103/physreva.82.043828
  41. Analysis of second-harmonic generation at metal surfaces Physical review. B, Condensed matter · American Physical Society · 1980 10.1103/physrevb.21.4389
  42. Second-Harmonic Generation from Magnetic Metamaterials Science · American Association for the Advancement of Science · 2006 10.1126/science.1129198
  43. High-order implicit hybridizable discontinuous Galerkin methods for acoustics and elastodynamics Journal of Computational Physics · Elsevier BV · 2011 10.1016/j.jcp.2011.01.035
  44. Mixed finite elements in ?3 Numerische Mathematik · Springer Science+Business Media · 1980 10.1007/bf01396415
  45. Zur Elektronentheorie der Metalle Annalen der Physik · Wiley · 1900 10.1002/andp.19003060312
  46. Hybridizable discontinuous Galerkin methods for the time-harmonic Maxwell’s equations Journal of Computational Physics · Elsevier BV · 2011 10.1016/j.jcp.2011.05.018
  47. Quantum hydrodynamic model for the nonlinear electron dynamics in thin metal films Physical Review B · American Physical Society · 2008 10.1103/physrevb.78.155412
  48. Theory of Optical Harmonic Generation at a Metal Surface Physical Review · American Institute of Physics · 1965 10.1103/physrev.140.a2020
  49. Generalization of the FDTD algorithm for simulations of hydrodynamic nonlinear Drude model Journal of Computational Physics · Elsevier BV · 2010 10.1016/j.jcp.2010.04.016
  50. Computational electrodynamics, the finite-difference time-domain method Journal of Atmospheric and Terrestrial Physics · Elsevier BV · 1996 10.1016/0021-9169(96)80449-1
  51. Binary optimization techniques for linear PDE-governed material design Applied Physics A · Springer Science+Business Media · 2012 10.1007/s00339-012-7372-x
  52. Discontinuous Galerkin methods for dispersive and lossy Maxwell's equations and PML boundary conditions Journal of Computational Physics · Elsevier BV · 2004 10.1016/j.jcp.2004.02.022
  53. Simulation of optical resonators using DGTD and FDTD Journal of Optics A Pure and Applied Optics · Springer Science+Business Media · 2009 10.1088/1464-4258/11/11/114015
  54. Hydrodynamic model for surface plasmons in metals and degenerate semiconductors Physical review. B, Solid state · American Physical Society · 1976 10.1103/physrevb.14.1347
  55. Theory of surface plasmons and surface-plasmon polaritons Reports on Progress in Physics · IOP Publishing · 2006 10.1088/0034-4885/70/1/r01
  56. Atomic layer lithography of wafer-scale nanogap arrays for extreme confinement of electromagnetic waves Nature Communications · Nature Portfolio · 2013 10.1038/ncomms3361
  57. Optical dielectric function of gold Physical Review B · American Physical Society · 2012 10.1103/physrevb.86.235147
  58. Numerical solution of initial boundary value problems involving maxwell's equations in isotropic media IEEE Transactions on Antennas and Propagation · IEEE Antennas & Propagation Society · 1966 10.1109/tap.1966.1138693
  59. Discontinuous Galerkin methods in nanophotonics Laser & Photonics Review · Wiley · 2011 10.1002/lpor.201000045
  60. Electromagnetic Surface Modes Optica Acta International Journal of Optics · Taylor & Francis · 1983 10.1080/716099614
  61. Port reduction in parametrized component static condensation: approximation and <i>a posteriori</i> error estimation International Journal for Numerical Methods in Engineering · Wiley · 2013 10.1002/nme.4543
  62. Hydrodynamic Model for Plasmonics: A Macroscopic Approach to a Microscopic Problem ChemPhysChem · Wiley · 2013 10.1002/cphc.201200992
  63. Notes on Perfectly Matched Layers (PMLs) arXiv (Cornell University) · Cornell University · 2021 10.48550/arxiv.2108.05348
  64. Second Harmonic Generation from Metal Nano-Particle Resonators: Numerical Analysis On the Basis of the Hydrodynamic Drude Model The Journal of Physical Chemistry C · American Chemical Society · 2015 10.1021/acs.jpcc.5b08348
  65. Enhanced second-harmonic generation from magnetic resonance in AlGaAs nanoantennas Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2016 10.1117/12.2217651
  66. The role of electromagnetic interactions in second harmonic generation from plasmonic metamaterials Applied Physics B · Springer Science+Business Media · 2016 10.1007/s00340-015-6311-x
  67. Non‐centrosymmetric plasmonic crystals for second‐harmonic generation with controlled anisotropy and enhancement Laser & Photonics Review · Wiley · 2016 10.1002/lpor.201500212
  68. High-Throughput Fabrication of Resonant Metamaterials with Ultrasmall Coaxial Apertures via Atomic Layer Lithography Nano Letters · American Chemical Society · 2016 10.1021/acs.nanolett.6b00024
  69. Convergence of a discontinuous Galerkin scheme for the mixed time-domain Maxwell's equations in dispersive media IMA Journal of Numerical Analysis · Oxford University Press · 2012 10.1093/imanum/drs008
  70. Collective Effects in Second-Harmonic Generation from Split-Ring-Resonator Arrays Physical Review Letters · American Physical Society · 2012 10.1103/physrevlett.109.015502
  71. Three-Dimensional Nanostructures as Highly Efficient Generators of Second Harmonic Light Nano Letters · American Chemical Society · 2011 10.1021/nl2033602
  72. A DGTD method for the numerical modeling of the interaction of light with nanometer scale metallic structures taking into account non-local dispersion effects Journal of Computational Physics · Elsevier BV · 2016 10.1016/j.jcp.2016.04.020
  73. Optical Second Harmonic Generation in Plasmonic Nanostructures: From Fundamental Principles to Advanced Applications ACS Nano · American Chemical Society · 2015 10.1021/acsnano.5b04373
  74. Plasmonic Trace Sensing below the Photon Shot Noise Limit ACS Photonics · American Chemical Society · 2015 10.1021/acsphotonics.5b00501
  75. Quantum mechanical effects in plasmonic structures with subnanometre gaps Nature Communications · Nature Portfolio · 2016 10.1038/ncomms11495
  76. Resonant Enhancement of Second-Harmonic Generation in the Mid-Infrared Using Localized Surface Phonon Polaritons in Subdiffractional Nanostructures Nano Letters · American Chemical Society · 2016 10.1021/acs.nanolett.6b03014
  77. Finite Element Method Electromagnetics IEEE eBooks · Institute of Electrical and Electronics Engineers · 1998 10.1109/9780470544655
  78. Numerical Mathematics and Advanced Applications 2011 Springer eBooks · Springer Nature · 2013 10.1007/978-3-642-33134-3
  79. FULL HYDRODYNAMIC MODEL OF NONLINEAR ELECTROMAGNETIC RESPONSE IN METALLIC METAMATERIALS (Invited Paper) Electromagnetic waves · 2016 10.2528/pier16100401
  80. A hybridizable discontinuous Galerkin method for solving nonlocal optical response models Computer Physics Communications · Elsevier BV · 2017 10.1016/j.cpc.2017.05.012
  81. A hybridizable discontinuous Galerkin method for computing nonlocal electromagnetic effects in three-dimensional metallic nanostructures Journal of Computational Physics · Elsevier BV · 2017 10.1016/j.jcp.2017.11.025
  82. Computing parametrized solutions for plasmonic nanogap structures Journal of Computational Physics · Elsevier BV · 2018 10.1016/j.jcp.2018.04.009
  83. Simulation of Second Harmonic Generation from Photonic Nanostructures Using the Discontinuous Galerkin Time Domain Method Springer series in optical sciences/SPringer series in optical sciences · Springer Nature · 2017 10.1007/978-3-319-55438-9_9
  84. Recent Trends in Computational Photonics Springer series in optical sciences/SPringer series in optical sciences · Springer Nature · 2017 10.1007/978-3-319-55438-9
  85. Free‐electron Optical Nonlinearities in Plasmonic Nanostructures: A Review of the Hydrodynamic Description Laser & Photonics Review · Wiley · 2017 10.1002/lpor.201700082
  86. Simulation methods for plasmonic structures 2017
  87. High-Contrast Infrared Absorption Spectroscopy via Mass-Produced Coaxial Zero-Mode Resonators with Sub-10 nm Gaps Nano Letters · American Chemical Society · 2018 10.1021/acs.nanolett.7b05295
  88. Plasmonic modes in nanowire dimers: A study based on the hydrodynamic Drude model including nonlocal and nonlinear effects Physical review. B./Physical review. B · American Physical Society · 2018 10.1103/physrevb.97.075431
  89. Correction: Corrigendum: TET2 repression by androgen hormone regulates global hydroxymethylation status and prostate cancer progression Nature Communications · Nature Portfolio · 2015 10.1038/ncomms10265
  90. Nonlinear optics in plasmonic nanostructures Journal of Optics · IOP Publishing · 2018 10.1088/2040-8986/aac8ed
  91. A multiscale continuous Galerkin method for stochastic simulation and robust design of photonic crystals Journal of Computational Physics X · Elsevier BV · 2019 10.1016/j.jcpx.2019.100016
  92. Second harmonic generation with plasmonic metasurfaces: direct comparison of electric and magnetic resonances Optical Materials Express · Optica Publishing Group · 2015 10.1364/ome.5.002682
  93. Modeling and observation of mid-infrared nonlocality in effective epsilon-near-zero ultranarrow coaxial apertures Nature Communications · Nature Portfolio · 2019 10.1038/s41467-019-12038-3
  94. Terahertz and infrared nonlocality and field saturation in extreme-scale nanoslits Optics Express · Optica Publishing Group · 2020 10.1364/oe.386405
  95. Multipolar nonlinear nanophotonics Optica · Optica Publishing Group · 2016 10.1364/optica.3.001241
  96. Modified field enhancement and extinction by plasmonic nanowire dimers due to nonlocal response Optics Express · Optica Publishing Group · 2012 10.1364/oe.20.004176
  97. Nonlinear plasmonics Nature Photonics · Nature Portfolio · 2012 10.1038/nphoton.2012.244
  98. An implicit high-order hybridizable discontinuous Galerkin method for linear convection–diffusion equations Journal of Computational Physics · Elsevier BV · 2009 10.1016/j.jcp.2009.01.030
  99. Zur Elektronentheorie der Metalle Annalen der Physik · Wiley · 1902 10.1002/andp.19023120312
  100. A hybridizable discontinuous Galerkin method for solving 3D time-harmonic Maxwell's equations HAL (Le Centre pour la Communication Scientifique Directe) · Centre National de la Recherche Scientifique · 2011 10.1007/978-3-642-33134-3\_13