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

High-order accurate schemes for Maxwell's equations with nonlinear active media and material interfaces

관련 필름·전자재료 · (15) 디스플레이 패널재료

기본 정보

저자
  1. Qing Xia — Department of Mathematical Sciences, Rensselaer Polytechnic Institute, Troy, NY 12180, USA
  2. Jeffrey W. Banks — Department of Mathematical Sciences, Rensselaer Polytechnic Institute, Troy, NY 12180, USA
  3. William D. Henshaw — Department of Mathematical Sciences, Rensselaer Polytechnic Institute, Troy, NY 12180, USA
  4. Alexander V. Kildishev — School of Electrical and Computer Engineering, Purdue University, West Lafayette, IN 47907, USA
  5. Gregor Kovačič — Department of Mathematical Sciences, Rensselaer Polytechnic Institute, Troy, NY 12180, USA
  6. Ludmila J. Prokopeva — School of Electrical and Computer Engineering, Purdue University, West Lafayette, IN 47907, USA
  7. Donald W. Schwendeman — Department of Mathematical Sciences, Rensselaer Polytechnic Institute, Troy, NY 12180, USA
DOI
10.1016/j.jcp.2022.111051
저널
Journal of Computational Physics
발행년도
2022
발행기관
Elsevier BV
피인용수
7
라이선스
publisher-specific-oa
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.jcp.2022.111051
토픽
Optical Coatings and Gratings
OpenAlex ID
W3195433033

평가 내용

관련도
관련
사업분야
필름·전자재료 · (15) 디스플레이 패널재료
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 디스플레이 패널재료' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

초록이 없습니다.

본문 56,896자

본문 펼치기
We describe a fourth-order accurate finite-difference time-domain scheme for solving dispersive Maxwell's equations with nonlinear multi-level carrier kinetics models. The scheme is based on an efficient single-step three time-level modified equation approach for Maxwell's equations in secondorder form for the electric field coupled to ODEs for the polarization vectors and population densities of the atomic levels. The resulting scheme has a large CFL-one time-step. Curved interfaces between different materials are accurately treated with curvilinear grids and compatibility conditions. A novel hierarchical modified equation approach leads to an explicit scheme that does not require any nonlinear iterations. The hierarchical approach at interfaces leads to local updates at the interface with no coupling in the tangential directions. Complex geometry is treated with overset grids. Numerical stability is maintained using high-order upwind dissipation designed for Maxwell's equations in second-order form. The scheme is carefully verified for a number of two and three-dimensional problems. The resulting numerical model with generalized dispersion and arbitrary nonlinear multi-level system can be used for many plasmonic applications such as for ab initio time domain modeling of nonlinear engineered materials for nanolasing applications, where nano-patterned plasmonic dispersive arrays are used to enhance otherwise weak nonlinearity in the active media. Introduction The overall objective of this work is the development of efficient and high-order accurate numerical schemes for modeling light-matter interaction with nonlinear materials. We develop novel high-order finite-difference-time-domain (FDTD) numerical schemes for nonlinear active materials with carrier kinetics modeled by real-valued rate equations and the auxiliary differential equation (ADE) approach. The target nonlinear multilevel dispersive models and the geometry under consideration are universal in the sense that the number of atomic levels and the number of transitions (polarization vectors) are arbitrary, and the geometry can be of complex shapes with material interfaces in 2D or 3D, which essentially overcome the limitations of existing methods for full wave simulations in nonlinear active materials in the literature. There are a number of novel and attractive features of our schemes. (1) Modified equation time-stepping leads to an extremely efficient three-level single-step scheme that is fourth-order accurate in space and time and has a large CFL-one time-step. (2) High-order accuracy at curved boundaries and interfaces is achieved using conforming grids and compatibility conditions. (3) Interfaces are treated in an efficient way using a hierarchical modified equation (HIME) approach that provides local updates to the interface ghost points and requires no nonlinear solves. (4) Numerical stability on overset grids is achieved using a high-order upwind dissipation for Maxwell's equation in second-order form. Upwind dissipation for wave equations in second-order form was first proposed in [1] and extended the ideas of Godunov's upwind scheme for first-order systems of equations. The original scheme in [1] was extended to Maxwell's equations in [2]. An optimized version of this latter approach is used in the numerical scheme given in this article. Introduction The current work substantially expands the previous work [3,4] on general linear dispersive materials by employing multi-level carrier kinetics to account for diverse nonlinear effects. Similar to [3,4], the proposed schemes are implemented in the Overture framework, and then tested using overlapping grids over complex two-and three-dimensional geometries. Figures 1 and 2 depict an example of a two-dimensional geometry and a zoom-in view of the associated overset grids. Introduction Following the early theoretical works (see, e.g. [5]) and their original numerical FDTD approximations [6][7][8][9], propagation and scattering of light in all our schemes are modeled classically by the Maxwell's equations, while the nonlinear medium is described by real-valued multi-level rate equations [10][11][12][13][14][15]. The interaction between light and matter is then coupled by real-valued atomic dipole moment (polarization) equations using the ADE technique, which is also adopted in the models of general linear dispersive materials in [3,4]. Such nonlinear multilevel models are generalization of the two-level systems [6,16]. Introduction Perturbation theory has been and still remains one of the most popular approaches to approximate nonlinear material responses in optics. With this approach, the optical material response in the time and frequency domains is modeled employing the power series expansions of a weak nonlinear part of susceptibility. The method has become imperative for the initial numerical analysis of Stockman's spasers [17,18]. Classical electrodynamics with the quantum-mechanical effects of the gain medium introduced through the perturbation nonlinear susceptibility terms have been initially adopted to describe spasing (see, e.g. [19][20][21][22]). Thus, Li and Yu [19] derived and computed the gain threshold requirements for core-shell single-particle spasers, accounting for the interband transitions of the plasmonic metal core. Kristanz et al. [22] analyzed the power balance and heating to guide the spaser design in terms of the allowed pumping intensities, duration, and expected output radiation and thermal load. These studies have been of ultimate importance for analyzing the parameters affecting the threshold, including the resonant wavelength, the refractive index of the background host material, and the dimensions of the core and shell of regular-shape (mainly spherical or spheroidal) spasers. While such models are capable of adequately predict- ing the conditions for loss compensation and the transition to the spasing regime for simplified geometries and operation regimes, as the designs of spaser systems are becoming more involved, full-wave numerical analysis that can unlock the temporal and spatial details of a given spaser are required. In general, the perturbation theory has many restrictions. For example, the modeling techniques employing this classical approach are capable of neither capturing complete transient and irreversible effects nor accounting for many critical quantum phenomena. They may also fail to converge in some crucial real-life cases [23] and are inadequate for modeling several distinct classes of nonlinearities, e.g., epsilon-near-zero materials [24]. In contrast, the time-domain multiphysics techniques are considered amongst the most accurate numerical frameworks that can account for the quantum-mechanical nature of the gain and plasmonic materials, naturally combining nonlinear and thermal effects in a single computational domain with complex structural and material composition [7,8,11,[25][26][27]. Introduction Early carrier kinetics approaches to multiphysics modeling of nonlinear light-matter interaction were introduced for describing gain media in response to external pulsed excitation [5,6], aiming at the numerical analysis of the dynamics of pumping, population inversion, and saturation. The multi-level rate equation technique has been widely used for simulating various atomic systems, for example, in modeling 1-electron system with 4 levels and 6 levels [10], 2-electron system with 4 levels [8], saturable absorption [13], reverse saturable absorption [14], and 2-photon absorption [15]. Modeling multi-level active medium using the rate equations together with the ADE-type polarizations is equivalent to the first-order optical Bloch equations formulated using density matrix [28,29] for two-level systems, or multi-level systems consisting of pairwise atomic level transitions [8,30,31]. For general multi-level atomic systems, such as those with V , Λ or cascade configurations [32], the equivalence does not hold. However, one could fit the multilevel models using, for example, experimental data by leaving out non-essential transitions [10]. Introduction There have been many numerical methods that were developed for the complex-valued optical Bloch equations based on the density matrix, see the review paper [33] for example, among which the finite difference methods have been prevailing in the time-domain multiphysics techniques. In the FDTD regime, Yee's scheme [34] was widely used. For instance, in [35], a weakly decoupled and Strang splitting time discretizations of Maxwell-Bloch system that preserves the carrier populations was discussed, with a feature of using different time marching for diagonal and off-diagonal entries of the density matrix. Yee's scheme was extended to the light-matter interactions with ultrashort pulse in anisotropic media for the unidimensional case in [36], and bidimensional case in [37], where a pesudo-spectral time-domain method was also discussed, along with similar splitting schemes for Bloch equations. In [38], a Maxwell-Bloch solver for two-level atomic systems was developed. A scrutiny of FDTD numerical methods based on Yee's scheme for nonlinear active materials revealed that they have limitations and restrictions to low-order accuracy, low dimensions, or only two-level atomic systems. Nor are they capable of handling geometry with complex shaped boundaries and interfaces. Introduction The rest of the paper is outlined as follows. In Section 2, we present the mathematical models of nonlinear dispersive materials that use multi-level rate equations, employing the ADE technique. Here, we prescribe the initial/boundary conditions, and interface jump conditions for the secondorder Maxwell's equations. In Section 3, the second-order finite difference time-stepping schemes for nonlinear models in homogeneous materials are discussed first, whereas the fourth-order schemes that employ the second-order results and the modified equation approach are presented in sequel. The second-and fourth-order numerical interface treatments are discussed in Section 3.3. Lastly, several numerical examples in both 2D and 3D are given in Section 4 and concluding remarks are given in Section 5. Governing equations We consider the solution to the initial-boundary-value (IBVP) problem for Maxwell's equations in a domain Ω ⊂ R n d in n d space dimensions. The domain consists of N k different material regions Ω k with Ω = ∪ N k k=1 Ω k . Let Γ k,k denote the interface between material k and k . A given region Ω k may be governed by the isotropic Maxwell equations, the linear dispersive Maxwell's equations as discussed in [4] or the following nonlinear equations, Governing equations Equations (2.1), called the Maxwell-MLA system, define Maxwell's equations in second-order form for the electric field coupled to a multi-level carrier kinetic model. The kinetic model consists of N n atomic levels for population densities N and N p polarization vectors P m . The parameter c = 1/ √ 0 µ 0 is the speed of light in a vacuum, with 0 and µ 0 the vacuum permittivity and permeability, respectively. The parameters b 1,m , b 0,m , a m, , α ,k , and β ,m are all real and chosen to model the transitions in a particular active material, either based on theory or experimental data. In a typical case the sum of the population densities N will be constant, often normalized to be one. Note that in subsequent discussions the bounds on the sums in equations in (2.1) will often be suppressed for notational brevity. Also note that, following our previous work [3,4,39], we solve for E using Maxwell's equations in second-order form. The advantages of using the second-order form Maxwell's equations are described, for example, in [39]. The kinetic model in (2.1c) is quite general and can represent transitions in a variety of multilevel atomic systems. Consider, for example, the four-level system depicted in Figure 3. This system consists of four energy levels with population densities N , = 0, 1, 2, 3. Here we change notation slightly to be consistent with the literature. This is a model for lasing in a gain medium. Energy is pumped into the ground level, where the electrons are excited to the highest energy level 3, then relaxed to lower energy levels. With proper constraints on the relaxation time τ 's, a population inversion (more populations at a higher energy level) between levels 1 and 2 will take place, which leads to lasing. The corresponding rate equations for the population densities N are given by Governing equations where is the reduced Planck constant, ω 21 , ω 30 are the transition frequencies between the paired levels, and τ 10 , τ 30 , τ 21 , τ 32 are the relaxation times from the higher energy level to corresponding low level respectively. The associated polarizations can be expressed as Governing equations and thus the tensor a with entries a m,n in the polarization equation (2.1b) is given by Governing equations while P 1 = P 30 , and P 2 = P 21 . Governing equations To define a well-posed IBVP, the Maxwell-MLA equations (2.1) are augmented with appropriate initial conditions, boundary conditions and interface conditions. Initial conditions are required for E, ∂ t E, P m , ∂ t P m and N . For the purposes of this article, the nonlinear materials will be bounded by linear materials and thus will not require boundary conditions. Boundary conditions at physical or far-field boundaries for linear materials will be specified in the usual way as discussed in [4]. Note that the second-order form of the equations for E uses the additional boundary condition ∇ · E = 0. At an interface Γ k,k between sub-domains Ω k and Ω k the following primary interface conditions hold Governing equations where n is defined to be the normal that points from domain Ω k into Ω k . The well-possedness of the IBVP for the Maxwell-MLA system (2.1) is discussed in Appendix B. The problem is well-posed and the solutions to these nonlinear equations will exist for at least short times. Long-time existence can be shown for a restricted class of commonly used systems, such as the four-level system described above. For such systems an L 2 -energy can be found that shows the solutions have at most bounded exponential growth in time. Numerical Scheme The basic approach to discretization of the MLA equations (2.1) uses finite-difference approximations and modified-equation time-stepping. This approach follows the path previously advocated for the nondispersive isotropic Maxwell's equations in [39], later extended to linear dispersive materials in [3], and subsequently to linear dispersive materials with interfaces in [4]. The primary developments described in the present article are the formulation and application of methods for the equations of nonlinear electromagnetics for active media, and a novel approach to the treatment of interfaces that eliminates the need for the solution of coupled nonlinear systems of equations along material interfaces. The treatment of complex geometry will again make use of overlapping grids, which is discussed briefly in Section 3.1. Second-order and fourth-order accurate discretizations are then discussed in Sections 3.2.1 and 3.2.2 respectively. The discretization of interface equations is then presented in Section 3.3. See Algorithm 1 for the overview of the developed algorithms and the arrangements of this section. Overlapping grids As indicated in the introduction, geometric complexities in the simulation domain will be addressed using overlapping (sometimes referred to as overset, or chimera) grids. An example is depicted in Figs. 1 and 2, where a light pulse is propagated through active material in the shape of the letters "R", "P", and "I". Each computational subdomain is discretized using a composite overlapping grid consisting of a set of thin boundary fitted grids overlaying a Cartesian background grid, see e.g. Fig. 1. The primary motivation for our use of composite overlapping grids is to enable the use of efficient finite difference schemes on structured grids, while simultaneously treating complex geometry with high-order accuracy up to and including boundaries and material interfaces. In the composite overlapping grid approach, the simulation domain Ω, is divided into its geometric components Ω k (e.g. the "R" domain in Fig. 1). Each sub-domain Ω k is then covered by a composite grid G k , consisting of a set of component grids G k,g , g = 1, . . . , N k . A simple example composite grid in two space dimensions is illustrated in Fig. 4 is a logically rectangular, curvilinear grid defined by a smooth mapping from a reference domain r ∈ [0, 1] n d (i.e. the unit square in 2D or unit cube in 3D) to physical space x, Overlapping grids Grid points are classified as discretization points (where the PDE or boundary/interface conditions are applied), interpolation points (where solutions are interpolated from other component grids) or unused points. Throughout the present work, ghost points are use to implement boundary and interface conditions. The overlapping grid generator Ogen [40] from the Overture framework is used to construct the overlapping grids. Overlapping grid interpolation is performed using a tensor-product Lagrange basis with quadratic polynomials for the second-order accurate scheme, and quartic polynomials fourth-order scheme, as required to maintain accuracy [41]. Discretizations for Nonlinear and Active Media Discretization of the governing PDE system (2.1), on each component grid G k,g , is performed in the reference coordinate system r. The overall approach taken here follows the general principles described in [3,39], and uses a single-step modified equation (ME) scheme (sometimes referred to as a space-time or Lax-Wendroff time stepper). To describe the schemes, denote x j ∈ R n d as a point on a component grid, where j = (j 1 , . . . , j d ) ∈ Z n d is a multi-index. Generically, ME time stepping schemes are based on a Taylor expansion of discrete approximations to temporal derivatives. For example, discretization of the leading second derivative terms in (2.1a) and (2.1b) can be based on the usual 3-level approximation of the second time derivative along with appropriate correction terms to obtain the required accuracy. Specifically, for schemes of order p = 2q Discretizations for Nonlinear and Active Media where ∆t is a time step size, and W j (t) indicates a generic grid function and could be any of E j (t), P m,j (t), N ,j (t). On the other hand, (2.1c) is a first-order ODE and so the schemes are based on the forward difference approximation to the first derivative Discretizations for Nonlinear and Active Media Repeated time differentiation of the PDE system (2.1) is then used to define the various terms on the right-hand-side of (3.2) and (3.3). To obtain a fully discrete scheme, spatial derivative operators are then replaced with difference approximations 2 . See [3,39] for additional details of this derivation for the non-dispersive and linearly dispersive Maxwell's equations respectively. While the ME prescription above is correct and effective, straightforward implementation for the nonlinear dispersive equations (2.1) will necessitate the need to solve a globally coupled system of nonlinear equations at each time level. A similar effect was observed for linear dispersive materials in [3], which led to the development of a redesigned ME scheme using a predictor-corrector methodology using a mixture (a hierarchy) of second-and fourth-order approximations. This methodology, subsequently referred to as a hierarchical modified equation (HIME) scheme, is adapted here for the nonlinear equations, and schemes of order 2 and 4 are described in Sections 3.2.1 and 3.2.2 respectively. Second-order accurate scheme In this section we outline the second-order accurate Maxwell-MLA scheme. A pseudo-code version of this algorithm is given in Appendix A.1. In describing the discretization of (2.1), let E n j , P n m,j , N n ,j be approximations of E(x j , t n ), P m (x j , t n ), and N (x j , t n ), respectively, at time t n = n∆t. Further, let ∆ ph denote a pth-order accurate approximation to the Laplace operator ∆, and D +t , D −t , and D 0t denote the usual forward, backward, and central divided difference approximations to the time derivative, as given by Second-order accurate scheme for a generic grid function W n j ≈ W(x j , t n ). Using this notation, and the expansions (3.2) and (3.3), second-order accurate approximations to (2.1a)-(2.1c) are straight forward, with perhaps the simplest 3 being given by Second-order accurate scheme for m = 1, . . . , N p and = 0, . . . , N n − 1, with P n j def = m P n m,j . The notation D 2t N | n j and D 2tt N | n j , used in (3.5c), is meant to indicate 2nd-order accurate approximation to the continuous time derivatives ∂ t N | n j and ∂ 2 t N n j respectively. In principle there are a number of choices for these approximations, e.g. backward differencing or implicit temporal averaging. However, in this work we use the Taylor series approach with Second-order accurate scheme since it avoids the need for additional storage (as in backward differencing), or the solution to a nonlinear system (as in temporal averaging). The fully discrete system (3.5) is a complete set of nonlinear equations defining the solution state at the new time, t n+1 . However, from the perspective of implementation, there is significant benefit in realizing that P n+1 m,j are decoupled from other quantities at the next time level, i.e. E n+1 j and N n+1 ,j . As a result, they can be updated independently using (3.5b) as Subsequently, E n+1 j can be trivially determined from (3.5a). Finally, N n+1 ,j can be obtained using (3.5c), (3.6a) and (3.6b), where all terms on the right-hand-side of (3.5c) are known because P n+1 m,j and E n+1 j have been previously computed. This decoupling is a major difference from the schemes developed in [3,4], where the solution update required the solution of a coupled system of linear equations locally at each grid cell x j . In the present work this would translate to a nonlinear system, which may introduce numerical subtleties such as solver tolerances, choice of nonlinear root, etc. Fourth-order accurate scheme Following the ME approach, higher-order accurate approximations to (2.1a)-(2.1c) can be obtained by retaining additional correction terms in the Taylor expansions of the discrete temporal operators, e.g. (3.2) and (3.3). Typically, the governing equations would be used to exchange temporal for spatial derivatives, or in the case of ODEs to successively reduce the order of temporal derivation. However as previously mentioned, this would lead to a globally coupled nonlinear system that would need to be solved at each time step. An alternative, first discussed in [3] for linear 3 Other discretizations involving alternate temporal weighting, e.g. b0,m 1 4 P n+1 m,j + 1 2 P n m,j + 1 4 P n−1 m,j in place of b0,mP n m,j , are also possible and could serve as the basis for higher-order schemes, but these are not pursued here. Fourth-order accurate scheme dispersive materials, uses predictions from lower-order schemes, e.g. (3.5), to approximate the correction terms to the requisite accuracy, and thereby enable a local explicit solution update at each grid point. This approach is dubbed HIME, for Hierarchical Modified Equation. Fourth-order accurate scheme A pseudo-code algorithm for the fourth-order accurate Maxwell-MLA scheme is given in Appendix A.2. Fourth-order accurate scheme To describe the fourth-order accurate HIME scheme, we first make some convenient notational definitions. Let the predicted approximation to the fields, polarization vectors, and carrier population densities at the new time t n+1 , as defined by the second-order accurate scheme (3.5), be denoted E n+1, * j , P n+1, * m,j , and N n+1, * ,j respectively. Difference approximations based on these predictions will be colorized blue for clarity, and the difference operators will be applied to predicted "star" quantities, e.g. Fourth-order accurate scheme With this notation, the fourth-order accurate HIME scheme, with any terms involving predicted values highlighted in blue for clarity, is Fourth-order accurate scheme for m = 1, . . . , N p and = 0, 1, . . . , N n − 1. Here the two red terms are included in (3.9a) because they naturally occur in the ME formulation, although they cancel and therefore need not appear in the final discretization. Further, ∆ 4h denotes the fourth-order accurate discrete laplacian, D 4t and D 4tt indicate 4th-order accurate approximation to the continuous time derivatives ∂ t and ∂ 2 t respectively, and D 2ttt and D 2tttt indicate 2nd-order accurate approximation to the continuous time derivatives ∂ 3 t and ∂ 4 t respectively (definitions of these terms are presented below). The various orders of accuracy for each term are consistent with the requirements for overall 4th-order accuracy of the scheme, as discussed for example in [3,4,39], and ultimately yield a fully 4th-order scheme in a compact spatial stencil using only three time levels. Definitions of approximations to the terms Fourth-order accurate scheme j , as needed in (3.9) appear in Appendix C. As in the case of the second-order discretization, the fourth-order HIME scheme permits a decoupled update of all quantities at the new time. The procedure is similar to second-order where first the polarization vectors are updated, then the fields, and finally the carrier population densities. Because this represents a significant advantage of the HIME versus traditional ME schemes for multilevel nonlinear electromagnetics, it is useful to describe this update in detail. After performing the predicted second-order update in a local stencil, the polarization vectors are updated as Fourth-order accurate scheme Subsequently the electric fields can be updated as Fourth-order accurate scheme Finally the carrier populations are updated as Numerical interface approximations We now proceed to a description of the numerical treatment of interface conditions (2.4) in the framework of HIME time-stepping. Throughout this section, we assume that 2nd-or 4thorder solution approximations have been time advanced to time level t n for all grid points on the domain interiors and along material interfaces. Furthermore, it is assumed that the grids across the interface are matched at point j in the tangential direction, see Figure 5 and Figure 6. The discrete interface conditions are then enforced using ghost cells, and the primary purpose of the present section is to describe how these ghost cells are determined at t n . Once solution approximations in the ghost cells have been determined, subsequent time stepping using (3.5) or (3.9) will yield fully 2nd-or 4th-order accurate approximations. Note that to simplify presentation, the following discussion will be restricted to the case of Cartesian grids. The algorithms for the curvilinear case are very similiar and are presented in Appendix E and Appendix F. Numerical interface approximations Determination of solution approximations in ghost cells naturally relies on interface conditions containing spatial derivatives, since undifferentiated terms constrain the solution directly on the interface. Primary interface conditions (2.4c) and (2.4d) already involve the requisite derivative operators, but (2.4a) and (2.4b) do not. Following the approach described in [4,39], the primary interface conditions (2.4a) and (2.4b) are therefore time differentiated, and the governing PDEs used to yield Numerical interface approximations which are used in place of (2.4a) and (2.4b). The full set of primary interface conditions that are used to determine solution approximations in ghost cells are therefore Discretization of the primary interface conditions (3.14) to second-order accuracy is straightforward, and yields Second-order accurate interface approximation where Γ h indicate the set of indices along the material interface, and ∆ 2h and ∇ 2h denote secondorder accurate finite differences. Note that the term D +t D −t P| n j involves P n+1 j , i.e. P at a future time, which is not known. However, (3.7) can be used to determine P n+1 j based on known information at t n . Equivalently, the definition of P n+1 j from (3.7) can be inserted directly in Second-order accurate interface approximation Clearly, the definition of D +t D −t P| n j in (3.16) is not coupled with any unknown ghost values at time level t n , and so the interface condition (3.15a) can be expressed Second-order accurate interface approximation where the right-hand side is considered to be known data via (3.16). The system of equations (3.15a*) along with (3.15b) -(3.15d) therefore defines values of E in the ghost cells (see Figure 5). An additional advantageous property of this approach is that ghost values for E n are decoupled from the ghost values for P n , a property that will be referred to as EP-decoupling. In fact no ghost values for P n are needed in the actual update for this second-order scheme (3.5), although in practice extrapolation is used to define values in the ghost so that the entire grid function is defined. As we employ fourth-order accurate central finite difference scheme, we have two ghost lines at both sides of the interface, which requires additional four jump conditions obtained by differentiating the four primary interface conditions (2.4) in time: Fourth-order accurate interface approximation then we use the compatibility condition again and obtain the following additional four interface conditions Fourth-order accurate interface approximation Fourth-order accurate approximation of the primary interface conditions (2.4) and the additional four jump conditions (3.18) are given by Fourth-order accurate interface approximation where the subscript 2h and 4h denote the second-order and fourth-order accurate discretizations respectively. The magenta term D 4tt P| n j requires fourth-order accurate approximation, while the blue terms need only second-order accurate approximations. Fourth-order accurate interface approximation Remark 3.1. In 3D, the interface conditions (3.19) at point j can be rewritten into the vector form: Fourth-order accurate interface approximation by combining the tangential and normal components, which allows convenient implementation of the jump conditions. Here n is the unit normal vector at point j, and I is an identity matrix. Fourth-order accurate interface approximation Note that, as written, the numerical interface conditions (3.19) have some un-desirable characteristics. Firstly, due to cross-derivative terms such as ∂ x ∂ y u in ∆ 2 u, the discrete interface conditions couple ghost points in the tangential directions; this would require solution of a system of equations along the entire interface. Secondly, there is no EP-decoupling. To see this, we take the example of the blue term D +t D −t ∆ 2h P| n j and note that: Fourth-order accurate interface approximation The red term ∆ 2h (N n ,j E n j ) obviously has time-dependent variable coefficients for the unknown first ghost point lines (ghost points that are one grid away from the interface), which implies that we need to formulate jump conditions (3.19e) and (3.19f) at each time step. Similarly, for terms Fourth-order accurate interface approximation persists respectively, thus (3.19g) and (3.19h) need to be reformulated at each time step accordingly as well. Moreover, the magenta term D 4tt P| n j needs to be fourth-order accurate: Fourth-order accurate interface approximation where the second-order accurate terms D 2ttt P m | n j and D 2tttt P m | n j are approximated by: Fourth-order accurate interface approximation and Fourth-order accurate interface approximation Again, we see that D 2ttt P m | n j and D 2tttt P m | n j have time dependent coefficients for E n on the first ghost lines, which implies that the interface condition (3.19a) needs to be reformulated at each time step. Fourth-order accurate interface approximation Fortunately, the colored terms D +t Fourth-order accurate interface approximation and D 4tt P| n j only nonlinearly depend on E n on the first ghost lines. To this end, we approximate the red terms using second-order accurate predicted values on the first ghost lines that are obtained using the second-order numerical interface conditions (3.15), which leads to the linear system: Fourth-order accurate interface approximation Thus, we obtain the EP-decoupling for the fourth-order accurate approximations of the interface conditions similarly as the second-order case. Moreover, as discussed in the previous work [4], cross terms in ∆ 2 2h E n j , ∇ 2h ×∆ 2h E n j , ∇ 2h ×∆ 2h E n j will invoke instability if the grid size in the tangential direction is smaller than the grid size in the normal direction (the instability will be investigated and dedicated to a separate paper). To avoid such instability, we follow [4] and approximate the cross terms by decoupling E n in the tangential direction, i.e., the second-order accurate predicted values on the first ghost lines are also employed here to approximate the cross terms. As a result of tangential decoupling that leads the stencil localization, the interface conditions (3.19) can be formulated into an identical time-independent local small linear system at each point j independently rather than a large global system. To summarize, for the fourth-order accurate interface conditions (3.19), we linearize the jump conditions via EP-decoupling and localize the stencils using tangential decoupling by employing second-order accurate predicted values of E n on the first ghost lines, obtained using the second-order approximations of interface conditions (3.15). Numerical results This section presents results to verify the accuracy and stability of the new Maxwell-MLA schemes and interface approximations. Section 4.1 studies the accuracy for manufactured solutions for a two-domain problem with a planar interface between two nonlinear materials. Section 4.2 then studies the accuracy for manufactured solutions on a problem with a curved interface and overset grids. Section 4.3 considers the propagation of a soliton for which there is an approximate asymptotic solution. A grid self-convergence study is used to evaluate the convergence rate of the computed soliton. A problem with multiple interfaces is studied in Section 4.4 and shows results for an interface between a nonlinear medium and a linear dispersive medium. Finally in Section 4.5, results are shown from the scattering of a Gaussian plane wave from an array of ellipsoids composed from active materials. Planar interface results To verify the accuracy of the interface implementations we perform a grid-refinement convergence study for problems with a planar interface. The domain for the interface problem in d-dimensions consists of two squares (cubes), Figure 7 gives an example of the Cartesian meshes for 2D interface (left), approximated solution E y (middle) and the errors against the exact solution for E y component (right) at t = 1 on meshes with grid spacing h = 1/160. Figure 8 shows the convergence results with manufactured solutions (4.2) for 2D (left) and 3D (right), with errors measured as the maximum norm in space. The max-norm of a vector quantity is the maximum over all grid points of the maximum absolute value of all components of the vector. Curved interface results In this section we verify the accuracy of the second-order and fourth-order accurate schemes for curved interfaces. The computational domain [−1, 1] × [−1, 1], the circular interface of radius r d = 0.5 and the overset grids are as shown in the left of Figure 9. We should note that the matched grids are used across the circular interfaces as is the square/cube case in Section 4.1. For the numerical results, manufactured solutions in the form of (4.2) are also employed, and their approximations and errors are shown in the middle and right of Figure 9. Grid refinement study is also performed in Figure 10. The MLA materials in the outer and inner domains are chosen to be mlaMat2 and mlaMat3 as defined in Appendix D. Soliton In this section, we present a soliton-like solution for the nonlinear system (2.1a)-(2.1c) in the following form: In the left figure of Figure 11, extracted line plots of the approximated soliton solutions at t = 100 along y = 0 are presented, while the right figure illustrates the accuracy between secondorder accurate (O2) simulations with fourth-order accurate (O4) simulations (both on coarse meshes with h = 1/4) by comparing their differences with O4 simulations on a finer mesh with grid spacing h = 1/16, which is denoted as E y,ref in the legend. Figure 10 (right) compares the self-convergence study for the second-and fourth-order accurate simulations. Scattering from a layered disk In this section, we provide an example of multiple types of material interfaces, i.e., interfaces between both linear/nonlinear and linear/linear materials. The computational domain is [−1.75, 1.75] × [−1.5, 1.5] with a disk of radius r = 0.4 centered at origin and two layers of width 0.1 outside the disk. The background rectangle is assumed to be vacuum with normalized permittivity = 1, while the center disk is made of nonlinear 4-level active material with 2 polarization vectors with = 2 as depicted in Fig 3 (see Appendix D.3 for the material parameters). The first layer is of linear material modeled by generalized dispersive model (GDM) with 1 polarization vector and = 4 as in [3,4] and interface treatments of GDM materials can be found therein. The second layer is assumed to be a linear isotropic material with = 3. The permeability in all materials are set to µ = 1. For the numerical simulations below, the initial conditions are from a modulated Gaussian plane wave with nonzero E y component, i.e., In Figure 13, we show three snapshots of the norm of the electric fields as a result of interacting with the nonlinear 4 level active material, which also demonstrates a focusing effect from the circular geometry. Figure 14 (left) gives the results of self-convergence study from both the secondorder and fourth-order accurate simulations at t = 3.8. Furthermore, a comparison of runtime between order 2 (O2) and order 4 (O4) simulations with the same accuracy till final time t = 5 are performed using the serial codes are shown in Figure 14 (right), where the purple digits indicate the approximate wall-clock runtime speedup between O2 and O4. The projected O2 runtimes are predicted using the fact that the computational cost on a 2×-refined mesh is 8× slower. An array of active material ellipsoids As a final example we consider the scattering of a Gaussian plane wave from a collection of 36 solid ellipsoid meta-atoms, each containing an active material. The overset grid for the geometry in shown in Figure 15 Figure 15 shows the contours of the computed solution on selected contour cutting planes. The magnitude of the electric field E is shown along with the P y component of total polarization and the population density N 3 . The incident wave is seen to excite the meta-atoms as it passes through. with a fairly general class of multi-level atomic models involving ODEs for any number of polarization vectors and population densities. Complex geometries with curved boundary and interfaces are accurately treated using conforming and overset grids. One key property of the scheme is that through a hierarchical modified equation (HIME) approach no nonlinear solves are required to time-step the equations at high-order accuracy. Another key property is that through the use of a hierarchical approach that couples low-order accurate and high-order accurate approximations, the update of the ghost values at the interface are local with no nonlinear solves and no coupling with adjacent ghost values. Stability on overset grids was maintained using a novel high-order upwind scheme that applies to wave equations in second-order form. The initial-boundary value problem for the Maxwell-MLA equations was shown to be well posed. An L 2 -energy estimate was derived for a restricted class of commonly used MLA models which showed long-time existence. Numerical results in two and three dimensions were presented that verified the accuracy and stability of the new Maxwell-MLA schemes. Results were shown for problems with interfaces between two active materials and also for active materials adjacent to linear dispersive materials. Verification was performed using manufactured solutions and an asymptotic soliton solution. For problems without exact solutions, a self-convergence grid refinement procedure was used to estimate the errors and convergence rates. Some possible future steps include extending the current numerical schemes to handle junctions of three or materials, adding support for adaptive mesh refinement, and adding support for a changing time-step. Appendix A. Maxwell-MLA algorithms Pseudo-code algorithms for the second-order accurate and fourth-order accurate Maxwell-MLA time-stepping schemes are given in this section. Appendix A. Maxwell-MLA algorithms - Appendix A. Maxwell-MLA algorithms 10: Evaluate dispersive forcing functions, i.e., D + D − P| n j by taking a fictitious forward step; 5: Evaluate derivatives on the left hand side of (3.15a*),(3.15b),(3.15c) and (3.15d) using second-order accurate schemes with "wrong" values in the ghost points; 6: Evaluate the second-order accurate residual of the jump conditions; 7: Adjust right hand sides of interface conditions by subtracting off the "wrong" ghost values; D 2t N * | n j = α ,k N n k,j + β ,m E n j · D 0t P n, * m,j ; 10: Evaluate dispersive forcing functions, i.e., D + D − P| n j , etc. to their respective accuracy as in the discretized jump conditions by taking a fictitious forward step; 6: Evaluate derivatives on the left hand side of (3.19a*),(3.19b)-(3.19e),(3.19f*)-(3.19h*) using fourthorder accurate schemes with "wrong" values in the ghost points; 7: Evaluate the fourth-order accurate residuals of the jump conditions; 8: Adjust right hand sides of interface conditions by subtracting off the "wrong" ghost values; In this section we consider the well-posedness and long-time stability of the Maxwell-MLA equations (2.1). If lower-order terms are dropped from the equations (2.1), Maxwell's equations for E decouples from the polarization equations (2.1b) and rate equations (2.1c). These equations are thus well posed with the appropriate initial conditions and boundary conditions. The solution to the IBVP will exist for at least short times. To study the long-time existence of the nonlinear equations we restrict ourselves to a class of Maxwell-MLA equations that are of common interest, see Figure B.16. To simplify the discussion we consider the equations written using the first-order form for E and H 8: with an MLA system of N n energy levels, each with population density N , = 0, 1, . . . , N n − 1 (see Figure 3 for an example of a 4-level system). Polarization states P ji , with i and j integers in the range 0 and N n − 1 and i < j, may exist between any two levels with governing equation given by 8: where ji belongs to the set of active transitions pairs, T . For example, in the four-level system in Figure 3, T = {30, 21}. The parameters in (B.2) are assumed to satisfy γ ji ≥ 0, ω ji > 0 and κ ji > 0. The population density N satisfies 8: Our goal is to derive an L 2 -energy estimate to show that the solution remains bounded in time. Let (f, g) denote the L 2 -inner product over Ω, 8: for scalar functions f and g (all functions are assume to be real valued). Let · denote the corresponding norm. For vector functions we use 8: In the usual way we take inner products of the various equations with the corresponding variable or its time-derivative, 8: Integrating by parts the right hand sides of (B.7) and (B.8) and then adding these equations gives an equation for the time-derivative of isotropic energy E 0 8: where BT.s denotes the usual boundary terms for isotropic Maxwell's equations. We assume the boundary conditions are chosen to make the boundary terms to vanish or be negative. Let us now focus on equations (B.9) and (B.10) which can be written as 8: Define the quantities K and δ ji by 8: Scaling equation (B.12) by δ ji and equation (B.13) by K leads to 8: Adding (B.17) to the sum over ji ∈ T of (B.16) eliminates the inner products containing the nonlinear terms E · ∂ t P ji to give 8: Let E P N be defined from the terms on the left of (B.18) 8: where 8: Note that 8: for some constant C α which depends on α max = max ji |α ji |, N n and N p . Using (B.24) in (B.23) implies 8: Integrating this last expression in time implies E P N is bounded in time, (B.26) which also, from the definition (B.19) for E P N and (B.21) implies a bound on ∂ t P 2 and N 2 8: We are now prepared to form the final energy estimate. Adding equations (B.11) and (B.23) 8: gives an equation for the total energy E 8: for some constant C 2 , where we have assumed the boundary terms are non-positive. To get a bound for E we integrate the inequality (B.32) to give 8: where the case C α = 1 can be found with the appropriate limit. 8: We have therefore proved the following theorem. 8: has bounded exponential growth in time, 8: for some constants K 1 and K 2 . Appendix C. Supplemental Equations for Fourth-Order The following expressions are used in Section 3.2.2 in the description of the fourth-order accurate scheme. Appendix D. Material definitions Here are the definitions of the MLA materials used in this article. Appendix D. Material definitions Appendix D.1. Active material mlaMat2 Appendix D. Material definitions Active material mlaMat2 has two polarization vectors and four atomic levels with MLA material parameters given by These parameters are adapted from [43] for tests with manufactured solutions. Appendix D.2. Active material mlaMat3 Active material mlaMat3 has one polarization vector and one atomic level with MLA material parameters given by Active material mlaMat4levels Active material mlaMat4levels has two polarization vectors and four atomic levels with MLA material parameters given by These parameters are adapted from [43] with proper undimensionalization to match the form of (2.1). Appendix E. Maxwell-MLA interface algorithm, second-order accuracy Guide to some variables: ∂r m ∂x n for a point j = (j 1 , j 2 , j 3 ) on side 2, axis1=0,1,2,3 : interface side 1 is located on r axis1 = side1 constant, side1=0,1 axis2=0,1,2,3 : interface side 2 is located on r axis2 = side2 constant, side2=0,1 is1 = 1 -2*side1 : index shift vector on side1=0 (left) or side1=1 (right), is2 = 1 -2*side2 : index shift vector on side1=0 (left) or side1=1 (right), dx1(0:2), dx2(0:2) : grid spacing for rectangular (Cartesian) grids on side 1 and side 2, dr1(0:2), dr2(0:2) : unit-square grid spacing for curvilinear grids on side 1 and side 2, Appendix E.1. Second-order accurate interfaces, Cartesian grids Appendix E. Maxwell-MLA interface algorithm, second-order accuracy Here is a listing of the fortran code that defines the Maxwell-MLA interface algorithm for second-order accuracy on Cartesian grids. The code is written with the bpp macro preprocessor from Overture. ! **************************************************** 14 ! *********** 2D, ORDER=2, RECTANGULAR ************** 15 ! **************************************************** Here is a listing of the fortran code that defines the Maxwell-MLA interface algorithm for second-order accuracy on curvilinear grids. The code is written with the bpp macro preprocessor from Overture. The stencil for the code appears in Figure E ! **************************************************** 14 ! *********** 2D, ORDER=2, CURVILINEAR ************** 15 ! **************************************************** 16 17 INFO("22curvilinear-nonlinear-MLA") 18 19 ! ---initialize some forcing functions ---20 do n=0,nd-1 21 ! here is the normal (assumed to be the same on both sides) 52 an1=rsxy1(i1,i2,i3,axis1,0) ! normal (an1,an2) 53 an2=rsxy1(i1,i2,i3,axis1,1) 54 aNorm=max(epsx,sqrt(an1**2+an2**2)) 55 Appendix E. Maxwell-MLA interface algorithm, second-order accuracy an1=an1 ! here is the matrix of coefficients for the unknowns u1(-1),v1(-1),u2(-1),v2(-1) 76 ! Solve: axis1=0,1,2,3 : interface side 1 is located on r axis1 = side1 constant, side1=0,1 axis2=0,1,2,3 : interface side 2 is located on r axis2 = side2 constant, side2=0,1 is1 = 1 -2*side1 : index shift vector on side1=0 (left) or side1=1 (right), is2 = 1 -2*side2 : index shift vector on side1=0 (left) or side1=1 (right), dx1(0:2), dx2(0:2) : grid spacing for rectangular (Cartesian) grids on side 1 and side 2, dr1(0:2), dr2(0:2) : unit-square grid spacing for curvilinear grids on side 1 and side 2, Appendix F.1. Fourth-order accurate hierachical scheme, curvilinear grids Appendix E. Maxwell-MLA interface algorithm, second-order accuracy Here is a listing of the fortran code that defines the Maxwell-MLA interface algorithm for fourth-order accuracy on curvilinear grids. The code is written with the bpp macro preprocessor from Overture. The following code implements the hierarchical interface approach by first using the second-order accurate algorithm Appendix E.2 to fill in the first line of ghost points before using the fourth-order accurate algorithm given in Appendix F.2. Note that the residuals in the second-order accurate algorithm are being computed with the fourth-order accurate approximations to the derivatives. The stencil for the code is given in Figure F.18 1 else if( nd.eq.2 .and. orderOfAccuracy.eq.4 .and. gridType.eq.curvilinear )then 2 #perl $DIM=2; $GRIDTYPE="curvilinear"; $ORDER=4; if( assignInterfaceValues.eq.1 )then 9 Appendix E. Maxwell-MLA interface algorithm, second-order accuracy boundaryJumpConditions(2,curvilinear) 10 end if 11 12 Appendix E. Maxwell-MLA interface algorithm, second-order accuracy ! -----assign ghost using jump conditions -----13 Appendix E. Maxwell-MLA interface algorithm, second-order accuracy if ( Here is a listing of the fortran code that defines the Maxwell-MLA interface algorithm for fourth-order accuracy on curvlinear grids. The code is written with the bpp macro preprocessor from Overture. ! **************************************************************** 8 ! *********** DISPERSIVE, 2D, ORDER=4, CURVILINEAR ************** 9 ! **************************************************************** 10 11 12 ! ---initialize some forcing functions ---13 do n=0,nd-1 14 ! a8(2,7) = -js* rx2*dx214(axis2) 159 160 curl1um1 = is*8.*rsxy1(i1,i2,i3,axis1,1)*dr114(axis1) ! coeff of u(-1) from v.x -u.y 161 curl1vm1 = -is*8.*rsxy1(i1,i2,i3,axis1,0)*dr114(axis1) ! coeff of v(-1) from v.x -u.y 162 curl1um2 = -is* rsxy1(i1,i2,i3,axis1,1)*dr114(axis1) ! coeff of u(-2) from v.x -u.y 163 curl1vm2 = is* rsxy1(i1,i2,i3,axis1,0)*dr114(axis1) ! coeff of v(-2) from v.x -u.y 164 165 curl2um1 = js*8.*rsxy2(j1,j2,j3,axis2,1)*dr214(axis2) ! coeff of u(-1) from v.x -u.y 166 curl2vm1 = -js*8.*rsxy2(j1,j2,j3,axis2,0)*dr214(axis2) ! coeff of v(-1) from v.x -u.y 167 curl2um2 = -js* rsxy2(j1,j2,j3,axis2,1)*dr214(axis2) ! coeff of u(-2) from v.x -u.y 168 curl2vm2 = js* rsxy2(j1,j2,j3,axis2,0)*dr214(axis2) ! coeff of v(-2) from v.x -u.y 169 170 Appendix E. Maxwell-MLA interface algorithm, second-order accuracy aa8(2,0,0,nn) = curl1um1/mu1 171 aa8(2,1,0,nn) = curl1vm1/mu1 172 aa8(2,4,0,nn) = curl1um2/mu1 173 aa8(2,5,0,nn) = curl1vm2/mu1 174 175 aa8(2,2,0,nn) = -curl2um1/mu2 aa8(3,0,0,nn) = tau1*( aLap0*( 1./epsmu1 -alphaP1*c4PttLEsum1/epsmu1 ) -aLapSq0*alphaP1* c4PttLLEsum1/epsmu1**2 ) 190 aa8(3,1,0,nn) = tau2*( aLap0*( 1./epsmu1 -alphaP1*c4PttLEsum1/epsmu1 ) -aLapSq0*alphaP1* c4PttLLEsum1/epsmu1**2 ) 191 aa8(3,4,0,nn) = tau1*( aLap1*( 1./epsmu1 -alphaP1*c4PttLEsum1/epsmu1 ) -aLapSq1*alphaP1* c4PttLLEsum1/epsmu1**2 ) 192 aa8(3,5,0,nn) = tau2*( aLap1*( 1./epsmu1 -alphaP1*c4PttLEsum1/epsmu1 ) -aLapSq1*alphaP1* c4PttLLEsum1/epsmu1**2 ) 193 194 Appendix E. Maxwell-MLA interface algorithm, second-order accuracy aa8(3,2,0,nn) =-tau1*( bLap0*( 1./epsmu2 -alphaP2*c4PttLEsum2/epsmu2 ) -bLapSq0*alphaP2* c4PttLLEsum2/epsmu2**2 ) 195 aa8(3,3,0,nn) =-tau2*( bLap0*( 1./epsmu2 -alphaP2*c4PttLEsum2/epsmu2 ) -bLapSq0*alphaP2* c4PttLLEsum2/epsmu2**2 ) 196 aa8(3,6,0,nn) =-tau1*( bLap1*( 1./epsmu2 -alphaP2*c4PttLEsum2/epsmu2 ) -bLapSq1*alphaP2* c4PttLLEsum2/epsmu2**2 ) 197 aa8(3,7,0,nn) =-tau2*( bLap1*( 1./epsmu2 -alphaP2*c4PttLEsum2/epsmu2 ) -bLapSq1*alphaP2* c4PttLLEsum2/epsmu2**2 ) aa8(4,0,0,nn)= aLapX0*c1**2 231 aa8(4,1,0,nn)= bLapY0*c1**2 232 aa8(4,4,0,nn)= aLapX1*c1**2 233 aa8(4,5,0,nn)= bLapY1*c1**2 234 235 aa8(4,2,0,nn)=-cLapX0*c2**2 236 aa8(4,3,0,nn)=-dLapY0*c2**2 237 aa8(4,6,0,nn)=-cLapX1*c2**2 238 Appendix E. Maxwell-MLA interface algorithm, second-order accuracy aa8 ( aa8(6,0,0,nn) = an1*( aLapSq0/epsmu1 -alphaP1*( c2PttEsum1*aLap0 + c2PttLEsum1*aLapSq0/ epsmu1 ) )/mu1 284 aa8(6,1,0,nn) = an2*( aLapSq0/epsmu1 -alphaP1*( c2PttEsum1*aLap0 + c2PttLEsum1*aLapSq0/ epsmu1 ) )/mu1 285 aa8(6,4,0,nn) = an1*( aLapSq1/epsmu1 -alphaP1*( c2PttEsum1*aLap1 + c2PttLEsum1*aLapSq1/ epsmu1 ) )/mu1 286 aa8(6,5,0,nn) = an2*( aLapSq1/epsmu1 -alphaP1*( c2PttEsum1*aLap1 + c2PttLEsum1*aLapSq1/ epsmu1 ) )/mu1 287 288 aa8(6,2,0,nn) =-an1*( bLapSq0/epsmu2 -alphaP2*( c2PttEsum2*bLap0 + c2PttLEsum2*bLapSq0/ epsmu2 ) )/mu2 289 aa8(6,3,0,nn) =-an2*( bLapSq0/epsmu2 -alphaP2*( c2PttEsum2*bLap0 + c2PttLEsum2*bLapSq0/ epsmu2 ) )/mu2 290 aa8(6,6,0,nn) =-an1*( bLapSq1/epsmu2 -alphaP2*( c2PttEsum2*bLap1 + c2PttLEsum2*bLapSq1/ epsmu2 ) )/mu2 291 aa8(6,7,0,nn) =-an2*( bLapSq1/epsmu2 -alphaP2*( c2PttEsum2*bLap1 + c2PttLEsum2*bLapSq1/ epsmu2 ) )/mu2 coeffLap2 = -alphaP2*( c2PttEsum2 + c2PttttLEsum2 )/epsmu2 314 coeffLapSq2 = 1./epsmu2**2 -alphaP2*( c2PttLEsum2 + c2PttttLLEsum2 )/epsmu2**2 315 316 aa8(7,0,0,nn) = tau1*( coeffLapSq1*aLapSq0 + coeffLap1*aLap0 ) 317 aa8(7,1,0,nn) = tau2*( coeffLapSq1*aLapSq0 + coeffLap1*aLap0 ) 318 aa8(7,4,0,nn) = tau1*( coeffLapSq1*aLapSq1 + coeffLap1*aLap1 ) 319 aa8(7,5,0,nn) = tau2*( coeffLapSq1*aLapSq1 + coeffLap1*aLap1 ) 320 321 aa8(7,2,0,nn) =-tau1*( coeffLapSq2*bLapSq0 + coeffLap2*bLap0 ) 322 aa8(7,3,0,nn) =-tau2*( coeffLapSq2*bLapSq0 + coeffLap2*bLap0 ) 323 aa8(7,6,0,nn) =-tau1*( coeffLapSq2*bLapSq1 + coeffLap2*bLap1 ) 324 aa8 (7,7, ! Save current solution to compare to new 346 q(0) = u1(i1-is1,i2-is2,i3,ex) 347 q(1) = u1(i1-is1,i2-is2,i3,ey) 348 q(2) = u2(j1-js1,j2-js2,j3,ex) 349 q(3) = u2(j1-js1,j2-js2,j3,ey) 350 351 q(4) = u1(i1-2*is1,i2-2*is2,i3,ex) 352 q(5) = u1(i1-2*is1,i2-2*is2,i3,ey) 353 q(6) = u2(j1-2*js1,j2-2*js2,j3,ex) 354 q(7) = u2(j1-2*js1,j2-2*js2,j3,ey) 355 356 Appendix E. Maxwell-MLA interface algorithm, second-order accuracy ! subtract off the contributions from the initial (wrong) values at the ghost points: 357 do n=0,7 358 f(n) = (aa8(n,0,1,nn)*q(0)+aa8(n,1,1,nn)*q(1)+aa8(n,2,1,nn)*q(2)+aa8(n,3,1,nn)*q(3)+\ 359 aa8(n,4,1,nn)*q(4)+aa8(n,5,1,nn)*q(5)+aa8(n,6,1,nn)*q(6)+aa8(n,7,1,nn)*q (7) if( useJacobiUpdate.eq.0 )then 369 u1(i1-is1,i2-is2,i3,ex)=(1.-omega)*u1(i1-is1,i2-is2,i3,ex) + omega*f(0) 370 u1(i1-is1,i2-is2,i3,ey)=(1.-omega)*u1(i1-is1,i2-is2,i3,ey) + omega*f(1) 371 u2(j1-js1,j2-js2,j3,ex)=(1.-omega)*u2(j1-js1,j2-js2,j3,ex) + omega*f(2) 372 u2(j1-js1,j2-js2,j3,ey)=(1.-omega)*u2(j1-js1,j2-js2,j3,ey) + omega*f(3) 373 374 u1(i1-2*is1,i2-2*is2,i3,ex)=(1.-omega)*u1(i1-2*is1,i2-2*is2,i3,ex) + omega*f(4) 375 u1(i1-2*is1,i2-2*is2,i3,ey)=(1.-omega)*u1(i1-2*is1,i2-2*is2,i3,ey) + omega*f(5) 376 u2(j1-2*js1,j2-2*js2,j3,ex)=(1.-omega)*u2(j1-2*js1,j2-2*js2,j3,ex) + omega*f(6) 377 u2(j1-2*js1,j2-2*js2,j3,ey)=(1.-omega)*u2(j1-2*js1,j2-2*js2,j3,ey) + omega*f(7) 378 else 379 ! Jacobi-update 380 wk1(i1-is1,i2-is2,i3,ex)=(1.-omega)*u1(i1-is1,i2-is2,i3,ex) + omega*f(0) 381 wk1(i1-is1,i2-is2,i3,ey)=(1.-omega)*u1(i1-is1,i2-is2,i3,ey) + omega*f(1) 382 wk2(j1-js1,j2-js2,j3,ex)=(1.-omega)*u2(j1-js1,j2-js2,j3,ex) + omega*f(2) 383 wk2(j1-js1,j2-js2,j3,ey)=(1.-omega)*u2(j1-js1,j2-js2,j3,ey) + omega*f(3) 384 385 wk1(i1-2*is1,i2-2*is2,i3,ex)=(1.-omega)*u1(i1-2*is1,i2-2*is2,i3,ex) + omega*f(4) 386 wk1(i1-2*is1,i2-2*is2,i3,ey)=(1.-omega)*u1(i1-2*is1,i2-2*is2,i3,ey) + omega*f(5) 387 Appendix E. Maxwell-MLA interface algorithm, second-order accuracy wk2(j1-2*js1,j2-2*js2,j3,ex)=(1.-omega)*u2(j1-2*js1,j2-2*js2,j3,ex) + omega*f(6) 388 Appendix E. Maxwell-MLA interface algorithm, second-order accuracy wk2(j1-2*js1,j2-2*js2,j3,ey)=(1.-omega)*u2(j1-2*js1,j2-2*js2,j3,ey) + omega*f(7) 389 end if 390 391 392 endLoopsMask2d() 393 ! =============== end loops ======================= 394

섹션 본문 109문단 · 53,676자

(제목 없음)

1We describe a fourth-order accurate finite-difference time-domain scheme for solving dispersive Maxwell's equations with nonlinear multi-level carrier kinetics models. The scheme is based on an efficient single-step three time-level modified equation approach for Maxwell's equations in secondorder form for the electric field coupled to ODEs for the polarization vectors and population densities of the atomic levels. The resulting scheme has a large CFL-one time-step. Curved interfaces between different materials are accurately treated with curvilinear grids and compatibility conditions. A novel hierarchical modified equation approach leads to an explicit scheme that does not require any nonlinear iterations. The hierarchical approach at interfaces leads to local updates at the interface with no coupling in the tangential directions. Complex geometry is treated with overset grids. Numerical stability is maintained using high-order upwind dissipation designed for Maxwell's equations in second-order form. The scheme is carefully verified for a number of two and three-dimensional problems. The resulting numerical model with generalized dispersion and arbitrary nonlinear multi-level system can be used for many plasmonic applications such as for ab initio time domain modeling of nonlinear engineered materials for nanolasing applications, where nano-patterned plasmonic dispersive arrays are used to enhance otherwise weak nonlinearity in the active media.

Introduction

2The overall objective of this work is the development of efficient and high-order accurate numerical schemes for modeling light-matter interaction with nonlinear materials. We develop novel high-order finite-difference-time-domain (FDTD) numerical schemes for nonlinear active materials with carrier kinetics modeled by real-valued rate equations and the auxiliary differential equation (ADE) approach. The target nonlinear multilevel dispersive models and the geometry under consideration are universal in the sense that the number of atomic levels and the number of transitions (polarization vectors) are arbitrary, and the geometry can be of complex shapes with material interfaces in 2D or 3D, which essentially overcome the limitations of existing methods for full wave simulations in nonlinear active materials in the literature. There are a number of novel and attractive features of our schemes. (1) Modified equation time-stepping leads to an extremely efficient three-level single-step scheme that is fourth-order accurate in space and time and has a large CFL-one time-step. (2) High-order accuracy at curved boundaries and interfaces is achieved using conforming grids and compatibility conditions. (3) Interfaces are treated in an efficient way using a hierarchical modified equation (HIME) approach that provides local updates to the interface ghost points and requires no nonlinear solves. (4) Numerical stability on overset grids is achieved using a high-order upwind dissipation for Maxwell's equation in second-order form. Upwind dissipation for wave equations in second-order form was first proposed in [1] and extended the ideas of Godunov's upwind scheme for first-order systems of equations. The original scheme in [1] was extended to Maxwell's equations in [2]. An optimized version of this latter approach is used in the numerical scheme given in this article.

3The current work substantially expands the previous work [3,4] on general linear dispersive materials by employing multi-level carrier kinetics to account for diverse nonlinear effects. Similar to [3,4], the proposed schemes are implemented in the Overture framework, and then tested using overlapping grids over complex two-and three-dimensional geometries. Figures 1 and 2 depict an example of a two-dimensional geometry and a zoom-in view of the associated overset grids.

4Following the early theoretical works (see, e.g. [5]) and their original numerical FDTD approximations [6][7][8][9], propagation and scattering of light in all our schemes are modeled classically by the Maxwell's equations, while the nonlinear medium is described by real-valued multi-level rate equations [10][11][12][13][14][15]. The interaction between light and matter is then coupled by real-valued atomic dipole moment (polarization) equations using the ADE technique, which is also adopted in the models of general linear dispersive materials in [3,4]. Such nonlinear multilevel models are generalization of the two-level systems [6,16].

5Perturbation theory has been and still remains one of the most popular approaches to approximate nonlinear material responses in optics. With this approach, the optical material response in the time and frequency domains is modeled employing the power series expansions of a weak nonlinear part of susceptibility. The method has become imperative for the initial numerical analysis of Stockman's spasers [17,18]. Classical electrodynamics with the quantum-mechanical effects of the gain medium introduced through the perturbation nonlinear susceptibility terms have been initially adopted to describe spasing (see, e.g. [19][20][21][22]). Thus, Li and Yu [19] derived and computed the gain threshold requirements for core-shell single-particle spasers, accounting for the interband transitions of the plasmonic metal core. Kristanz et al. [22] analyzed the power balance and heating to guide the spaser design in terms of the allowed pumping intensities, duration, and expected output radiation and thermal load. These studies have been of ultimate importance for analyzing the parameters affecting the threshold, including the resonant wavelength, the refractive index of the background host material, and the dimensions of the core and shell of regular-shape (mainly spherical or spheroidal) spasers. While such models are capable of adequately predict- ing the conditions for loss compensation and the transition to the spasing regime for simplified geometries and operation regimes, as the designs of spaser systems are becoming more involved, full-wave numerical analysis that can unlock the temporal and spatial details of a given spaser are required. In general, the perturbation theory has many restrictions. For example, the modeling techniques employing this classical approach are capable of neither capturing complete transient and irreversible effects nor accounting for many critical quantum phenomena. They may also fail to converge in some crucial real-life cases [23] and are inadequate for modeling several distinct classes of nonlinearities, e.g., epsilon-near-zero materials [24]. In contrast, the time-domain multiphysics techniques are considered amongst the most accurate numerical frameworks that can account for the quantum-mechanical nature of the gain and plasmonic materials, naturally combining nonlinear and thermal effects in a single computational domain with complex structural and material composition [7,8,11,[25][26][27].

6Early carrier kinetics approaches to multiphysics modeling of nonlinear light-matter interaction were introduced for describing gain media in response to external pulsed excitation [5,6], aiming at the numerical analysis of the dynamics of pumping, population inversion, and saturation. The multi-level rate equation technique has been widely used for simulating various atomic systems, for example, in modeling 1-electron system with 4 levels and 6 levels [10], 2-electron system with 4 levels [8], saturable absorption [13], reverse saturable absorption [14], and 2-photon absorption [15]. Modeling multi-level active medium using the rate equations together with the ADE-type polarizations is equivalent to the first-order optical Bloch equations formulated using density matrix [28,29] for two-level systems, or multi-level systems consisting of pairwise atomic level transitions [8,30,31]. For general multi-level atomic systems, such as those with V , Λ or cascade configurations [32], the equivalence does not hold. However, one could fit the multilevel models using, for example, experimental data by leaving out non-essential transitions [10].

7There have been many numerical methods that were developed for the complex-valued optical Bloch equations based on the density matrix, see the review paper [33] for example, among which the finite difference methods have been prevailing in the time-domain multiphysics techniques. In the FDTD regime, Yee's scheme [34] was widely used. For instance, in [35], a weakly decoupled and Strang splitting time discretizations of Maxwell-Bloch system that preserves the carrier populations was discussed, with a feature of using different time marching for diagonal and off-diagonal entries of the density matrix. Yee's scheme was extended to the light-matter interactions with ultrashort pulse in anisotropic media for the unidimensional case in [36], and bidimensional case in [37], where a pesudo-spectral time-domain method was also discussed, along with similar splitting schemes for Bloch equations. In [38], a Maxwell-Bloch solver for two-level atomic systems was developed. A scrutiny of FDTD numerical methods based on Yee's scheme for nonlinear active materials revealed that they have limitations and restrictions to low-order accuracy, low dimensions, or only two-level atomic systems. Nor are they capable of handling geometry with complex shaped boundaries and interfaces.

8The rest of the paper is outlined as follows. In Section 2, we present the mathematical models of nonlinear dispersive materials that use multi-level rate equations, employing the ADE technique. Here, we prescribe the initial/boundary conditions, and interface jump conditions for the secondorder Maxwell's equations. In Section 3, the second-order finite difference time-stepping schemes for nonlinear models in homogeneous materials are discussed first, whereas the fourth-order schemes that employ the second-order results and the modified equation approach are presented in sequel. The second-and fourth-order numerical interface treatments are discussed in Section 3.3. Lastly, several numerical examples in both 2D and 3D are given in Section 4 and concluding remarks are given in Section 5.

Governing equations

9We consider the solution to the initial-boundary-value (IBVP) problem for Maxwell's equations in a domain Ω ⊂ R n d in n d space dimensions. The domain consists of N k different material regions Ω k with Ω = ∪ N k k=1 Ω k . Let Γ k,k denote the interface between material k and k . A given region Ω k may be governed by the isotropic Maxwell equations, the linear dispersive Maxwell's equations as discussed in [4] or the following nonlinear equations,

10Equations (2.1), called the Maxwell-MLA system, define Maxwell's equations in second-order form for the electric field coupled to a multi-level carrier kinetic model. The kinetic model consists of N n atomic levels for population densities N and N p polarization vectors P m . The parameter c = 1/ √ 0 µ 0 is the speed of light in a vacuum, with 0 and µ 0 the vacuum permittivity and permeability, respectively. The parameters b 1,m , b 0,m , a m, , α ,k , and β ,m are all real and chosen to model the transitions in a particular active material, either based on theory or experimental data. In a typical case the sum of the population densities N will be constant, often normalized to be one. Note that in subsequent discussions the bounds on the sums in equations in (2.1) will often be suppressed for notational brevity. Also note that, following our previous work [3,4,39], we solve for E using Maxwell's equations in second-order form. The advantages of using the second-order form Maxwell's equations are described, for example, in [39]. The kinetic model in (2.1c) is quite general and can represent transitions in a variety of multilevel atomic systems. Consider, for example, the four-level system depicted in Figure 3. This system consists of four energy levels with population densities N , = 0, 1, 2, 3. Here we change notation slightly to be consistent with the literature. This is a model for lasing in a gain medium. Energy is pumped into the ground level, where the electrons are excited to the highest energy level 3, then relaxed to lower energy levels. With proper constraints on the relaxation time τ 's, a population inversion (more populations at a higher energy level) between levels 1 and 2 will take place, which leads to lasing. The corresponding rate equations for the population densities N are given by

11where is the reduced Planck constant, ω 21 , ω 30 are the transition frequencies between the paired levels, and τ 10 , τ 30 , τ 21 , τ 32 are the relaxation times from the higher energy level to corresponding low level respectively. The associated polarizations can be expressed as

12and thus the tensor a with entries a m,n in the polarization equation (2.1b) is given by

13while P 1 = P 30 , and P 2 = P 21 .

14To define a well-posed IBVP, the Maxwell-MLA equations (2.1) are augmented with appropriate initial conditions, boundary conditions and interface conditions. Initial conditions are required for E, ∂ t E, P m , ∂ t P m and N . For the purposes of this article, the nonlinear materials will be bounded by linear materials and thus will not require boundary conditions. Boundary conditions at physical or far-field boundaries for linear materials will be specified in the usual way as discussed in [4]. Note that the second-order form of the equations for E uses the additional boundary condition ∇ · E = 0. At an interface Γ k,k between sub-domains Ω k and Ω k the following primary interface conditions hold

15where n is defined to be the normal that points from domain Ω k into Ω k . The well-possedness of the IBVP for the Maxwell-MLA system (2.1) is discussed in Appendix B. The problem is well-posed and the solutions to these nonlinear equations will exist for at least short times. Long-time existence can be shown for a restricted class of commonly used systems, such as the four-level system described above. For such systems an L 2 -energy can be found that shows the solutions have at most bounded exponential growth in time.

Numerical Scheme

16The basic approach to discretization of the MLA equations (2.1) uses finite-difference approximations and modified-equation time-stepping. This approach follows the path previously advocated for the nondispersive isotropic Maxwell's equations in [39], later extended to linear dispersive materials in [3], and subsequently to linear dispersive materials with interfaces in [4]. The primary developments described in the present article are the formulation and application of methods for the equations of nonlinear electromagnetics for active media, and a novel approach to the treatment of interfaces that eliminates the need for the solution of coupled nonlinear systems of equations along material interfaces. The treatment of complex geometry will again make use of overlapping grids, which is discussed briefly in Section 3.1. Second-order and fourth-order accurate discretizations are then discussed in Sections 3.2.1 and 3.2.2 respectively. The discretization of interface equations is then presented in Section 3.3. See Algorithm 1 for the overview of the developed algorithms and the arrangements of this section.

Overlapping grids

17As indicated in the introduction, geometric complexities in the simulation domain will be addressed using overlapping (sometimes referred to as overset, or chimera) grids. An example is depicted in Figs. 1 and 2, where a light pulse is propagated through active material in the shape of the letters "R", "P", and "I". Each computational subdomain is discretized using a composite overlapping grid consisting of a set of thin boundary fitted grids overlaying a Cartesian background grid, see e.g. Fig. 1. The primary motivation for our use of composite overlapping grids is to enable the use of efficient finite difference schemes on structured grids, while simultaneously treating complex geometry with high-order accuracy up to and including boundaries and material interfaces. In the composite overlapping grid approach, the simulation domain Ω, is divided into its geometric components Ω k (e.g. the "R" domain in Fig. 1). Each sub-domain Ω k is then covered by a composite grid G k , consisting of a set of component grids G k,g , g = 1, . . . , N k . A simple example composite grid in two space dimensions is illustrated in Fig. 4 is a logically rectangular, curvilinear grid defined by a smooth mapping from a reference domain r ∈ [0, 1] n d (i.e. the unit square in 2D or unit cube in 3D) to physical space x,

18Grid points are classified as discretization points (where the PDE or boundary/interface conditions are applied), interpolation points (where solutions are interpolated from other component grids) or unused points. Throughout the present work, ghost points are use to implement boundary and interface conditions. The overlapping grid generator Ogen [40] from the Overture framework is used to construct the overlapping grids. Overlapping grid interpolation is performed using a tensor-product Lagrange basis with quadratic polynomials for the second-order accurate scheme, and quartic polynomials fourth-order scheme, as required to maintain accuracy [41].

Discretizations for Nonlinear and Active Media

19Discretization of the governing PDE system (2.1), on each component grid G k,g , is performed in the reference coordinate system r. The overall approach taken here follows the general principles described in [3,39], and uses a single-step modified equation (ME) scheme (sometimes referred to as a space-time or Lax-Wendroff time stepper). To describe the schemes, denote x j ∈ R n d as a point on a component grid, where j = (j 1 , . . . , j d ) ∈ Z n d is a multi-index. Generically, ME time stepping schemes are based on a Taylor expansion of discrete approximations to temporal derivatives. For example, discretization of the leading second derivative terms in (2.1a) and (2.1b) can be based on the usual 3-level approximation of the second time derivative along with appropriate correction terms to obtain the required accuracy. Specifically, for schemes of order p = 2q

20where ∆t is a time step size, and W j (t) indicates a generic grid function and could be any of E j (t), P m,j (t), N ,j (t). On the other hand, (2.1c) is a first-order ODE and so the schemes are based on the forward difference approximation to the first derivative

21Repeated time differentiation of the PDE system (2.1) is then used to define the various terms on the right-hand-side of (3.2) and (3.3). To obtain a fully discrete scheme, spatial derivative operators are then replaced with difference approximations 2 . See [3,39] for additional details of this derivation for the non-dispersive and linearly dispersive Maxwell's equations respectively. While the ME prescription above is correct and effective, straightforward implementation for the nonlinear dispersive equations (2.1) will necessitate the need to solve a globally coupled system of nonlinear equations at each time level. A similar effect was observed for linear dispersive materials in [3], which led to the development of a redesigned ME scheme using a predictor-corrector methodology using a mixture (a hierarchy) of second-and fourth-order approximations. This methodology, subsequently referred to as a hierarchical modified equation (HIME) scheme, is adapted here for the nonlinear equations, and schemes of order 2 and 4 are described in Sections 3.2.1 and 3.2.2 respectively.

Second-order accurate scheme

22In this section we outline the second-order accurate Maxwell-MLA scheme. A pseudo-code version of this algorithm is given in Appendix A.1. In describing the discretization of (2.1), let E n j , P n m,j , N n ,j be approximations of E(x j , t n ), P m (x j , t n ), and N (x j , t n ), respectively, at time t n = n∆t. Further, let ∆ ph denote a pth-order accurate approximation to the Laplace operator ∆, and D +t , D −t , and D 0t denote the usual forward, backward, and central divided difference approximations to the time derivative, as given by

23for a generic grid function W n j ≈ W(x j , t n ). Using this notation, and the expansions (3.2) and (3.3), second-order accurate approximations to (2.1a)-(2.1c) are straight forward, with perhaps the simplest 3 being given by

24for m = 1, . . . , N p and = 0, . . . , N n − 1, with P n j def = m P n m,j . The notation D 2t N | n j and D 2tt N | n j , used in (3.5c), is meant to indicate 2nd-order accurate approximation to the continuous time derivatives ∂ t N | n j and ∂ 2 t N n j respectively. In principle there are a number of choices for these approximations, e.g. backward differencing or implicit temporal averaging. However, in this work we use the Taylor series approach with

25since it avoids the need for additional storage (as in backward differencing), or the solution to a nonlinear system (as in temporal averaging). The fully discrete system (3.5) is a complete set of nonlinear equations defining the solution state at the new time, t n+1 . However, from the perspective of implementation, there is significant benefit in realizing that P n+1 m,j are decoupled from other quantities at the next time level, i.e. E n+1 j and N n+1 ,j . As a result, they can be updated independently using (3.5b) as Subsequently, E n+1 j can be trivially determined from (3.5a). Finally, N n+1 ,j can be obtained using (3.5c), (3.6a) and (3.6b), where all terms on the right-hand-side of (3.5c) are known because P n+1 m,j and E n+1 j have been previously computed. This decoupling is a major difference from the schemes developed in [3,4], where the solution update required the solution of a coupled system of linear equations locally at each grid cell x j . In the present work this would translate to a nonlinear system, which may introduce numerical subtleties such as solver tolerances, choice of nonlinear root, etc.

Fourth-order accurate scheme

26Following the ME approach, higher-order accurate approximations to (2.1a)-(2.1c) can be obtained by retaining additional correction terms in the Taylor expansions of the discrete temporal operators, e.g. (3.2) and (3.3). Typically, the governing equations would be used to exchange temporal for spatial derivatives, or in the case of ODEs to successively reduce the order of temporal derivation. However as previously mentioned, this would lead to a globally coupled nonlinear system that would need to be solved at each time step. An alternative, first discussed in [3] for linear 3 Other discretizations involving alternate temporal weighting, e.g. b0,m 1 4 P n+1 m,j + 1 2 P n m,j + 1 4 P n−1 m,j in place of b0,mP n m,j , are also possible and could serve as the basis for higher-order schemes, but these are not pursued here.

27dispersive materials, uses predictions from lower-order schemes, e.g. (3.5), to approximate the correction terms to the requisite accuracy, and thereby enable a local explicit solution update at each grid point. This approach is dubbed HIME, for Hierarchical Modified Equation.

28A pseudo-code algorithm for the fourth-order accurate Maxwell-MLA scheme is given in Appendix A.2.

29To describe the fourth-order accurate HIME scheme, we first make some convenient notational definitions. Let the predicted approximation to the fields, polarization vectors, and carrier population densities at the new time t n+1 , as defined by the second-order accurate scheme (3.5), be denoted E n+1, * j , P n+1, * m,j , and N n+1, * ,j respectively. Difference approximations based on these predictions will be colorized blue for clarity, and the difference operators will be applied to predicted "star" quantities, e.g.

30With this notation, the fourth-order accurate HIME scheme, with any terms involving predicted values highlighted in blue for clarity, is

31for m = 1, . . . , N p and = 0, 1, . . . , N n − 1. Here the two red terms are included in (3.9a) because they naturally occur in the ME formulation, although they cancel and therefore need not appear in the final discretization. Further, ∆ 4h denotes the fourth-order accurate discrete laplacian, D 4t and D 4tt indicate 4th-order accurate approximation to the continuous time derivatives ∂ t and ∂ 2 t respectively, and D 2ttt and D 2tttt indicate 2nd-order accurate approximation to the continuous time derivatives ∂ 3 t and ∂ 4 t respectively (definitions of these terms are presented below). The various orders of accuracy for each term are consistent with the requirements for overall 4th-order accuracy of the scheme, as discussed for example in [3,4,39], and ultimately yield a fully 4th-order scheme in a compact spatial stencil using only three time levels. Definitions of approximations to the terms

32j , as needed in (3.9) appear in Appendix C. As in the case of the second-order discretization, the fourth-order HIME scheme permits a decoupled update of all quantities at the new time. The procedure is similar to second-order where first the polarization vectors are updated, then the fields, and finally the carrier population densities. Because this represents a significant advantage of the HIME versus traditional ME schemes for multilevel nonlinear electromagnetics, it is useful to describe this update in detail. After performing the predicted second-order update in a local stencil, the polarization vectors are updated as

33Subsequently the electric fields can be updated as

34Finally the carrier populations are updated as

Numerical interface approximations

35We now proceed to a description of the numerical treatment of interface conditions (2.4) in the framework of HIME time-stepping. Throughout this section, we assume that 2nd-or 4thorder solution approximations have been time advanced to time level t n for all grid points on the domain interiors and along material interfaces. Furthermore, it is assumed that the grids across the interface are matched at point j in the tangential direction, see Figure 5 and Figure 6. The discrete interface conditions are then enforced using ghost cells, and the primary purpose of the present section is to describe how these ghost cells are determined at t n . Once solution approximations in the ghost cells have been determined, subsequent time stepping using (3.5) or (3.9) will yield fully 2nd-or 4th-order accurate approximations. Note that to simplify presentation, the following discussion will be restricted to the case of Cartesian grids. The algorithms for the curvilinear case are very similiar and are presented in Appendix E and Appendix F.

36Determination of solution approximations in ghost cells naturally relies on interface conditions containing spatial derivatives, since undifferentiated terms constrain the solution directly on the interface. Primary interface conditions (2.4c) and (2.4d) already involve the requisite derivative operators, but (2.4a) and (2.4b) do not. Following the approach described in [4,39], the primary interface conditions (2.4a) and (2.4b) are therefore time differentiated, and the governing PDEs used to yield

37which are used in place of (2.4a) and (2.4b). The full set of primary interface conditions that are used to determine solution approximations in ghost cells are therefore Discretization of the primary interface conditions (3.14) to second-order accuracy is straightforward, and yields

Second-order accurate interface approximation

38where Γ h indicate the set of indices along the material interface, and ∆ 2h and ∇ 2h denote secondorder accurate finite differences. Note that the term D +t D −t P| n j involves P n+1 j , i.e. P at a future time, which is not known. However, (3.7) can be used to determine P n+1 j based on known information at t n . Equivalently, the definition of P n+1 j from (3.7) can be inserted directly in

39Clearly, the definition of D +t D −t P| n j in (3.16) is not coupled with any unknown ghost values at time level t n , and so the interface condition (3.15a) can be expressed

40where the right-hand side is considered to be known data via (3.16). The system of equations (3.15a*) along with (3.15b) -(3.15d) therefore defines values of E in the ghost cells (see Figure 5). An additional advantageous property of this approach is that ghost values for E n are decoupled from the ghost values for P n , a property that will be referred to as EP-decoupling. In fact no ghost values for P n are needed in the actual update for this second-order scheme (3.5), although in practice extrapolation is used to define values in the ghost so that the entire grid function is defined. As we employ fourth-order accurate central finite difference scheme, we have two ghost lines at both sides of the interface, which requires additional four jump conditions obtained by differentiating the four primary interface conditions (2.4) in time:

Fourth-order accurate interface approximation

41then we use the compatibility condition again and obtain the following additional four interface conditions

42Fourth-order accurate approximation of the primary interface conditions (2.4) and the additional four jump conditions (3.18) are given by

43where the subscript 2h and 4h denote the second-order and fourth-order accurate discretizations respectively. The magenta term D 4tt P| n j requires fourth-order accurate approximation, while the blue terms need only second-order accurate approximations.

44Remark 3.1. In 3D, the interface conditions (3.19) at point j can be rewritten into the vector form:

45by combining the tangential and normal components, which allows convenient implementation of the jump conditions. Here n is the unit normal vector at point j, and I is an identity matrix.

46Note that, as written, the numerical interface conditions (3.19) have some un-desirable characteristics. Firstly, due to cross-derivative terms such as ∂ x ∂ y u in ∆ 2 u, the discrete interface conditions couple ghost points in the tangential directions; this would require solution of a system of equations along the entire interface. Secondly, there is no EP-decoupling. To see this, we take the example of the blue term D +t D −t ∆ 2h P| n j and note that:

47The red term ∆ 2h (N n ,j E n j ) obviously has time-dependent variable coefficients for the unknown first ghost point lines (ghost points that are one grid away from the interface), which implies that we need to formulate jump conditions (3.19e) and (3.19f) at each time step. Similarly, for terms

48persists respectively, thus (3.19g) and (3.19h) need to be reformulated at each time step accordingly as well. Moreover, the magenta term D 4tt P| n j needs to be fourth-order accurate:

49where the second-order accurate terms D 2ttt P m | n j and D 2tttt P m | n j are approximated by:

50and

51Again, we see that D 2ttt P m | n j and D 2tttt P m | n j have time dependent coefficients for E n on the first ghost lines, which implies that the interface condition (3.19a) needs to be reformulated at each time step.

52Fortunately, the colored terms D +t

53and D 4tt P| n j only nonlinearly depend on E n on the first ghost lines. To this end, we approximate the red terms using second-order accurate predicted values on the first ghost lines that are obtained using the second-order numerical interface conditions (3.15), which leads to the linear system:

54Thus, we obtain the EP-decoupling for the fourth-order accurate approximations of the interface conditions similarly as the second-order case. Moreover, as discussed in the previous work [4], cross terms in ∆ 2 2h E n j , ∇ 2h ×∆ 2h E n j , ∇ 2h ×∆ 2h E n j will invoke instability if the grid size in the tangential direction is smaller than the grid size in the normal direction (the instability will be investigated and dedicated to a separate paper). To avoid such instability, we follow [4] and approximate the cross terms by decoupling E n in the tangential direction, i.e., the second-order accurate predicted values on the first ghost lines are also employed here to approximate the cross terms. As a result of tangential decoupling that leads the stencil localization, the interface conditions (3.19) can be formulated into an identical time-independent local small linear system at each point j independently rather than a large global system. To summarize, for the fourth-order accurate interface conditions (3.19), we linearize the jump conditions via EP-decoupling and localize the stencils using tangential decoupling by employing second-order accurate predicted values of E n on the first ghost lines, obtained using the second-order approximations of interface conditions (3.15).

Numerical results

55This section presents results to verify the accuracy and stability of the new Maxwell-MLA schemes and interface approximations. Section 4.1 studies the accuracy for manufactured solutions for a two-domain problem with a planar interface between two nonlinear materials. Section 4.2 then studies the accuracy for manufactured solutions on a problem with a curved interface and overset grids. Section 4.3 considers the propagation of a soliton for which there is an approximate asymptotic solution. A grid self-convergence study is used to evaluate the convergence rate of the computed soliton. A problem with multiple interfaces is studied in Section 4.4 and shows results for an interface between a nonlinear medium and a linear dispersive medium. Finally in Section 4.5, results are shown from the scattering of a Gaussian plane wave from an array of ellipsoids composed from active materials.

Planar interface results

56To verify the accuracy of the interface implementations we perform a grid-refinement convergence study for problems with a planar interface. The domain for the interface problem in d-dimensions consists of two squares (cubes), Figure 7 gives an example of the Cartesian meshes for 2D interface (left), approximated solution E y (middle) and the errors against the exact solution for E y component (right) at t = 1 on meshes with grid spacing h = 1/160. Figure 8 shows the convergence results with manufactured solutions (4.2) for 2D (left) and 3D (right), with errors measured as the maximum norm in space. The max-norm of a vector quantity is the maximum over all grid points of the maximum absolute value of all components of the vector.

Curved interface results

57In this section we verify the accuracy of the second-order and fourth-order accurate schemes for curved interfaces. The computational domain [−1, 1] × [−1, 1], the circular interface of radius r d = 0.5 and the overset grids are as shown in the left of Figure 9. We should note that the matched grids are used across the circular interfaces as is the square/cube case in Section 4.1. For the numerical results, manufactured solutions in the form of (4.2) are also employed, and their approximations and errors are shown in the middle and right of Figure 9. Grid refinement study is also performed in Figure 10. The MLA materials in the outer and inner domains are chosen to be mlaMat2 and mlaMat3 as defined in Appendix D.

Soliton

58In this section, we present a soliton-like solution for the nonlinear system (2.1a)-(2.1c) in the following form: In the left figure of Figure 11, extracted line plots of the approximated soliton solutions at t = 100 along y = 0 are presented, while the right figure illustrates the accuracy between secondorder accurate (O2) simulations with fourth-order accurate (O4) simulations (both on coarse meshes with h = 1/4) by comparing their differences with O4 simulations on a finer mesh with grid spacing h = 1/16, which is denoted as E y,ref in the legend. Figure 10 (right) compares the self-convergence study for the second-and fourth-order accurate simulations.

Scattering from a layered disk

59In this section, we provide an example of multiple types of material interfaces, i.e., interfaces between both linear/nonlinear and linear/linear materials. The computational domain is [−1.75, 1.75] × [−1.5, 1.5] with a disk of radius r = 0.4 centered at origin and two layers of width 0.1 outside the disk. The background rectangle is assumed to be vacuum with normalized permittivity = 1, while the center disk is made of nonlinear 4-level active material with 2 polarization vectors with = 2 as depicted in Fig 3 (see Appendix D.3 for the material parameters). The first layer is of linear material modeled by generalized dispersive model (GDM) with 1 polarization vector and = 4 as in [3,4] and interface treatments of GDM materials can be found therein. The second layer is assumed to be a linear isotropic material with = 3. The permeability in all materials are set to µ = 1. For the numerical simulations below, the initial conditions are from a modulated Gaussian plane wave with nonzero E y component, i.e., In Figure 13, we show three snapshots of the norm of the electric fields as a result of interacting with the nonlinear 4 level active material, which also demonstrates a focusing effect from the circular geometry. Figure 14 (left) gives the results of self-convergence study from both the secondorder and fourth-order accurate simulations at t = 3.8. Furthermore, a comparison of runtime between order 2 (O2) and order 4 (O4) simulations with the same accuracy till final time t = 5 are performed using the serial codes are shown in Figure 14 (right), where the purple digits indicate the approximate wall-clock runtime speedup between O2 and O4. The projected O2 runtimes are predicted using the fact that the computational cost on a 2×-refined mesh is 8× slower.

An array of active material ellipsoids

60As a final example we consider the scattering of a Gaussian plane wave from a collection of 36 solid ellipsoid meta-atoms, each containing an active material. The overset grid for the geometry in shown in Figure 15 Figure 15 shows the contours of the computed solution on selected contour cutting planes. The magnitude of the electric field E is shown along with the P y component of total polarization and the population density N 3 . The incident wave is seen to excite the meta-atoms as it passes through. with a fairly general class of multi-level atomic models involving ODEs for any number of polarization vectors and population densities. Complex geometries with curved boundary and interfaces are accurately treated using conforming and overset grids. One key property of the scheme is that through a hierarchical modified equation (HIME) approach no nonlinear solves are required to time-step the equations at high-order accuracy. Another key property is that through the use of a hierarchical approach that couples low-order accurate and high-order accurate approximations, the update of the ghost values at the interface are local with no nonlinear solves and no coupling with adjacent ghost values. Stability on overset grids was maintained using a novel high-order upwind scheme that applies to wave equations in second-order form. The initial-boundary value problem for the Maxwell-MLA equations was shown to be well posed. An L 2 -energy estimate was derived for a restricted class of commonly used MLA models which showed long-time existence. Numerical results in two and three dimensions were presented that verified the accuracy and stability of the new Maxwell-MLA schemes. Results were shown for problems with interfaces between two active materials and also for active materials adjacent to linear dispersive materials. Verification was performed using manufactured solutions and an asymptotic soliton solution. For problems without exact solutions, a self-convergence grid refinement procedure was used to estimate the errors and convergence rates. Some possible future steps include extending the current numerical schemes to handle junctions of three or materials, adding support for adaptive mesh refinement, and adding support for a changing time-step.

Appendix A. Maxwell-MLA algorithms

61Pseudo-code algorithms for the second-order accurate and fourth-order accurate Maxwell-MLA time-stepping schemes are given in this section.

62-

6310: Evaluate dispersive forcing functions, i.e., D + D − P| n j by taking a fictitious forward step;

5:

64Evaluate derivatives on the left hand side of (3.15a*),(3.15b),(3.15c) and (3.15d) using second-order accurate schemes with "wrong" values in the ghost points;

6:

65Evaluate the second-order accurate residual of the jump conditions;

7:

66Adjust right hand sides of interface conditions by subtracting off the "wrong" ghost values; D 2t N * | n j = α ,k N n k,j + β ,m E n j · D 0t P n, * m,j ; 10: Evaluate dispersive forcing functions, i.e., D + D − P| n j , etc. to their respective accuracy as in the discretized jump conditions by taking a fictitious forward step; 6: Evaluate derivatives on the left hand side of (3.19a*),(3.19b)-(3.19e),(3.19f*)-(3.19h*) using fourthorder accurate schemes with "wrong" values in the ghost points;

67Evaluate the fourth-order accurate residuals of the jump conditions;

8:

68Adjust right hand sides of interface conditions by subtracting off the "wrong" ghost values; In this section we consider the well-posedness and long-time stability of the Maxwell-MLA equations (2.1). If lower-order terms are dropped from the equations (2.1), Maxwell's equations for E decouples from the polarization equations (2.1b) and rate equations (2.1c). These equations are thus well posed with the appropriate initial conditions and boundary conditions. The solution to the IBVP will exist for at least short times. To study the long-time existence of the nonlinear equations we restrict ourselves to a class of Maxwell-MLA equations that are of common interest, see Figure B.16. To simplify the discussion we consider the equations written using the first-order form for E and H

69with an MLA system of N n energy levels, each with population density N , = 0, 1, . . . , N n − 1 (see Figure 3 for an example of a 4-level system). Polarization states P ji , with i and j integers in the range 0 and N n − 1 and i < j, may exist between any two levels with governing equation given by

70where ji belongs to the set of active transitions pairs, T . For example, in the four-level system in Figure 3, T = {30, 21}. The parameters in (B.2) are assumed to satisfy γ ji ≥ 0, ω ji > 0 and κ ji > 0. The population density N satisfies

71Our goal is to derive an L 2 -energy estimate to show that the solution remains bounded in time. Let (f, g) denote the L 2 -inner product over Ω,

72for scalar functions f and g (all functions are assume to be real valued). Let · denote the corresponding norm. For vector functions we use

73In the usual way we take inner products of the various equations with the corresponding variable or its time-derivative,

74Integrating by parts the right hand sides of (B.7) and (B.8) and then adding these equations gives an equation for the time-derivative of isotropic energy E 0

75where BT.s denotes the usual boundary terms for isotropic Maxwell's equations. We assume the boundary conditions are chosen to make the boundary terms to vanish or be negative. Let us now focus on equations (B.9) and (B.10) which can be written as

76Define the quantities K and δ ji by

77Scaling equation (B.12) by δ ji and equation (B.13) by K leads to

78Adding (B.17) to the sum over ji ∈ T of (B.16) eliminates the inner products containing the nonlinear terms E · ∂ t P ji to give

79Let E P N be defined from the terms on the left of (B.18)

80where

81Note that

82for some constant C α which depends on α max = max ji |α ji |, N n and N p . Using (B.24) in (B.23) implies

83Integrating this last expression in time implies E P N is bounded in time, (B.26) which also, from the definition (B.19) for E P N and (B.21) implies a bound on ∂ t P 2 and N 2

84We are now prepared to form the final energy estimate. Adding equations (B.11) and (B.23)

85gives an equation for the total energy E

86for some constant C 2 , where we have assumed the boundary terms are non-positive. To get a bound for E we integrate the inequality (B.32) to give

87where the case C α = 1 can be found with the appropriate limit.

88We have therefore proved the following theorem.

89has bounded exponential growth in time,

90for some constants K 1 and K 2 .

Appendix C. Supplemental Equations for Fourth-Order

91The following expressions are used in Section 3.2.2 in the description of the fourth-order accurate scheme.

Appendix D. Material definitions

92Here are the definitions of the MLA materials used in this article.

93Appendix D.1. Active material mlaMat2

94Active material mlaMat2 has two polarization vectors and four atomic levels with MLA material parameters given by These parameters are adapted from [43] for tests with manufactured solutions.

Appendix D.2. Active material mlaMat3

95Active material mlaMat3 has one polarization vector and one atomic level with MLA material parameters given by

Active material mlaMat4levels

96Active material mlaMat4levels has two polarization vectors and four atomic levels with MLA material parameters given by These parameters are adapted from [43] with proper undimensionalization to match the form of (2.1).

Appendix E. Maxwell-MLA interface algorithm, second-order accuracy

97Guide to some variables: ∂r m ∂x n for a point j = (j 1 , j 2 , j 3 ) on side 2, axis1=0,1,2,3 : interface side 1 is located on r axis1 = side1 constant, side1=0,1 axis2=0,1,2,3 : interface side 2 is located on r axis2 = side2 constant, side2=0,1 is1 = 1 -2*side1 : index shift vector on side1=0 (left) or side1=1 (right), is2 = 1 -2*side2 : index shift vector on side1=0 (left) or side1=1 (right), dx1(0:2), dx2(0:2) : grid spacing for rectangular (Cartesian) grids on side 1 and side 2, dr1(0:2), dr2(0:2) : unit-square grid spacing for curvilinear grids on side 1 and side 2, Appendix E.1. Second-order accurate interfaces, Cartesian grids

98Here is a listing of the fortran code that defines the Maxwell-MLA interface algorithm for second-order accuracy on Cartesian grids. The code is written with the bpp macro preprocessor from Overture. ! **************************************************** 14 ! *********** 2D, ORDER=2, RECTANGULAR ************** 15 ! **************************************************** Here is a listing of the fortran code that defines the Maxwell-MLA interface algorithm for second-order accuracy on curvilinear grids. The code is written with the bpp macro preprocessor from Overture. The stencil for the code appears in Figure E ! **************************************************** 14 ! *********** 2D, ORDER=2, CURVILINEAR ************** 15 ! **************************************************** 16 17 INFO("22curvilinear-nonlinear-MLA") 18 19 ! ---initialize some forcing functions ---20 do n=0,nd-1 21 ! here is the normal (assumed to be the same on both sides) 52 an1=rsxy1(i1,i2,i3,axis1,0) ! normal (an1,an2) 53 an2=rsxy1(i1,i2,i3,axis1,1) 54 aNorm=max(epsx,sqrt(an1**2+an2**2)) 55

99an1=an1 ! here is the matrix of coefficients for the unknowns u1(-1),v1(-1),u2(-1),v2(-1) 76 ! Solve: axis1=0,1,2,3 : interface side 1 is located on r axis1 = side1 constant, side1=0,1 axis2=0,1,2,3 : interface side 2 is located on r axis2 = side2 constant, side2=0,1 is1 = 1 -2*side1 : index shift vector on side1=0 (left) or side1=1 (right), is2 = 1 -2*side2 : index shift vector on side1=0 (left) or side1=1 (right), dx1(0:2), dx2(0:2) : grid spacing for rectangular (Cartesian) grids on side 1 and side 2, dr1(0:2), dr2(0:2) : unit-square grid spacing for curvilinear grids on side 1 and side 2, Appendix F.1. Fourth-order accurate hierachical scheme, curvilinear grids

100Here is a listing of the fortran code that defines the Maxwell-MLA interface algorithm for fourth-order accuracy on curvilinear grids. The code is written with the bpp macro preprocessor from Overture. The following code implements the hierarchical interface approach by first using the second-order accurate algorithm Appendix E.2 to fill in the first line of ghost points before using the fourth-order accurate algorithm given in Appendix F.2. Note that the residuals in the second-order accurate algorithm are being computed with the fourth-order accurate approximations to the derivatives. The stencil for the code is given in Figure F.18 1 else if( nd.eq.2 .and. orderOfAccuracy.eq.4 .and. gridType.eq.curvilinear )then 2 #perl $DIM=2; $GRIDTYPE="curvilinear"; $ORDER=4; if( assignInterfaceValues.eq.1 )then 9

101boundaryJumpConditions(2,curvilinear) 10 end if 11 12

102! -----assign ghost using jump conditions -----13

103if ( Here is a listing of the fortran code that defines the Maxwell-MLA interface algorithm for fourth-order accuracy on curvlinear grids. The code is written with the bpp macro preprocessor from Overture. ! **************************************************************** 8 ! *********** DISPERSIVE, 2D, ORDER=4, CURVILINEAR ************** 9 ! **************************************************************** 10 11 12 ! ---initialize some forcing functions ---13 do n=0,nd-1 14 ! a8(2,7) = -js* rx2*dx214(axis2) 159 160 curl1um1 = is*8.*rsxy1(i1,i2,i3,axis1,1)*dr114(axis1) ! coeff of u(-1) from v.x -u.y 161 curl1vm1 = -is*8.*rsxy1(i1,i2,i3,axis1,0)*dr114(axis1) ! coeff of v(-1) from v.x -u.y 162 curl1um2 = -is* rsxy1(i1,i2,i3,axis1,1)*dr114(axis1) ! coeff of u(-2) from v.x -u.y 163 curl1vm2 = is* rsxy1(i1,i2,i3,axis1,0)*dr114(axis1) ! coeff of v(-2) from v.x -u.y 164 165 curl2um1 = js*8.*rsxy2(j1,j2,j3,axis2,1)*dr214(axis2) ! coeff of u(-1) from v.x -u.y 166 curl2vm1 = -js*8.*rsxy2(j1,j2,j3,axis2,0)*dr214(axis2) ! coeff of v(-1) from v.x -u.y 167 curl2um2 = -js* rsxy2(j1,j2,j3,axis2,1)*dr214(axis2) ! coeff of u(-2) from v.x -u.y 168 curl2vm2 = js* rsxy2(j1,j2,j3,axis2,0)*dr214(axis2) ! coeff of v(-2) from v.x -u.y 169 170

104aa8(2,0,0,nn) = curl1um1/mu1 171 aa8(2,1,0,nn) = curl1vm1/mu1 172 aa8(2,4,0,nn) = curl1um2/mu1 173 aa8(2,5,0,nn) = curl1vm2/mu1 174 175 aa8(2,2,0,nn) = -curl2um1/mu2 aa8(3,0,0,nn) = tau1*( aLap0*( 1./epsmu1 -alphaP1*c4PttLEsum1/epsmu1 ) -aLapSq0*alphaP1* c4PttLLEsum1/epsmu1**2 ) 190 aa8(3,1,0,nn) = tau2*( aLap0*( 1./epsmu1 -alphaP1*c4PttLEsum1/epsmu1 ) -aLapSq0*alphaP1* c4PttLLEsum1/epsmu1**2 ) 191 aa8(3,4,0,nn) = tau1*( aLap1*( 1./epsmu1 -alphaP1*c4PttLEsum1/epsmu1 ) -aLapSq1*alphaP1* c4PttLLEsum1/epsmu1**2 ) 192 aa8(3,5,0,nn) = tau2*( aLap1*( 1./epsmu1 -alphaP1*c4PttLEsum1/epsmu1 ) -aLapSq1*alphaP1* c4PttLLEsum1/epsmu1**2 ) 193 194

105aa8(3,2,0,nn) =-tau1*( bLap0*( 1./epsmu2 -alphaP2*c4PttLEsum2/epsmu2 ) -bLapSq0*alphaP2* c4PttLLEsum2/epsmu2**2 ) 195 aa8(3,3,0,nn) =-tau2*( bLap0*( 1./epsmu2 -alphaP2*c4PttLEsum2/epsmu2 ) -bLapSq0*alphaP2* c4PttLLEsum2/epsmu2**2 ) 196 aa8(3,6,0,nn) =-tau1*( bLap1*( 1./epsmu2 -alphaP2*c4PttLEsum2/epsmu2 ) -bLapSq1*alphaP2* c4PttLLEsum2/epsmu2**2 ) 197 aa8(3,7,0,nn) =-tau2*( bLap1*( 1./epsmu2 -alphaP2*c4PttLEsum2/epsmu2 ) -bLapSq1*alphaP2* c4PttLLEsum2/epsmu2**2 ) aa8(4,0,0,nn)= aLapX0*c1**2 231 aa8(4,1,0,nn)= bLapY0*c1**2 232 aa8(4,4,0,nn)= aLapX1*c1**2 233 aa8(4,5,0,nn)= bLapY1*c1**2 234 235 aa8(4,2,0,nn)=-cLapX0*c2**2 236 aa8(4,3,0,nn)=-dLapY0*c2**2 237 aa8(4,6,0,nn)=-cLapX1*c2**2 238

106aa8 ( aa8(6,0,0,nn) = an1*( aLapSq0/epsmu1 -alphaP1*( c2PttEsum1*aLap0 + c2PttLEsum1*aLapSq0/ epsmu1 ) )/mu1 284 aa8(6,1,0,nn) = an2*( aLapSq0/epsmu1 -alphaP1*( c2PttEsum1*aLap0 + c2PttLEsum1*aLapSq0/ epsmu1 ) )/mu1 285 aa8(6,4,0,nn) = an1*( aLapSq1/epsmu1 -alphaP1*( c2PttEsum1*aLap1 + c2PttLEsum1*aLapSq1/ epsmu1 ) )/mu1 286 aa8(6,5,0,nn) = an2*( aLapSq1/epsmu1 -alphaP1*( c2PttEsum1*aLap1 + c2PttLEsum1*aLapSq1/ epsmu1 ) )/mu1 287 288 aa8(6,2,0,nn) =-an1*( bLapSq0/epsmu2 -alphaP2*( c2PttEsum2*bLap0 + c2PttLEsum2*bLapSq0/ epsmu2 ) )/mu2 289 aa8(6,3,0,nn) =-an2*( bLapSq0/epsmu2 -alphaP2*( c2PttEsum2*bLap0 + c2PttLEsum2*bLapSq0/ epsmu2 ) )/mu2 290 aa8(6,6,0,nn) =-an1*( bLapSq1/epsmu2 -alphaP2*( c2PttEsum2*bLap1 + c2PttLEsum2*bLapSq1/ epsmu2 ) )/mu2 291 aa8(6,7,0,nn) =-an2*( bLapSq1/epsmu2 -alphaP2*( c2PttEsum2*bLap1 + c2PttLEsum2*bLapSq1/ epsmu2 ) )/mu2 coeffLap2 = -alphaP2*( c2PttEsum2 + c2PttttLEsum2 )/epsmu2 314 coeffLapSq2 = 1./epsmu2**2 -alphaP2*( c2PttLEsum2 + c2PttttLLEsum2 )/epsmu2**2 315 316 aa8(7,0,0,nn) = tau1*( coeffLapSq1*aLapSq0 + coeffLap1*aLap0 ) 317 aa8(7,1,0,nn) = tau2*( coeffLapSq1*aLapSq0 + coeffLap1*aLap0 ) 318 aa8(7,4,0,nn) = tau1*( coeffLapSq1*aLapSq1 + coeffLap1*aLap1 ) 319 aa8(7,5,0,nn) = tau2*( coeffLapSq1*aLapSq1 + coeffLap1*aLap1 ) 320 321 aa8(7,2,0,nn) =-tau1*( coeffLapSq2*bLapSq0 + coeffLap2*bLap0 ) 322 aa8(7,3,0,nn) =-tau2*( coeffLapSq2*bLapSq0 + coeffLap2*bLap0 ) 323 aa8(7,6,0,nn) =-tau1*( coeffLapSq2*bLapSq1 + coeffLap2*bLap1 ) 324 aa8 (7,7, ! Save current solution to compare to new 346 q(0) = u1(i1-is1,i2-is2,i3,ex) 347 q(1) = u1(i1-is1,i2-is2,i3,ey) 348 q(2) = u2(j1-js1,j2-js2,j3,ex) 349 q(3) = u2(j1-js1,j2-js2,j3,ey) 350 351 q(4) = u1(i1-2*is1,i2-2*is2,i3,ex) 352 q(5) = u1(i1-2*is1,i2-2*is2,i3,ey) 353 q(6) = u2(j1-2*js1,j2-2*js2,j3,ex) 354 q(7) = u2(j1-2*js1,j2-2*js2,j3,ey) 355 356

107! subtract off the contributions from the initial (wrong) values at the ghost points: 357 do n=0,7 358 f(n) = (aa8(n,0,1,nn)*q(0)+aa8(n,1,1,nn)*q(1)+aa8(n,2,1,nn)*q(2)+aa8(n,3,1,nn)*q(3)+\ 359 aa8(n,4,1,nn)*q(4)+aa8(n,5,1,nn)*q(5)+aa8(n,6,1,nn)*q(6)+aa8(n,7,1,nn)*q (7) if( useJacobiUpdate.eq.0 )then 369 u1(i1-is1,i2-is2,i3,ex)=(1.-omega)*u1(i1-is1,i2-is2,i3,ex) + omega*f(0) 370 u1(i1-is1,i2-is2,i3,ey)=(1.-omega)*u1(i1-is1,i2-is2,i3,ey) + omega*f(1) 371 u2(j1-js1,j2-js2,j3,ex)=(1.-omega)*u2(j1-js1,j2-js2,j3,ex) + omega*f(2) 372 u2(j1-js1,j2-js2,j3,ey)=(1.-omega)*u2(j1-js1,j2-js2,j3,ey) + omega*f(3) 373 374 u1(i1-2*is1,i2-2*is2,i3,ex)=(1.-omega)*u1(i1-2*is1,i2-2*is2,i3,ex) + omega*f(4) 375 u1(i1-2*is1,i2-2*is2,i3,ey)=(1.-omega)*u1(i1-2*is1,i2-2*is2,i3,ey) + omega*f(5) 376 u2(j1-2*js1,j2-2*js2,j3,ex)=(1.-omega)*u2(j1-2*js1,j2-2*js2,j3,ex) + omega*f(6) 377 u2(j1-2*js1,j2-2*js2,j3,ey)=(1.-omega)*u2(j1-2*js1,j2-2*js2,j3,ey) + omega*f(7) 378 else 379 ! Jacobi-update 380 wk1(i1-is1,i2-is2,i3,ex)=(1.-omega)*u1(i1-is1,i2-is2,i3,ex) + omega*f(0) 381 wk1(i1-is1,i2-is2,i3,ey)=(1.-omega)*u1(i1-is1,i2-is2,i3,ey) + omega*f(1) 382 wk2(j1-js1,j2-js2,j3,ex)=(1.-omega)*u2(j1-js1,j2-js2,j3,ex) + omega*f(2) 383 wk2(j1-js1,j2-js2,j3,ey)=(1.-omega)*u2(j1-js1,j2-js2,j3,ey) + omega*f(3) 384 385 wk1(i1-2*is1,i2-2*is2,i3,ex)=(1.-omega)*u1(i1-2*is1,i2-2*is2,i3,ex) + omega*f(4) 386 wk1(i1-2*is1,i2-2*is2,i3,ey)=(1.-omega)*u1(i1-2*is1,i2-2*is2,i3,ey) + omega*f(5) 387

108wk2(j1-2*js1,j2-2*js2,j3,ex)=(1.-omega)*u2(j1-2*js1,j2-2*js2,j3,ex) + omega*f(6) 388

109wk2(j1-2*js1,j2-2*js2,j3,ey)=(1.-omega)*u2(j1-2*js1,j2-2*js2,j3,ey) + omega*f(7) 389 end if 390 391 392 endLoopsMask2d() 393 ! =============== end loops ======================= 394

참고문헌 43건

  1. Computational Electrodynamics: The Finite-Difference Time-Domain Method 1995
  2. Optical resonance and two-level atoms 1987
  3. Design of low-threshold compact Au-nanoparticle lasers Optics Letters · Optica Publishing Group · 2010 10.1364/ol.35.002535
  4. Numerical methods for the bidimensional Maxwell–Bloch equations in nonlinear crystals Journal of Computational Physics · Elsevier BV · 2005 10.1016/j.jcp.2005.09.003
  5. Ultrafast pulse interactions with two-level atoms Physical Review A · American Physical Society · 1995 10.1103/physreva.52.3082
  6. Exact Nonreflecting Boundary Conditions for the Time Dependent Wave Equation SIAM Journal on Applied Mathematics · Society for Industrial and Applied Mathematics · 1995 10.1137/s0036139993269266
  7. Exactly solvable toy model for surface plasmon amplification by stimulated emission of radiation Optics Express · Optica Publishing Group · 2013 10.1364/oe.21.010779
  8. Modeling of threshold and dynamics behavior of organic nanostructured lasers Journal of Materials Chemistry C · Royal Society of Chemistry · 2014 10.1039/c3tc31870b
  9. Present state of self-induced transparency theory Physics Reports · Elsevier BV · 1990 10.1016/0370-1573(90)90142-o
  10. Coherent Amplification and Noise in Gain-Enhanced Nanoplasmonic Metamaterials: A Maxwell-Bloch Langevin Approach ACS Nano · American Chemical Society · 2012 10.1021/nn204692x
  11. Composite overlapping meshes for the solution of partial differential equations Journal of Computational Physics · Elsevier BV · 1990 10.1016/0021-9991(90)90196-8
  12. A High‐Order Accurate Parallel Solver for Maxwell’s Equations on Overlapping Grids SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 2006 10.1137/050644379
  13. Upwind schemes for the wave equation in second-order form Journal of Computational Physics · Elsevier BV · 2012 10.1016/j.jcp.2012.05.012
  14. Optical resonance and two-level atoms IEEE Journal of Quantum Electronics · IEEE Photonics Society · 1978 10.1109/jqe.1978.1069841
  15. Experimental retrieval of the kinetic parameters of a dye in a solid film Optics Express · Optica Publishing Group · 2011 10.1364/oe.19.018253
  16. Computational electrodynamics, the finite-difference time-domain method Journal of Atmospheric and Terrestrial Physics · Elsevier BV · 1996 10.1016/0021-9169(96)80449-1
  17. Surface Plasmon Amplification by Stimulated Emission of Radiation: Quantum Generation of Coherent Surface Plasmons in Nanosystems Physical Review Letters · American Physical Society · 2003 10.1103/physrevlett.90.027402
  18. Modeling Nonlinear Optical Phenomena in Nanophotonics Journal of Lightwave Technology · Institute of Electrical and Electronics Engineers · 2007 10.1109/jlt.2007.903547
  19. Finite-difference time-domain model of lasing action in a four-level two-electron atomic system Optics Express · Optica Publishing Group · 2004 10.1364/opex.12.003827
  20. 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
  21. Time discretizations for Maxwell‐Bloch equations Numerical Methods for Partial Differential Equations · Wiley · 2003 10.1002/num.10046
  22. FDTD analysis of wave propagation in nonlinear absorbing and gain media IEEE Transactions on Antennas and Propagation · IEEE Antennas & Propagation Society · 1998 10.1109/8.662652
  23. Nonreflecting Boundary Conditions for the Time-Dependent Wave Equation Journal of Computational Physics · Elsevier BV · 2002 10.1006/jcph.2002.7093
  24. Computational modeling of ultrashort powerful laser pulses in a nonlinear crystal Journal of Computational Physics · Elsevier BV · 2004 10.1016/j.jcp.2003.12.016
  25. Low-threshold lasing action in photonic crystal slabs enabled by Fano resonances Optics Express · Optica Publishing Group · 2011 10.1364/oe.19.001539
  26. Spasers with retardation and gain saturation: electrodynamic description of fields and optical cross-sections Optical Materials Express · Optica Publishing Group · 2015 10.1364/ome.5.002546
  27. Finite-difference time-domain model of lasing action in a four-level two-electron atomic system: erratum Optics Express · Optica Publishing Group · 2006 10.1364/oe.14.001702
  28. High-order upwind schemes for the wave equation on overlapping grids: Maxwell's equations in second-order form Journal of Computational Physics · Elsevier BV · 2017 10.1016/j.jcp.2017.09.037
  29. Model for describing plasmonic nanolasers using Maxwell-Liouville equations with finite-difference time-domain calculations Physical review. A/Physical review, A · American Physical Society · 2017 10.1103/physreva.96.053825
  30. Power Balance and Temperature in Optically Pumped Spasers and Nanolasers ACS Photonics · American Chemical Society · 2018 10.1021/acsphotonics.8b00705
  31. Exploring Time‐Resolved Multiphysics of Active Plasmonic Systems with Experiment‐Based Gain Models Laser & Photonics Review · Wiley · 2018 10.1002/lpor.201800071
  32. A high-order accurate scheme for Maxwell's equations with a generalized dispersive material model Journal of Computational Physics · Elsevier BV · 2018 10.1016/j.jcp.2018.11.021
  33. Time-domain dynamics of saturation of absorption using multilevel atomic systems Optical Materials Express · Optica Publishing Group · 2018 10.1364/ome.8.003829
  34. A high-order accurate scheme for Maxwell's equations with a Generalized Dispersive Material (GDM) model and material interfaces Journal of Computational Physics · Elsevier BV · 2020 10.1016/j.jcp.2020.109424
  35. mbsolve: An open-source solver tool for the Maxwell-Bloch equations Computer Physics Communications · Elsevier BV · 2021 10.1016/j.cpc.2021.108097
  36. Ten years of spasers and plasmonic nanolasers Light Science & Applications · Springer Nature · 2020 10.1038/s41377-020-0319-7
  37. Optoelectronic Device Simulations Based on Macroscopic Maxwell–Bloch Equations Advanced Theory and Simulations · Wiley · 2019 10.1002/adts.201900018
  38. Beyond the perturbative description of the nonlinear optical response of low-index materials Optics Letters · Optica Publishing Group · 2017 10.1364/ol.42.003225
  39. Time‐domain dynamics of reverse saturable absorbers with application to plasmon‐enhanced optical limiters Nanophotonics · De Gruyter · 2018 10.1515/nanoph-2018-0139
  40. Single and Multi‐Mode Directional Lasing from Arrays of Dielectric Nanoresonators Laser & Photonics Review · Wiley · 2021 10.1002/lpor.202000411
  41. Fundamentals of quantum electronics 1969
  42. Spasers explained Nature Photonics · Nature Portfolio · 2008 10.1038/nphoton.2008.85
  43. Nanoantennas and Plasmonics: Modelling, design and fabrication Institution of Engineering and Technology eBooks · Institution of Engineering and Technology · 2020 10.1049/sbew540e