Skip to main content

An Explicit Mapped Tent Pitching Scheme for Maxwell Equations

Part of the Lecture Notes in Computational Science and Engineering book series (LNCSE,volume 134)


We present a new numerical method for solving time dependent Maxwell equations, which is also suitable for general linear hyperbolic equations. It is based on an unstructured partitioning of the spacetime domain into tent-shaped regions that respect causality. Provided that an approximate solution is available at the tent bottom, the equation can be locally evolved up to the top of the tent. By mapping tents to a domain which is a tensor product of a spatial domain with a time interval, it is possible to construct a fully explicit scheme that advances the solution through unstructured meshes. This work highlights a difficulty that arises when standard explicit Runge Kutta schemes are used in this context and proposes an alternative structure-aware Taylor time-stepping technique. Thus explicit methods are constructed that allow variable time steps and local refinements without compromising high order accuracy in space and time. These Mapped Tent Pitching (MTP) schemes lead to highly parallel algorithms, which utilize modern computer architectures extremely well.

1 Introduction

Electromagnetic waves propagate at the speed of light. Thus, the field at a certain point in space and time depends only on field values within a dependency cone. A tent pitching method introduces a special “causal” spacetime mesh that respects this finite speed of propagation. It is not limited to Maxwell equations, but can be applied to general hyperbolic equations. A tent pitching method requires a numerical scheme to discretize the equation on that mesh. Discontinuous Galerkin (DG) methods are of particular interest since they offer a systematic avenue to build high order methods. For a given initial condition at the bottom of a tent, the discrete equations may be solved within each individual tent, up to the tent top. The computed solution at the tent top provides initial conditions for the tents that follow later in time. This method is highly parallel, since many tents can be solved independently. Methods using such tent-pitched meshes may be traced back to [5, 7]. More recent works [1, 6, 8] develop Spacetime DG (SDG) methods within tents by formulating local variational problems, for which linear systems are set up and solved. Although these systems are local, the matrix size can grow rapidly with the polynomial order, especially in four-dimensional spacetime tents. In this context it is natural to ask if one can develop explicit schemes (which usually perform well under low memory bandwidth) that take advantage of tents.

A key ingredient to answer this question was presented in [2], where Mapped Tent Pitching (MTP) schemes were introduced. The MTP discretization, which proceeds by mapping tents to a spacetime cylinder, allows one to evolve the solution either implicitly or explicitly within tents. The memory requirements of the explicit MTP scheme are limited to what is needed for storing the spatial mesh, the solution coefficients at one time step, and the topology of the tents.

In this work, we show that notwithstanding the above-mentioned advantages of the explicit MTP scheme, one may lose higher order convergence if a naive time stepping strategy (involving a standard explicit Runge-Kutta scheme) is used. We then develop a new Taylor time-stepping for the local problems within tents. Despite its simplicity, our numerical experiments show that it delivers optimal order of convergence.

2 Mesh Generation by Tent Pitching

We start with a conforming spatial mesh consisting of elements \({\mathcal T} = \{ T \}\) and vertices \({\mathcal V} = \{ V \}\). We progress in time by defining a sequence of advancing fronts τ i. A front τ i is given as a standard nodal finite element function on this mesh. It is defined by storing the current time for every vertex of the mesh. We move from τ i to the next front τ i+1 by moving one vertex forward in time, while keeping all other vertices fixed. The spacetime domain between τ i and τ i+1 we call a tent. In Fig. 1, the red domain is the tent between τ i and τ i+1.

Its projection to the spatial domain is exactly the vertex patch ω V around V  of the original mesh. The data to be stored for one tent are the bottom and top-times of the central vertex, plus the times for all neighboring vertices.

Fig. 1
figure 1

Tent pitched spacetime mesh for a one-dimensional spatial mesh

Note that although the algorithm is described sequentially, it is highly parallel. Vertices with graph-distance of at least two can be moved forward independently. For example, in Fig. 1, all blue tents can be built and processed in parallel.

The distance for advancing a vertex is limited by the speed of light, a constraint often referred to in the literature as the causality condition. Under this condition, the Maxwell problem inside the tent is solvable using the initial conditions at the tent bottom. Thus, the top boundary is an outgoing boundary and no boundary conditions are needed there.

Note that the spatial mesh is refined towards the right boundary, which leads to smaller tent heights at the right boundary. Hence, smaller time steps in locally refined regions is a very natural feature of tent pitching methods.

3 The MTP Discretization

Now, we consider the discretization method for one tent domain K = {(x, t): x ∈ ω V, φ b(x) ≤ t ≤ φ t(x))}, where ω V is the union of elements containing the vertex V , and φ b and φ t are the bottom and top fronts, respectively, restricted to ω V. Our aim is to numerically solve the Maxwell system on K, namely

$$\displaystyle \begin{aligned} \partial_t \varepsilon E = \nabla \times H\;, \qquad \partial_t \mu H = -\nabla \times E\;, \end{aligned} $$

where boundary values for both fields are given at the tent bottom and ∇ = ∇x denotes the spatial gradient.

The approach of MTP schemes is to map the tent domain to a spacetime cylinder ω V × (0, 1) and solve the transformed equation there. The transformation from the cylinder to the tent is denoted by Φ: ω V × (0, 1) → K and is defined by \(\varPhi (x, \hat t) = (x, \varphi (x,\hat t))\) where

$$\displaystyle \begin{aligned} \varphi(x,\hat t) = (1-\hat t) \varphi_b(x) + \hat t \varphi_t (x)\;. \end{aligned}$$

It is similar to the Duffy transformation mapping a square to a triangle.

With the notation

$$\displaystyle \begin{aligned} \operatorname{skew} E = \left( \begin{array}{ccc} 0 & E_z & -E_y \\ -E_z & 0 & E_x \\ E_y & -E_x & 0 \end{array} \right)\;, \end{aligned}$$

we can rephrase the curl operator as \( \nabla \times E = \operatorname {div} \operatorname {skew} E, \) where the divergence of the matrix function is taken row-wise. To simplify notation further, we define \(u : K \rightarrow { {\mathbb R} }^6\) by u = (E, H), and set \(g : K \rightarrow {\mathbb R} ^6\) and \(f : K \rightarrow {\mathbb R} ^{6 \times 3}\) by

$$\displaystyle \begin{aligned} g(u) = \begin{bmatrix} \varepsilon E \\ \mu H \end{bmatrix}\;, \qquad f(u) = \left[ \begin{array}{r} -\operatorname{skew} H \\ \operatorname{skew} E \end{array} \right]\;. \end{aligned} $$

Then (1) may be rewritten as the conservation law \(\partial _t g(u) + \operatorname {div}_x f(u) = 0.\) Furthermore, we define \(F(u) \in {\mathbb R} ^{6 \times 4}\) as

$$\displaystyle \begin{aligned} F(u) = \left[ f(u) \;\; g(u) \right] = \left[ \begin{array}{rc} -\operatorname{skew} H & \;\varepsilon E \\ \operatorname{skew} E & \;\mu H \end{array} \right]\;, \end{aligned}$$

which allows us to write Maxwell’s system (1) as the spacetime conservation law

$$\displaystyle \begin{aligned} \operatorname{div}_{x,t} F(u) = 0\;. \end{aligned} $$

For each row of F, the spacetime divergence \(\operatorname {div}_{x,t}\) sums the spatial divergence of the first three components with the time-derivative of the last component (Fig. 2).

Fig. 2
figure 2

Tent mapped from a tensor product domain

Now, we apply the Piola transformation to pull back F from the tent K to the cylinder using the mapping Φ. The derivative of Φ and its transposed inverse are

$$\displaystyle \begin{aligned} \varPhi^\prime = \begin{bmatrix}{} I & 0 \\ \nabla \varphi^T & \delta \end{bmatrix} \qquad \text{and} \qquad (\varPhi^\prime)^{-T} = \begin{bmatrix} I & \;\;-\delta^{-1} \, \nabla \varphi \\ 0 & \delta^{-1} \end{bmatrix} \;. \end{aligned}$$

The Piola transform of F is \( \widehat F(\hat u) \,{=}\, {\mathcal P} \{ F \} \,{=}\, (\det \varPhi ^\prime ) (F \circ \varPhi ) (\varPhi ^\prime )^{-T} \) with \(\hat u\,{=}\,u\circ \varPhi \). Since the Piola transform provides an algebraic transformation of the divergence, Eq. (3) is simply transformed to \(\operatorname {div}_{x, \hat t} \widehat F(\hat u) = 0\) on the spacetime cylinder. Then, inserting the Jacobian of Φ leads us to the transformed equation

$$\displaystyle \begin{aligned} \partial_{\hat t} ( g(\hat u) - f(\hat u) \nabla\varphi) + \operatorname{div}_{x} ( \delta f(\hat u)) = 0\;, \end{aligned} $$

where δ(x) = φ t(x) − φ b(x) is the local height of the tent. Note that ∇φ is an affine-linear function in quasi-time \(\hat t\). Equation (4) describes the evolution of \(\hat u\) along quasi-time from \(\hat t = 0\) to \(\hat t = 1\). Details of the calculations are given in [2].

The next step is the space discretization of (4) by a standard discontinuous Galerkin method. Let V h ⊂ [L 2]6 be the DG finite element space of degree p on \(\mathcal {T}\). On each tent we search for \(\hat u : [0,1] \rightarrow V_h\) such that

$$\displaystyle \begin{aligned} \int_{\omega_V} \partial_{\hat t} \big[ g(\hat u) - f(\hat u) \nabla \varphi\big] \, v_h - \sum_{T \subset \omega_{V}} \int_T \delta f(\hat u) \nabla v_h + \sum_{F \subset \omega_V} \int_F \delta f_n (\hat u^+, \hat u^-) [\![ v ]\!] =0 \end{aligned}$$

holds for all v h ∈ V h and all \(\hat t \in [0,1]\). Only the restriction of V h on the patch ω V is used in this equation. The numerical flux \(f_n(\hat u^+, \hat u^-)\) depends on the positive trace \(\lim _{s \rightarrow 0^+} \hat u(x+sn)\) and negative trace \(\lim _{s \rightarrow 0^+} \hat u(x-sn)\), where n is a unit normal vector of arbitrary orientation to the face. The jump is defined as usual by \([\![ \hat u ]\!] := \hat u^+ - \hat u^-\) and the mean value by \(\{ \hat u \} := \tfrac {1}{2}( \hat u^+ + \hat u^- )\). One example is the upwind flux [3, p. 434]

$$\displaystyle \begin{aligned} f_n(\hat u^+, \hat u^-) = \left[ \begin{array}{r} \{ \hat H \} \times n + [\![ \hat E_t ]\!] \\ -\{ \hat E \} \times n + [\![ \hat H_t ]\!] \end{array} \right]\;, \end{aligned}$$

with the tangential components \(\hat E_t=-(\hat E\times n)\times n\) and \(\hat H_t=-(\hat H\times n)\times n\) of \(\hat E = E\circ \varPhi \) and \(\hat H = H\circ \varPhi \). Note that the local tent height δ enters the boundary integrals as a multiplicative factor. At the outer boundary of the vertex patch we have δ = 0, so the facet integrals on the outer boundary disappear. For the above semidiscrete system, initial values for the tent problem are given finite element functions at the tent bottom. The finite element solution on the tent top provides the initial conditions for the next level tent. Therefore, no projection of initial values is needed when propagating from one tent to the next.

After the semi-discretization, as usual, we are left to solve a system of \(N = \dim V_h(\omega _V)\) ordinary differential equations for \(U : [0,1] \rightarrow {\mathbb R} ^N\),

$$\displaystyle \begin{aligned} \frac{d}{d\hat t} \left[ M U \right](\hat t) - A U(\hat t) = 0 \;, \qquad \hat t \in (0,1)\;, \end{aligned} $$

given U(0). The non-standard feature of (5) is that M is an affine-linear function of the quasi-time \(\hat t\) (since our mapping enters the mass matrix M through ∇φ). The matrix A is independent of \(\hat t\). A straightforward approach is to substitute Y = MU and solve

$$\displaystyle \begin{aligned} \frac{d}{d \hat t} Y - A M^{-1} Y = 0 \;, \end{aligned}$$

instead of (5). Although first order convergence was observed with this strategy, further numerical studies showed reduced order of convergence if the stage-order of the Runge Kutta (RK) method is not high enough—see Fig. 3 (right). While the implicit MTP schemes discussed in [2] do not show this problem, the issue remains critical for explicit schemes. Thus, we propose to use a new type of explicit time-stepping for time discretization, discussed next.

4 Structure-Aware Taylor Time-Stepping

Returning to the ordinary differential equation (5) and continuing to make the substitution Y = MU, we now reconsider the previous equation as the following differential-algebraic system:

$$\displaystyle \begin{aligned} \frac{d}{d\hat t} Y = A U\;, \qquad Y = M U\;. \end{aligned} $$

We begin by subdividing the interval (0, 1) into \(m\in \mathbb {N}\) smaller intervals of size \(\frac {1}{m}\), defined by \((\hat t_i,\hat t_{i+1})=(\frac {i}{m},\frac {i+1}{m})\), for \(i\in \mathbb {N}\) and 0 ≤ i ≤ m − 1. Recall that A is independent of quasi-time \(\hat t\), and M is an affine function of \(\hat t\), i.e.,

$$\displaystyle \begin{aligned} M(\hat t) = M_i + (\hat t - \hat t_i) M', \qquad \hat t \in (\hat t_i, \hat t_{i+1}) \end{aligned}$$

where \(M_i = M(\hat t_i)\) and the derivative M′ is a constant matrix. We want to design a time-stepping scheme that is aware of this structure.

Consider the approximations to Y, U on \((\hat t_i,\hat t_{i+1})\) in the form of Taylor polynomials Y i, U i of degree q, defined by

$$\displaystyle \begin{aligned} Y_i(\hat t) = \sum_{n=0}^{q} \frac{(\hat t - \hat t_i)^n}{n!} Y_{i,n} \qquad U_i(\hat t) = \sum_{n=0}^{q-1} \frac{(\hat t - \hat t_i)^n}{n!} U_{i,n}\;, \qquad \hat t \in (\hat t_i,\hat t_{i+1})\;,\end{aligned} $$

where \(Y_{i,n}=Y_i^{(n)}(\hat t_i)\) and \(U_{i,n}=U_i^{(n)}(\hat t_i).\) To find these derivatives, we differentiate both equations of (6) n times to get

$$\displaystyle \begin{aligned} Y^{(n+1)}(\hat t) & = A U^{(n)}(\hat t)\;, &n \ge 0\;, \\ Y^{(n)}(\hat t) & = M(\hat t) U^{(n)}(\hat t) + n M' U^{(n-1)}(\hat t)\;, &n \ge 1\;. \end{aligned} $$

For the second equation we used Leibnitz’ formula \((fg)^{(n)} = \sum _{i=0}^n { n \choose i } f^{(i)} g^{(n-i)}\), and the fact that M is affine-linear. Evaluating these equations for the Taylor polynomials Y i, U i at \(\hat t = \hat t_i\), we obtain a recursive formula for Y i,n and U i,n in terms of U i,n−1, namely

$$\displaystyle \begin{aligned} \begin{array}{r c l @{\qquad }l} Y_{i,n} & = & A U_{i,n-1}\;, & 1\le n \le q\;, \\ {} M_i U_{i,n} & = & Y_{i,n} - n M' U_{i,n-1}\;, & 1\le n \le q-1\;, \end{array} \end{aligned} $$

for all 0 ≤ i ≤ m − 1. Given \(Y_{0,0} = Y(\hat t_0)\), M 0 U 0,0 = Y 0,0, applying (8) with i = 0 gives the approximate functions \(Y_0(\hat t), U_0(\hat t)\) in the first subinterval \((\hat t_0, \hat t_1)\). The recursive formulas are initiated for later subintervals at n = 0 by

$$\displaystyle \begin{aligned} Y_{i,0} &= Y_{i-1}(\hat t_i), & M_i U_{i,0} & = Y_{i,0}\;, && 1\le i\le m-1\;. \end{aligned} $$

After the final subinterval, we get Y m−1(t m), our approximation to Y (1). We shall refer to the new time-stepping scheme generated by (8) as the q-stage SAT (structure-aware Taylor) time-stepping.

Note that Y m−1(t m) is our approximation to Y = MU at the top of the tent. This value is then passed to the next tent in time. The time dependence of M arises from the time dependence of ∇φ. This gradient is continuous along spacetime lines of constant spatial coordinates. Therefore, when passing from one element of a tent to the same element within the next tent in time, Y  is continuous (since the solution U is continuous). Of course, on flat fronts ∇φ = ∇τ = 0, so there M is just a diagonal matrix containing the material parameters.

To briefly remark on the expected convergence rate of a q-stage SAT time-stepping, recall that due to the mapping of the MTP method we solve for \(\hat u = u \circ \varPhi \), which satisfies \( \partial ^n_{\hat t} \hat u = \delta ^n (\partial ^n_tu) \circ \varPhi \). The causality condition implies that δ → 0 if the mesh size h → 0. Thus we may expect the nth temporal derivative of \(\hat u\), and correspondingly U (n), to go to zero at the rate \(\mathcal {O}(h^n)\). By using a q-stage SAT time-stepping, we approximate the first q − 1 terms of the exact Taylor expansion of U. Thus we expect the convergence rate to be O(h q), the size of the remainder term involving U (q). The next section provides numerical evidence for this.

Before concluding this section, we should note that in (8) and (9), we tacitly assumed that M i is invertible. Let us show that this is indeed the case whenever the causality condition (see Sect. 2) \(|\nabla \varphi | < \sqrt {\varepsilon \mu }\) is fulfilled. At any quasi-time \(\hat t\), given a \(\hat w = (\hat {w}_E, \hat {w}_H) \in V_h\) whose coefficient vector in the basis expansion is \(W \in \mathbb {R}^N\), consider the equation \(M(\hat t) U = W\) for the coefficient vector U of \( \hat u \in V_h\). This equation, in variational form, is

$$\displaystyle \begin{aligned} \int_{\omega_V} [ g(\hat u) - f(\hat u) \nabla \varphi ] \cdot \hat v= \int_{\omega_V} (\hat{w}_E, \hat{w}_H) \cdot \hat v, \qquad \text{ for all } \hat v \in V_h. \end{aligned} $$

Let \(a(\hat u, \hat v)\) denote the left hand side of (10). To prove solvability of (10), it suffices to prove that a(⋅, ⋅) is a coercive bilinear form on [L 2]6 for any \(\hat t\). By inserting \(g(\hat u) = [\varepsilon \hat E, \mu \hat H ]^T\) and \(f(\hat u) = [-\operatorname {skew} \hat H, \operatorname {skew} \hat E]^T\) into \(a(\hat u, \hat u)\),

$$\displaystyle \begin{aligned} \begin{array}{rcl} a(\hat u,\hat u) &\displaystyle = &\displaystyle \int_{\omega_V} ( \varepsilon \hat E - \hat H \times \nabla \varphi)\cdot \hat E + ( \mu \hat H + \hat E \times \nabla \varphi)\cdot \hat H \\ &\displaystyle = &\displaystyle \int_{\omega_V} \varepsilon \hat E\cdot \hat E + \mu \hat H\cdot \hat H + 2 (\hat E \times \nabla \varphi)\cdot \hat H \\ &\displaystyle \ge &\displaystyle \int_{\omega_V} \varepsilon \hat E\cdot \hat E + \mu \hat H\cdot \hat H - 2 \frac{|\nabla \varphi|}{\sqrt{\varepsilon\mu}} \sqrt{\varepsilon}|\hat E|\sqrt{\mu}|\hat H| \;, \end{array} \end{aligned} $$

where we used the Cauchy-Schwarz inequality and inserted \(\sqrt {\varepsilon }\) and \(\sqrt {\mu }\) to achieve the desired scaling. By applying Young’s inequality and \(|\nabla \varphi | < \sqrt {\varepsilon \mu }\),

$$\displaystyle \begin{aligned} \begin{array}{rcl} a(\hat u,\hat u) &\displaystyle \ge &\displaystyle \int_{\omega_V} \varepsilon \hat E\cdot \hat E + \mu \hat H\cdot \hat H - \frac{|\nabla \varphi|}{\sqrt{\varepsilon\mu}} (\varepsilon \hat E\cdot \hat E + \mu \hat H\cdot \hat H) \\ &\displaystyle = &\displaystyle \int_{\omega_V} \left( 1 - \frac{|\nabla \varphi|}{\sqrt{\varepsilon\mu}}\right) (\varepsilon \hat E\cdot \hat E + \mu \hat H\cdot \hat H) \ge C \min{(\varepsilon,\mu)} \|\hat u\|{}_{L_2}^2\;, \end{array} \end{aligned} $$

form some constant C > 0. Thus M i is invertible and the SAT time-stepping is well defined on all tents respecting the causality condition.

One may exploit the specific details of the Maxwell problem to avoid the assembly and the inversion of matrices M i (as we have done in our implementation). In fact, instead of (10), we can explicitly solve the corresponding exact undiscretized equation obtained by replacing V h by [L 2]6 in (10). The solution \(\hat u = ( \hat {E}, \hat {H})\) in closed form reads

$$\displaystyle \begin{aligned} \begin{array}{rcl} \hat E &\displaystyle = &\displaystyle \frac{1}{\varepsilon \mu - | \nabla \varphi |{}^2 } \left( I - \frac{1}{\varepsilon \mu} \nabla \varphi \nabla \varphi^T \right) (\mu \hat w_E + \hat w_H \times \nabla \varphi) \;, \\ \hat H &\displaystyle = &\displaystyle \frac{1}{\varepsilon \mu - | \nabla \varphi |{}^2 } \left( I - \frac{1}{\varepsilon \mu} \nabla \varphi \nabla \varphi^T \right) (\varepsilon \hat w_H - \hat w_E \times \nabla \varphi)\;. \end{array} \end{aligned} $$

We then perform a projection of these into V h to obtain the coefficients \(U(\hat t_i)\). For uncurved elements, this just involves the inversion of a diagonal mass matrix. For the small number of curved elements, we use a highly optimized algorithm which uses an approximation instead of the exact inverse mass matrix.

5 Numerical Results

The MTP discretization in combination with the SAT time-stepping on tents is implemented within the Netgen/NGSolve finite element library. In this section numerical results concerning accuracy as well as performance are reported.

5.1 Convergence Studies in Two Space Dimensions

We consider the model problem in two space dimensions

$$\displaystyle \begin{aligned} \partial_t \varepsilon E_z = \partial_xH_{y} - \partial_yH_{x}\;, \qquad \partial_t \mu H_x = -\partial_y E_{z}\;, \qquad \partial_t \mu H_y = \partial_x E_{z}\;, \end{aligned}$$

on the spacetime cube \([0,\pi ]^2 \times [0,\sqrt {2}\pi ]\). Parameters are set ε = μ = 1 such that speed of light is c = 1. Initial and boundary values are set such that the exact solution is given by

$$\displaystyle \begin{aligned} \begin{array}{rcl} E_z &\displaystyle = &\displaystyle \sin{}(x) \sin{}(y) \cos{(\sqrt{2}t)}\;, \\ H_x &\displaystyle = &\displaystyle -\tfrac{1}{\sqrt{2}} \sin{}(x) \cos{}(y) \sin{(\sqrt{2}t)}\;, \\ H_y &\displaystyle = &\displaystyle \tfrac{1}{\sqrt{2}} \cos{}(x) \sin{}(y) \sin{(\sqrt{2}t)}\;. \end{array} \end{aligned} $$

Based on a spatial mesh with mesh size h, we generate a tent pitched mesh such that the maximal slope |∇φ| is bounded by (2c)−1 and apply a discontinuous Galerkin method in space using polynomials of order p, with 1 ≤ p ≤ 4. On each cylinder we perform a (p + 1)-stage SAT time-stepping with m = 2p intervals. The spatial L 2 error of all field components at the final time is reported in the left plot of Fig. 3. We observe that the error goes to zero at the optimal rate of \(\mathcal {O}(h^{p+1})\) until we are close to machine precision.

In contrast, the right plot in Fig. 3 illustrates the previously mentioned loss of convergence rates when the classical Runge-Kutta method is used. The convergence rates stagnate at first order no matter what p is used. A similar behavior was also observed for other explicit Runge-Kutta methods.

Fig. 3
figure 3

Spatial L 2 error of all field components over degrees of freedom (dof) for the (p + 1)-stage SAT time-stepping (left) and the classical Runge-Kutta (right)

5.2 Large Scale Problem in Three Space Dimensions

As a second example we present a simulation on a domain similar to the resonator shown in [4]. The geometry is given as body of revolution of smooth B-spline curves. The mesh consisting of 489,593 curved tetrahedral elements is shown in Fig. 4. Due to higher curvature the mesh is refined along the inner roundings, where the ratio of the largest to the smallest element is approximately 5:1. We used a Gaussian peak (located at the axis of revolution and the position of the fifth inner rounding) for the electric field as initial data. The explicit MTP scheme with SAT time-stepping then computed the solution at t = 260 using time slabs of height 1, with each slab composed of N tents = 149, 072 tents. On each tent we used a (p + 1)-stage SAT time-stepping with m = 2p intervals, where p denotes the spatial polynomial order. With the spatial degrees of freedom N dof,i of the ith tent and the number of stages q = p + 1, we obtain the total spacetime degrees of freedom per time slab

$$\displaystyle \begin{aligned} \sum_{i=1}^{N_{\mathrm{tents}}} N_{\mathrm{dof},i}\,m\, q = \left(\sum_{i=1}^{N_{\mathrm{tents}}} N_{\mathrm{dof},i}\right) 2p(p+1)\;. \end{aligned}$$

The corresponding numbers of degrees of freedom and the simulation times are shown in Table 1. In [4] a similar problem is solved using a discontinuous Galerkin method with quadratic elements, combined with a polynomial Krylov subspace method in time. Using 96 cores it took them 7:10 h to reach the final time. Our simulation with polynomial order p = 3, which has a comparable number of unknowns, took 3:33 h on 64 cores. This significant speed up is an illustration of the capability of the new method. The H y component of the obtained solution at t = 260, using third order polynomials in space, is shown in Fig. 4.

Table 1 Number of degrees of freedom and simulation times for spatial polynomial ordersp = 2, 3
Fig. 4
figure 4

Tetrahedral mesh with 489 k curved elements, ratio of the largest to the smallest element of approximately 5:1 and the H y component of solution at t = 260 calculated with spatial polynomial order p = 3


  1. Abedi, R., Petracovici, B., Haber, R.B.: A spacetime discontinuous Galerkin method for elastodynamics with element-wise momentum balance. Comput. Methods Appl. Mech. Eng. 195, 3247–3273 (2006)

    CrossRef  Google Scholar 

  2. Gopalakrishnan, J., Schöberl, J., Wintersteiger, C.: Mapped tent pitching schemes for hyperbolic systems. SIAM J. Sci. Comput. 39, B1043–B1063 (2017)

    MathSciNet  CrossRef  Google Scholar 

  3. Hesthaven, J.S., Warburton, T.: Nodal Discontinuous Galerkin Methods. Texts in Applied Mathematics, vol. 54. Springer, New York (2008). Algorithms, analysis, and applications

    Google Scholar 

  4. Hochbruck, M., Pažur, T., Schulz, A., Thawinan, E., Wieners, C.: Efficient time integration for discontinuous Galerkin approximations of linear wave equations. ZAMM Z. Angew. Math. Mech. 95(3), 237–259 (2015)

    MathSciNet  CrossRef  Google Scholar 

  5. Lowrie, R.B., Roe, P.L., van Leer, B.: A space-time discontinuous Galerkin method for the time-accurate numerical solution of hyperbolic conservation laws. In: Proceedings of the 12th AIAA Computational Fluid Dynamics Conference, pp. 95–1658 (1995)

    Google Scholar 

  6. Monk, P., Richter, G.R.: A discontinuous Galerkin method for linear symmetric hyperbolic systems in inhomogeneous media. J. Sci. Comput. 22/23, 443–477 (2005)

    Google Scholar 

  7. Richter, G.R.: An explicit finite element method for the wave equation. Appl. Numer. Math. 16(1–2), 65–80 (1994)

    MathSciNet  CrossRef  Google Scholar 

  8. Yin, L., Acharia, A., Sobh, N., Haber, R.B., Tortorelli, D.A.: A spacetime discontinuous Galerkin method for elastodynamics analysis. In: Cockburn, B., Karniadakis, G., Shu, C.W. (eds.) Discontinuous Galerkin Methods: Theory, Computation and Applications, pp. 459–464 (2000)

    CrossRef  Google Scholar 

Download references


This work was supported in part by the National Science Foundation.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Jay Gopalakrishnan .

Editor information

Editors and Affiliations

Rights and permissions

Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made.

The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.

Reprints and Permissions

Copyright information

© 2020 The Author(s)

About this paper

Verify currency and authenticity via CrossMark

Cite this paper

Gopalakrishnan, J., Hochsteger, M., Schöberl, J., Wintersteiger, C. (2020). An Explicit Mapped Tent Pitching Scheme for Maxwell Equations. In: Sherwin, S.J., Moxey, D., Peiró, J., Vincent, P.E., Schwab, C. (eds) Spectral and High Order Methods for Partial Differential Equations ICOSAHOM 2018. Lecture Notes in Computational Science and Engineering, vol 134. Springer, Cham.

Download citation