6661
y
Managing editor A. Iserles DAMPT, University of Cambridge, Silver Street Cambridge CBS 9EW, England
Editorial Board C. de Boor, University of Wisconsin, Madison, USA F. Brezzi, Instituto di Analisi Numerica del CNR, Italy J. C. Butcher, University of Auckland, New Zealand P. G. Ciarlet, Universite Paris VI, France G. H. Golub, Stanford University, USA H. B. Keller, California Institute of Technology, USA H.-O. Kreiss, University of California, Los Angeles, USA K. W. Morton, University of Oxford, England M. J. D. Powell, University of Cambridge, England R. Temam, Universite Paris-Sud, France
eta
Nkimerica Volume 8
1999
CAMBRIDGE UNIVERSITY PRESS
PUBLISHED BY THE PRESS SYNDICATE OF THE UNIVERSITY OF CAMBRIDGE
The Pitt Building, Trumpington Street, Cambridge, United Kingdom CAMBRIDGE UNIVERSITY PRESS
The Edinburgh Building, Cambridge CB2 2RU, UK www.cup.cam.ac.uk 40 West 20th Street, New York, NY 10011-4211, USA www.cup.org 10 Stamford Road, Oakleigh, Melbourne 3166, Australia Ruiz de Alarcon 13, 28014 Madrid, Spain © Cambridge University Press 1999 This book is in copyright. Subject to statutory exception and to the provisions of the relevant collective licensing agreements, no reproduction of any part may take place without the written permission of Cambridge University Press. First published 1999 Printed in the United Kingdom at the University Press, Cambridge Typeface Computer Modern ll/13pt
System IMgX [UPH]
A catalogue record for this book is available from the British Library Library of Congress Cataloguing in Publication data available ISBN 0-521-77088-2 hardback ISSN 0962-4929
Contents
Numerical relativity: challenges for computational science
1
Gregory B. Cook and Saul A. Teukolsky
Radiation boundary conditions for the numerical simulation of waves
47
Thomas Hagstrom
Numerical methods in tomography
107
Frank Natterer
Approximation theory of the MLP model in neural networks 143 Allan Pinkus
An introduction to numerical methods for stochastic differential equations
197
Eckhard Platen
Computation of pseudospectra Lloyd N. Trefethen
247
Ada Numerica (1999), pp. 1-45
© Cambridge University Press, 1999
Numerical relativity: challenges for computational science Gregory B. Cook and Saul A. Teukolsky* Center for Radiophysics and Space Research, Cornell University, Ithaca, NY 14853, USA E-mail: cook@spacenet. tn. Cornell. edu
[email protected]
We describe the burgeoning field of numerical relativity, which aims to solve Einstein's equations of general relativity numerically. The field presents many questions that may interest numerical analysts, especially problems related to nonlinear partial differential equations: elliptic systems, hyperbolic systems, and mixed systems. There are many novel features, such as dealing with boundaries when black holes are excised from the computational domain, or how even to pose the problem computationally when the coordinates must be determined during the evolution from initial data. The most important unsolved problem is that there is no known general 3-dimensional algorithm that can evolve Einstein's equations with black holes that is stable. This review is meant to be an introduction that will enable numerical analysts and other computational scientists to enter the field. No previous knowledge of special or general relativity is assumed.
CONTENTS 1 Introduction 2 Initial data 3 Evolution 4 Related literature 5 Conclusions References
2 14 25 38 39 40
* Also Departments of Physics and Astronomy, Cornell University, Ithaca, NY 14853.
G. B. COOK AND S. A. TEUKOLSKY
1. Introduction Much of numerical analysis has been inspired by problems arising from the study of the physical world. The flow of ideas has often been two-way, with the original discipline flourishing under the attention of professional numerical analysis. In this review we will describe the burgeoning field of numerical relativity, which aims to solve Einstein's equations of general relativity numerically. The field contains many novel questions that may interest numerical analysts, and yet is essentially untouched except by physicists with training in general relativity. The subject presents a wealth of interesting problems related to nonlinear partial differential equations: elliptic systems, hyperbolic systems, and mixed systems. There are many novel features, such as dealing with boundaries when black holes are excised from the computational domain, or how to even pose the problem computationally when the coordinates must be determined during the evolution from initial data. Perhaps the most important unsolved problem is that, at the time of writing, there is no known general 3-dimensional algorithm that can evolve Einstein's equations with black holes that is stable. What red-blooded computational scientist could fail to rise to such a challenge? This review is meant to be an introduction that will enable numerical analysts and other computational scientists to enter the field - a field that has a reputation for requiring arcane knowledge. We hope to persuade you that this reputation is undeserved. Our review will not assume any previous knowledge of special or general relativity, but some elementary knowledge of tensors will be helpful. We will give a brief introduction to these topics. This should be sufficient to follow the main part of the review, which describes the formulation of general relativity as a computational problem. We then describe various methods that have been proposed for attacking the problem numerically, and outline the successes and failures. We conclude with a summary of several outstanding problems. While numerical relativity encompasses a broad range of topics, we will only be able to cover a portion of them here. The style of this review is more informal than those usually found in this journal. There are two reasons for this. First, numerical relativity itself is largely untouched by rigorous investigation, and few results have been formalized as theorems. Second, the authors are physicists, for which we beg your indulgence. 1.1.
Resources
A somewhat terse introduction to the partial differential equations of general relativity aimed at mathematicians can be found in Taylor (1996, Section 18). A more leisurely and complete exposition of the subject is given
NUMERICAL RELATIVITY
3
by Sachs and Wu (1977). Standard textbooks aimed at physicists include Misner, Thorne and Wheeler (1973) and Wald (1984). Several collaborations are working on problems in numerical relativity. Information is available at the web sites www.npac.syr.edu/projects/bh and j e a n - l u c . n c s a . u i u c . e d u . These sites also include links to DAGH (Parashar and Brown 1995), a package supporting adaptive mesh refinement for elliptic and hyperbolic equations on parallel supercomputers.
1.2. Special relativity Physical phenomena require four coordinates for their specification: three for the spatial location and one for the time. The mathematical description of special relativity unifies the disparate concepts of space and time into spacetime, a 4-dimensional manifold that is the arena for physics. Points on the manifold correspond to physical events in spacetime. The geometry of spacetime is described by a pseudo-Euclidean metric, ds 2 = - dt2 + dx2 + dy2 + dz2,
(1.1)
which describes the infinitesimal interval, or distance, between neighbouring events.1 All of physics takes place in this fixed background geometry, which is also called Minkowski space. We label the coordinates by Greek indices a, (3,... , taking on values from 0 to 3 according to the prescription x° = t,
xl = x,
x2 = y,
x 3 = z.
(1.2)
Then, if we introduce the metric tensor r?Q/3 = d i a g ( - l , 1,1,1),
(1.3)
we can write equation (1.1) as ds 2 = r]a3 dxa dx13.
(1.4)
Here and throughout we use the Einstein summation convention: whenever indices are repeated in an equation, there is an implied summation from 0 to 3. A special role is played by null intervals, for which ds2 = 0. Events connected by such an interval can be joined by a light ray. More generally, a curve in spacetime along which ds 2 = 0 is a possible trajectory of a light ray, and is called a null worldline. Similarly, we talk of timelike intervals and timelike worldlines (ds 2 < 0) and spacelike intervals and spacelike worldlines 1
We always use the same units of measurement for time and space. It is convenient to choose these units such that the speed of light is one. Thus 1 second of time is equivalent to 3 x 1010 cm of time.
4
G. B. COOK AND S. A. TEUKOLSKY
(ds2 > 0). For a timelike worldline, the velocity (1.5) is everywhere less than 1; this corresponds to the trajectory of a material particle. A spacelike worldline would correspond to a particle travelling faster than the speed of light, which is impossible. Just as rotations form a symmetry group for the Euclidean metric, the set of Lorentz transformations forms the symmetry group of the metric (1.4). A Lorentz transformation is defined by a constant matrix A a a that transforms the coordinates according to a x
_*. xa' = Aa'aXa.
(1.6)
It must preserve the interval ds 2 between events. Substituting the transformation (1.6) into (1.4) and requiring invariance gives the matrix equation 7] = ATr/A.
(1.7)
This equation is the generalization of the relation 6 = RTR for the rotation group, where 6 is the Kronecker delta (identity matrix), the Euclidean metric tensor, and R is a 3 x 3 rotation matrix. The Lorentz group turns out to be 6-dimensional. It contains the 3-dimensional rotation group as a subgroup. The other three degrees of freedom are associated with boosts, transformations from one coordinate system to another moving with uniform velocity in a straight line with respect to the first. Note that in special relativity we select out a preferred set of coordinate systems for describing spacetime, those in which the interval can be written in the form (1.1). These are called inertial coordinate systems, or Lorentz reference frames. An observer in spacetime makes measurements - that is, assigns coordinates to events. Thus an observer corresponds to some choice of coordinates on the manifold. Corresponding to the inertial or Lorentz coordinates, we also use the terms inertial observers or Lorentz observers. The relation (1.6) is phrased in physical terms as follows: all inertial observers are related by Lorentz transformations. Physically, an inertial observer is one for whom a free particle moves with uniform velocity in a straight line. Note that the worldline in spacetime (curve on the manifold) traced out by a free particle is simply a geodesic of the metric. Requiring invariance of the interval under Lorentz transformations builds in one of the physical postulates of special relativity, that the speed of light is the same when measured in any inertial reference frame. For ds2 = 0 is equivalent to v = 1, and a Lorentz transformation preserves ds 2 . The second far-reaching postulate of Einstein was that one cannot perform a
NUMERICAL RELATIVITY
5
physical experiment that distinguishes one inertial frame from another. In other words, suppose we write down an equation for some purported law of nature in one inertial coordinate system. Then we transform each quantity to another coordinate system moving with uniform velocity. When we are done, all quantities related to the velocity of the new frame must drop out of the equation, otherwise we could find a preferred frame with no velocity terms. This requirement turns out to restrict the possible laws of nature quite severely, and has been an important guiding principle in discovering the form of the laws. Mathematically, we implement the second postulate by writing all the laws of physics as tensor equations. We can always write such an equation in the form: tensor = 0. Since the tensor transformation law under Lorentz transformations is linear, if such an equation is valid in one inertial frame it will be valid in any other in the same form. One could use non-Lorentzian coordinates to describe spacetime. For example, one could use polar coordinates for the spatial part of the metric, or one could use the coordinates of an accelerated observer. However, the interpretation of these coordinates would still be done by referring back to an inertial coordinate system. The underlying geometry is still Minkowskian. Special relativity turns out to be entirely adequate for dealing with all the laws of physics, as far as we know, except for gravity. Einstein's great insight was that gravity could be described by giving up the flat metric of Minkowski geometry, and introducing curvature. 1.3. General relativity In general relativity, spacetime is still a 4-dimensional manifold of events, but it is endowed with a pseudo-Riemannian metric: ds2 = ga0dxadx0.
(1.8)
No choice of coordinates can reduce the metric to the form (1.4) everywhere: spacetime is curved. The metric tensor gap and its derivatives play the role of the 'gravitational field', as we shall see. The coordinates xa can be any smooth labelling of events in spacetime, and we are free to make arbitrary transformations between coordinate systems, xa^xa'
=xa\xa).
(1.9)
This is the origin of the 'general' in general relativity (general coordinate transformations). If the coordinates can be completely arbitrary, not necessarily related directly to physical measurements, how are measurements carried out in the theory? The answer depends on the following theorem. At any point in a manifold with a pseudo-Riemannian metric, there exists a coordinate
6
G. B. COOK AND S. A. TEUKOLSKY
transformation such that 0
= 0.
(1.10)
In other words,
ds2 = [Va0 + O(\x\2)} dxa dx$.
(1.11)
The proof follows from counting the degrees of freedom in the Taylor expansion of the transformation (1.9) about the chosen point. In fact, there is a whole 6-parameter family of such transformations, all related by Lorentz transformations that preserve r]ap. We call one of these coordinate systems a local Lorentz frame. It is the best approximation to the global Lorentz frames of special relativity that can be found in a general pseudo-Riemannian metric. To first order in |x|, the geometry is the same as that of special relativity. The observer can make measurements as in special relativity, provided they are local. In particular, ds2 itself is a physically measurable invariant. Departures from special relativity will be noticed on the scale set by the second derivatives of gap: the stronger the gravitational field, the more curved spacetime is, the smaller is this scale. Not only are measurements in a local inertial frame carried out as in special relativity. General relativity asserts that all the nongravitational laws of physics are the same in a local inertial frame as in special relativity. This is the Principle of Equivalence, a generalization from Einstein's famous thought experiment about an observer inside a closed elevator. Physics inside a uniformly accelerated elevator is indistinguishable from physics inside a stationary elevator in a uniform gravitational field. Conversely, inside an elevator freely falling in a uniform gravitational field there are no observable gravitational effects. A local inertial frame is just the reference frame of a freely falling observer. The mathematical implementation of the Principle of Equivalence is very similar to the mathematical implementation of the special relativity principle for uniform velocity, namely to write the laws of physics as tensor equations. Now, however, the tensors must be covariant under arbitrary coordinate transformations, not just under Lorentz transformations between inertial coordinate systems. A (nonunique) way of doing this is to start with any law valid in special relativity and replace all derivative operators by covariant derivative operators. In a general coordinate system, this introduces extra terms, the connection coefficients (Christoffel symbols). They are assumed to represent the effects of the gravitational field. Contrast this with special relativity. There, transforming from one inertial frame to another introduces terms from the velocity of the transformation. Covariance requires that these terms cancel out, restricting the form of the laws. Here, covariance introduces terms involving derivatives of the metric that are interpreted as gravitational effects. Thus no purported law of physics that is valid in special
NUMERICAL RELATIVITY
7
relativity can be ruled out a priori: the real world has to be consulted via experiment. An example of a generalization of a law from special to general relativity is the law of motion of a test particle: we postulate that the worldline is a geodesic of spacetime. In Newton's theory of gravity the gravitational field is measured simply by the gravitational acceleration of a test particle released at a point. In general relativity, gravitational effects can always be removed locally by going to a freely falling frame. So what is the meaning of a 'true' gravitational field at a point? The answer is that the true gravitational field is a measure of the difference between the gravitational accelerations of two nearby test bodies. This is often called the tidal gravitational field, since the difference between the Moon's pull on different parts of the Earth is responsible for the tides in Newtonian gravity. Differential geometers will recognize that the tidal gravitational field is encoded in the Riemann tensor, since we are describing the separation of neighbouring geodesies. l.Jf.. Some differential geometry We summarize here some basic formulas of differential geometry. Our purpose is mainly to establish notation and sign conventions, which unfortunately are not standardized in the literature. A vector V at any point in the manifold can be expressed in terms of its components in some basis V = Vaea.
(1.12)
In this paper we will restrict ourselves to coordinate basis vectors for simplicity. These are tangent to the coordinate lines, so we can write them as the differential operators
The dot product of the basis vectors is given by the metric tensor ea-ep
= gaf3.
(1.14)
The 1-forms comprise the dual space to the space of vectors, that is, for every vector V and 1-form A, (A, V) defines a linear mapping to the real numbers. Since we are in a metric space, we set up a correspondence between vectors and 1-forms: V corresponds to V if and only if (V", W) = V W for all W. If we introduce basis 1-forms to write the components Va of V, then the correspondence can be written Va = ga0Vp.
(1.15)
This is called 'lowering an index'. In physical applications, we treat a vector
8
G. B. COOK AND S. A. TEUKOLSKY
and its corresponding 1-form as describing the same physical quantity, just with different representations. In the older literature, vectors and 1-forms are called contravariant vectors and covariant vectors. We still refer to the components as contravariant (up) or covariant (down). This use of the term 'covariant' should not be confused with the generic usage that denotes correct transformation properties under coordinate transformations. Tensors are multilinear maps from product spaces of 1-forms and vectors to real numbers. For example, Tai^AaBfiC1
= number.
(1.16)
Again, we do not distinguish between tensors where a 1-form is replaced by its corresponding vector or vice versa: T^^A^B^C^ = Ta^AaB/3C1.
(1.17)
This leads to 'index gymnastics', where components of a tensor can be raised and lowered with gap or the inverse metric tensor ga@, T V = 5 a %/3 7 -
(1-18)
The covariant (coordinate invariant) derivative operator is represented by the operator VQ, which denotes the ath component of the covariant derivative, or the covariant derivative in the a direction. The covariant derivative of a scalar is simply the usual partial derivative: if f(x^) is a scalar function over the manifold, then its covariant derivative is
VJ = ^
- daf.
(1.19)
The covariant derivative of a vector field with components V^ is a secondrank tensor with components defined by V Q y = daV* + VaT»aa.
(1.20)
Here, T^av is the connection coefficient, which is not a tensor. The corresponding formula for a 1-form follows from linearity and the fact that (A, V) is a scalar: V Q ^ = daAp - AaT\a. (1.21) Similarly, for a general tensor the covariant derivative is the partial derivative with one 'correction term' with a plus sign for each up-index, and one correction term with a minus sign for each down-index. The values of the connection coefficients are T^aa = \g^{dagva
+ da9va - dvgaa).
(1.22)
This formula follows from the requirement that the connection be compatible with the metric, that is, the covariant derivative of the metric vanishes, = da9llv - 9avT\a - g^T%a = 0.
(1-23)
NUMERICAL RELATIVITY
9
Covariant derivatives do not commute in general. The noncommutation defines the Riemann curvature tensor VaV/jV - V/jVaF" = R»val3Vu.
(1.24)
Its components can be written in terms of the connection and its derivatives (in a coordinate basis) as
R^P = dar"v0 - d0r\a + T»aar\p ~ r w .
(1.25)
Note that the Riemann tensor depends linearly on second derivatives of the metric and quadratically on first derivatives of the metric. Various symmetries reduce the number of independent components of the Riemann tensor in four dimensions from 44 to 20. It is a theorem that the Riemann tensor vanishes if and only if the geometry is flat, that is, there exist coordinates such that ga0 = r\ap everywhere. A contraction of a tensor produces another tensor of rank lower by two. For example, = A»afr.
(1.26)
Contractions of the Riemann tensor are very important in general relativity. They are called the Ricci tensor, rCfus = K fj,avj
(1-27)
R = Raa-
(1-28)
and the Ricci scalar,
The Einstein tensor is the trace-reversed Ricci tensor G^ = i V - \gixuR.
(1.29)
The covariant derivatives of the Riemann tensor satisfy certain identities, the Bianchi identities. Contracting these identities shows that the Einstein tensor satisfies four identities, also called the Bianchi identities: VuG^ = 0.
(1.30)
These identities play a crucial role in the formulation of general relativity. 1.5. Einstein's field equations We have discussed how gravitation affects all the other phenomena of physics. To complete the picture we need to describe how the distribution of mass and energy determines the geometry, gap. Newtonian gravitation can be described as a field theory for a scalar field $ satisfying Poisson's equation, V 2 $ = 4-irGp.
(1.31)
10
G. B. COOK AND S. A. TEUKOLSKY
Here p is the mass density and G is Newton's gravitational constant, which depends on the units of measurement. The gravitational acceleration of any object in the field is given by — V<£. Because Newtonian gravity is governed by an elliptic equation, changes in the distribution of matter instantaneously change the gravitational potential everywhere. Propagation of effects at speeds greater than the speed of light leads to causality violation, and Newtonian gravity is not consistent with special relativity. General relativity is a dynamical theory in which changes in the gravitational field propagate causally, at the speed of light. Einstein's field equations are written as GV = 8vrGT^,
(1.32)
where G^p is the Einstein tensor (1.29) and T^ is the stress-energy tensor of matter and fields in the spacetime. In essence, (1-32) says that matter and energy dictate how spacetime is curved. The Bianchi identities (1.30) applied to Einstein's equations (1-32) imply that VUT^U = 0, which expresses conservation of the total stress-energy of the system, and is a fundamental property of all descriptions of matter. Thus (1.32) also says that the curvature of spacetime dictates how matter and energy flow through it. To solve Einstein's equations, we must find a metric that satisfies (1.32) at all spatial locations for all time. The metric we are looking for exists on a 4-dimensional manifold but, interestingly enough, Einstein's equations do not specify the topology of that manifold. Furthermore, the coordinates labelling points on the manifold are also freely specifiable. Coordinate freedom (e.g., using spherical or cylindrical coordinates) is common in solving field equations such as those of hydrodynamics, but there is a fundamental difference in the case of general relativity. With hydrodynamics, one solves for the density and velocity of matter within some specified geometry. The exact form of, say, the divergence of a vector field may vary depending on the coordinate system used, but the value of that divergence does not change. In general relativity, we are solving for the geometry that defines what the divergence operator means. In addition to changing the spatial coordinate system, we are also free to redefine the temporal coordinate. We can redefine the time coordinate so that the shape and embedding of 3-dimensional constant-time slices vary throughout the 4-dimensional manifold. This is a freedom that is not exploited in Newtonian hydrodynamics, but is very important in general relativity. Given a solution of Einstein's equations g^u, we may find that one choice of coordinates will lead to singularities in the metric, while another choice may be perfectly regular. How to determine a good choice of coordinates is one of the major open questions in numerical relativity. As with most complex theories, the majority of solutions to Einstein's equations have been obtained in the case of special symmetries, or in cer-
NUMERICAL RELATIVITY
11
tain limits where perturbation theory can be applied. The more general and more interesting solutions can only be obtained via numerical techniques. Given that general relativity is a 4-dimensional theory, a natural approach for solving the equations might be to discretize the full 4-dimensional domain into a collection of simplexes and solve the equations somehow on this lattice. A discrete form of Einstein's equations based on this idea was developed by Regge (1961) (see also Williams and Tuckey (1992)). While considerable efforts have been made to implement numerical schemes based upon this Regge calculus approach, they have not yet moved beyond test codes (cf. Barrett et al. (1997); Gentle and Miller (1998)). 1.6. Einstein's equations as a Cauchy problem G^ and T^v are symmetric in their indices, so (1-32) represents ten independent equations. From the definition of the Einstein tensor (1.29), we see that these ten equations are linear in the second derivatives, and quadratic in the first derivatives, of the metric. Since there are ten components of g^, it seems that we have the same number of equations as unknowns. But recall that there are four degrees of freedom to make coordinate transformations that leave ds2 invariant, according to equation (1.9). The problem is still well-posed, however, because of the four Bianchi identities (1.30). We therefore expect the ten equations (1.32) to decompose into four constraint or initial value equations, and only six evolution or dynamical equations. If the four initial value equations are satisfied at t = 0, the Bianchi identities guarantee that the evolution equations preserve them - at least analytically, if not numerically! (An analogous situation occurs for the initial value problem in Maxwell's equations of electromagnetism.) Another way of seeing that there are only six dynamical Einstein equations is that, when they are written out, only six involve second time-derivatives of the metric. Let us now consider the initial value formulation more carefully. Foliate the 4-dimensional manifold with a set of spacelike, 3-dimensional hypersurfaces (or slices) {£}. Label the slices by a parameter t, that is, the slices are t = constant. Let x% be spatial coordinates in the slices. (Latin indices range from 1 to 3 in this so-called 3 + 1 formulation of Einstein's equations.) Let n be the unit normal at some point on a slice, that is, fi = -aVt.
(1.33)
Choose the scalar function a to set the spacing of the slices by dsjalongn = &dt.
(1-34)
Here a is called the lapse function (sometimes denoted N in the literature), since it relates how much physical time elapses (ds) for a given coordinate
12
G. B. COOK AND S. A. TEUKOLSKY
Fig. 1. The 3 + 1 decomposition of spacetime. Neighbouring slices of the foliation are labelled by the value of the time coordinate on that slice. Spatial coordinates remain constant along the t direction as they evolve from S to to Eto+dt- n is the unit normal vector to the slice E to time change (dt). Equation (1.34) is equivalent to _
d
an= — dt along n, fixed x'
(1.35)
since then an-an
-
2
9
d
(1.36) gtt, dt dt which is the coefficient of dt2 in ds 2 when xl = constant, as required by (1.34). Now, in general, one is not required to evolve initial data off the t = 0 slice along the normal congruence. Consider a non-normal congruence threading the family of spacelike hypersurfaces. Let = -of
t
=
(1.37)
~d~t
be the tangent vector to the congruence, that is, t connects points with the same spatial coordinates xl. Then we can write (see Figure 1) t = an + 0,
P-n = O.
(1.38)
The spatial vector f3l is called the shift vector (sometimes denoted Nl in the literature). In terms of the metric components, equation (1.38) is equivalent to d_ d___ 2 (1.39) dt dt d d (1.40) 9ti ~ dt' Denote the spatial part of the metric gij by ^ . The quantity jij describes the intrinsic geometry on a 3-dimensional slice S. Then, in light of equa-
NUMERICAL RELATIVITY
13
tions (1.39) and (1.40), the general pseudo-Riemannian metric (1.8) can be rewritten as ds2 = -a2 dt2 + -jijidx1 + ft di)(dz J + ft di).
(1.41)
This is the standard starting point of most numerical attempts to solve Einstein's equations. We have seen that the four coordinate degrees of freedom in the theory are parametrized by a and (3l. (This is also called the gauge freedom of the theory.) We regard 7^ as a 'fundamental' variable of the theory. Rather than work with Einstein's equations as second order in time for this quantity, we introduce its 'time-derivative' Kij called the extrinsic curvature.2 The quantities 7^ and Kij completely describe the instantaneous state of the gravitational field. Recall that, in the 4-dimensional form of Einstein's equations, six of the ten field equations contain second time-derivatives. These now correspond to twelve first-order evolution equations for 7^ and K^. The particular value of 7^ induced by the 4-metric g^v onto a slice £ depends on how S is embedded into the full spacetime. In order for the foliation of slices {£} to fit into the higher-dimensional space, they must satisfy a set of four elliptic constraint equations. These are the remaining four field equations. We can write the twelve first-order evolution equations for 7^ and Kij as follows: + Vipj + VjPu dtKij
(1.42)
= a [iUj - 1KiiK\ + KKtj - SvGSij + AITG^J {S - p)] - VSjCt + ftViK.j + KuVjl? + KjiVlf3e.
(1.43)
Here Vj is the spatial covariant derivative compatible with 7^, Rij is the Ricci tensor associated with 7^, K = Kj, pis the matter energy density, Sij is the matter stress tensor, and 5 = Sj. The four constraint equations can be written as R + K2 ~Kl3Kij
= 16nGp,
(1.44)
=
(1.45)
8nGf.
Here, R = R\ and f is the matter momentum density. Equation (1-44) is referred to as the scalar or Hamiltonian constraint, while the three equations in (1-45) are referred to as the vector or momentum constraints. Both can be transformed into standard elliptic forms, as described in Section 2.1. In this 3 + 1, or Cauchy, initial value formulation of Einstein's equations, we evolve the gravitational field from some initial time slice So through 2
More precisely, Kij = —^Ca'yij, where C denotes the Lie derivative.
14
G. B. COOK AND S. A. TEUKOLSKY
time using (1.42) and (1.43). The initial data for the evolution are "fij and Kij, which must be chosen to satisfy the constraints (1.44) and (1.45) on So- As mentioned earlier, it can be shown that the evolution preserves the constraints. 1.7. The characteristic initial value problem An alternative approach for posing Einstein's equations as an initial value problem is to foliate spacetime with a set of null hypersurfaces. This leads to the 2 + 2, or characteristic, initial value formulation of general relativity (see Bishop, Gomez, Lehner, Maharaj and Winicour (19976) and references therein). The characteristic formulation of Einstein's equations is particularly adept at following gravitational waves propagating through the spacetime, but has difficulty in highly dynamic, strong field regions where the null surfaces tend to form caustics. Because of this problem, and the limited scope of this review, we will focus entirely on the Cauchy initial value formulation of general relativity. 2. Initial data The initial data for the Cauchy formulation of general relativity are the metric 7^ and extrinsic curvature Kij. These each have six components that must be fixed, a total of twelve. As discussed in Section 1.6, general relativity has a 4-dimensional coordinate invariance or gauge freedom that can be parametrized by the lapse and shift functions. These functions can be chosen to specify four of the twelve quantities (or relations among them). The four constraint equations fix four more quantities. The remaining four quantities describe the two 'dynamical degrees of freedom' of general relativity, four quantities satisfying first-order dynamical equations, or equivalently two quantities satisfying second-order wave-like equations. These four quantities are freely specifiable initial data, corresponding roughly to the initial gravitational wave content of the spacetime. In the weak field limit where the equations of general relativity can be linearized, there are clear ways to determine which components are dynamic, which are constrained, and which are gauge. However, in the full nonlinear theory, there is no unique decomposition. The approach one follows for decomposing the metric and extrinsic curvature determines the final form of the elliptic equations that constrain the initial data. 2.1. York—Lichnerowicz conformal
decomposition
The most widely used approach for separating out the freely specifiable initial data from the constrained initial data is the York-Lichnerowicz conformal decomposition. Here we give a brief summary. For a more complete discussion, with references to the original literature, see York (1979).
NUMERICAL RELATIVITY
15
First the metric is decomposed into a conformal factor multiplying a 3metric: Hj = ip%j.
(2.1)
The auxiliary 3-metric 7Y7 is called the conformal 3-metric. Its determinant can be normalized to some convenient value, leaving five degrees of freedom. Using (2.1), we can rewrite the Hamiltonian constraint (1.44) as VV - \ipR - \ipbK2 + \^Kl3K1^
= -2TTGIP5P,
(2.2)
where V2 and R are the scalar Laplace operator and the Ricci scalar associated with 7y. Equation (2.2) shows that i\) is constrained by the elliptic Hamiltonian constraint. The five components of 7^ contain two freely specifiable degrees of freedom together with three pieces of information related to the 3-dimensional spatial gauge freedom. These three pieces of information are essentially the initial choice of the spatial coordinate system which are then propagated by the shift vector. The extrinsic curvature is decomposed into its trace K and trace-free parts Alj via
Kij = AlJ + lfJK.
(2.3)
The embedding of the initial data hypersurface within the full spacetime fixes the initial time coordinate, the choice then being propagated by the lapse. Thus one piece of K^ is used to specify the time coordinate, and it is taken to be the trace K for geometric and physical reasons (O Murchadha and York 1974). K is thus freely specifiable in the initial data. The five components of A u can be further decomposed using a transverse-traceless decomposition. In order to write the full set of constraints in terms of operators on the conformal 3-geometry, it is necessary to conformally decompose Ali also. The conformal and transverse-traceless decompositions of A%:> do not commute, leading to two different formulations of the full set of constraint equations. Historically, the most widely used decomposition has applied the transverse-traceless decomposition to the conformally rescaled version of Ali. While somewhat less physically motivated, under certain simplifying assumptions this approach decouples the vector constraint equation (1-45) from the Hamiltonian constraint. This was an important simplification when computational power was limited. This is not so much of a concern any more and we present the alternative decomposition here. Readers wishing to skip the details can proceed to equation (2.9). We first decompose A%i as (2.4) where ij
U
j
je
he
(2.5)
16
G. B. COOK AND S. A. TEUKOLSKY
and Qli is a symmetric transverse-traceless tensor (i.e., it satisfies VjQ^ = Q\ = 0). The remainder of Ai:>, constructed from (LW) y , is referred to as the trace-free longitudinal part of the extrinsic curvature. In general, one would construct Q u ' from a general symmetric, trace-free tensor M u by subtracting off its longitudinal part. However, since the vector constraint is linear in Kij, we can rewrite (2.4) as A* = ip-4(LV)ij
+ i;-10Mij,
(2.6) ij
ij
j
where (LV) is defined as in (2.5) but with Vj -> Vj and -f -> f . Note that the longitudinal part of Ali is constructed from a new vector V1, not Wl (see below), and M1-7 = ij)wMl:>. We can now rewrite the vector, or momentum constraint (1-45) as j
^
Inip = f^VjA" - ip-6VjMij + 8irGip4jl.
(2.7)
This is a vector elliptic equation for V"\ where
AhVl = Vjilvy* = y'VfiiV1 + \iuV^3Vj)
+ feRejV\
(2.8)
and Rij is the Ricci tensor associated with the conformal 3-geometry jij. The vector Vz is a linear combination of both the three constrained longitudinal components of Ali represented by Wl in (2.4) and the longitudinal components of MXK Since Ali is traceless, this means that Qli, the transverse-traceless part of MlJ, contains two freely specifiable quantities that are taken as the two gravitational degrees of freedom. Finally, given (2.6), we can rewrite the Hamiltonian constraint (2.2) as (2.9) Equations (2.9) and (2.7) form the coupled set of four elliptic equations that must be solved with appropriate boundary conditions in order to specify gravitational data properly on a given constant-time slice. In the historically more widely used decomposition, the trace-free extrinsic curvature is expressed as
A* = ip-10Aij = i>-10 [(lV)i:> + M ij ] ,
(2.10)
and the Hamiltonian and momentum constraints reduce to 2
\
^
5
2
^
7
i
e
^
^ ,
(2.11) (2.12)
For more on this version of the decomposition, see York (1979). Two simplifying (but restrictive) choices are frequently made with the York-Lichnerowicz decomposition. First, the conformal 3-metric 7^ is taken
NUMERICAL RELATIVITY
17
to be flat (i.e., 6ij in Cartesian coordinates) and the full 3-geometry is said to be conformally flat. This is a reasonable choice, since it is true in the limit of weak gravity. This assumption simplifies the elliptic equations because now Rij = R = 0 and the derivative operators become the familiar flat-space operators. The second assumption usually made is that K = 0. This says that the initial data slice So is maximally embedded in the full spacetime. This is a physically reasonable assumption and, for the case of the decomposition (2.10), decouples the Hamiltonian and momentum constraint equations (2.11) and (2.12). These simplifying choices are used so frequently that many people implicitly assume that they are required in the YorkLichnerowicz decomposition. This, however, is not the case: the York-Lichnerowicz decomposition can be used to construct any initial data. In order to pose the problem of constructing gravitational initial data properly, we must specify boundary conditions. We will discuss the boundary conditions at the surfaces of black holes in Section 2.2. We must also specify boundary conditions at infinity. We are interested in the astrophysically relevant case of isolated systems (as opposed to cosmological models, for example). In this case, we demand that the hypersurface is M3 outside some compact set, and choose the data to be 'asymptotically flat'. A full and rigorous formulation of asymptotic flatness is quite tedious and unnecessary (see, for instance, York (1979) and references therein). For our purposes it will be sufficient to use the following. Assume that we are using a Cartesian coordinate system so that the spatial metric can be written as jij = Sij + hij. For the metric, it is sufficient to demand that htj = 0(r-1),
dkhtj = O(r'2) ,
r^oo.
(2.13)
For the extrinsic curvature, it is sufficient to demand that r^oo.
(2.14)
2.2. Black hole initial data Surprisingly, the most general isolated black hole in equilibrium is described by an analytic solution of the Einstein equations, the Kerr metric (Misner et al. 1973, Section 33). The solution contains two parameters, the mass and angular momentum (spin) of the black hole. (The solution that includes electric charge, the Kerr-Newman metric, is not likely to be astrophysically important.) A nonrotating black hole is a limiting case, described by the spherically symmetric Schwarzschild metric. The challenge in constructing more general black hole spacetimes is to devise schemes that can handle one or more holes with varying amounts of linear and angular momentum on each hole. One of the difficulties in constructing black hole initial data is that they almost always contain singularities.
18
G. B. COOK AND S. A. TEUKOLSKY
Most schemes for specifying black hole initial data avoid the singularities by imposing some form of boundary condition near the surface of each of the black holes. (An alternative is to include some kind of matter source to produce the black hole by gravitational collapse; see Shapiro and Teukolsky (1992) for an example.) The most thoroughly studied of these approaches uses the freedom within general relativity to specify the topology of the manifold. A maximal slice of the Kerr solution, the most general stationary black hole solution, has the property that it consists of two identical, causally disconnected universes (hypersurfaces) that are connected at the surface of the black hole by an 'Einstein-Rosen bridge' (Einstein and Rosen 1935, Misner et al. 1973, Brandt and Seidel 1995). We are free to demand that more general black hole initial data be constructed in a similar way from two identical hypersurfaces joined at the black hole 'throats' (Misner 1963). A method of images applicable to tensors can be used to enforce the isometry between the solutions on the two hypersurfaces and the isometry induces boundary conditions on the topologically S2 fixed point sets that form the boundaries where the two hypersurfaces are joined (Bowen 1979, Bowen and York 1980, Kulkarni, Shepley and York 1983, Kulkarni 1984). A second approach completely bypasses the issue of the topology of the initial data hypersurface by imposing a boundary condition at the 'apparent horizon' associated with each black hole (Thornburg 1987). We will come back to apparent horizons in Section 3.3. Yet another approach is based on factoring out the singular behaviour of the initial data (Brandt and Briigmann 1997). This approach uses an alternative topology for the initial data hypersurface in which each black hole in 'our' universe is connected to a black hole in a separate universe, producing a solution with JVBH + 1 causally disconnected universes joined at the throats of ./VBH black holes. This approach has the advantage of not requiring that boundary conditions be imposed on a spherical surface at each hole, making it easier to use a Cartesian coordinate system. All three of these approaches for constructing black hole initial data are simplified by being constructed on a conformally flat, maximally embedded hypersurface. Because they all use the alternative transverse-traceless decomposition of the extrinsic curvature, the Hamiltonian and momentum constraint equations are decoupled. In vacuum, there exists an analytic solution for the background extrinsic curvature A13 that satisfies the momentum constraint (1.45) for any tp (Bowen and York 1980). For a single black hole, this solution is A** =
~
+ ^
[ekieSenknj + ekitStnkvf\ .
(2.15)
NUMERICAL RELATIVITY
19
Here Pl and S% are the linear and angular momenta of the black hole, r is the Cartesian coordinate radius from the centre of the black hole located at Cl, and nl = (xl — Cl)/r in Cartesian coordinates. Further, fij is the flat metric in whatever coordinate system is used, and e ^ is the totally antisymmetric tensor. For a general spatial metric 7^, it is defined as e^-fc = y/^[ijk\, where [ijk] is the totally antisymmetric permutation symbol with [123] = 1, and
-7iintmAuAim
= 0,
(2.16)
o
The boundary condition on ip at large distances from the collection of black holes can be obtained from its asymptotic behaviour, ip —> l + C/r + O(r~2) where C is a constant. When the choice of topology is that of two isometric hypersurfaces, the isometry induces a boundary condition on the spherical surface where the two hypersurfaces connect, U
(2 17)
^^ = ~Yr
'
When the inner boundary is constructed to be an apparent horizon instead of using two isometric hypersurfaces, (2.17) is modified with a nonlinear correction; see Thornburg (1987) for details. The limitation of all three of the solution schemes described above is that the simplifying choice of a conformally flat 3-geometry and the analytic solution for the background extrinsic curvature represent a very limited choice for the unconstrained, dynamical portion of the gravitational fields. Also, a maximal slice (K = 0) may not always be a good choice for numerical evolutions. Moving beyond these limitations is the major challenge to be faced in constructing black hole initial data. This will certainly require solving the full coupled system of equations (2.9) and (2.7) (or alternatively (2.11) and (2.12)).
In equation (B7) of Cook (1991), '1 for n = V should read 'a
1
for n = 1'.
20
G. B. COOK AND S. A. TEUKOLSKY
2.3. Equilibrium stars An equilibrium or stationary solution of Einstein's equations has no time dependence. In coordinate-invariant language, the solution admits a Killing vector that is timelike at infinity. The metric is specified by a solution of the initial value equations that also satisfies the dynamical equations with time-derivatives set to zero. An important class of such solutions describes rotating equilibrium stars, which are axisymmetric. In axisymmetry there are just three nontrivial initial value equations. There is only one further equation to be satisfied from among the dynamical equations, and it is also elliptic because the time-derivatives have been set to zero. It is simpler in this case just to choose an appropriate form for the metric and solve the resulting four equations directly, without going through something like the York—Lichnerowicz decomposition. There are many numerical approaches for solving these equations to high accuracy: see Butterworth and Ipser (1976) and Friedman, Ipser and Parker (1986) and references therein for a description of a pseudo-spectral method; Komatsu, Eriguchi and Hachisu (1989) and Cook, Shapiro and Teukolsky (1994) and references therein for an iterative method based on a Green's function; Bonazzola, Gourgoulhon, Salgado and Marck (1993) and references therein for a spectral method. 2.4- Binary black holes The most important computations confronting numerical relativity involve binary systems containing black holes or neutron stars. Large experimental facilities are being built around the world in an effort to detect gravitational waves directly from astrophysical sources in the next few years (Abramovici et al. 1992). These binary systems are prime candidates as sources: as they emit gravitational waves they lose energy and slowly spiral inwards, until they finally plunge together emitting a burst of radiation. Since emission of gravitational radiation tends to circularize elliptical orbits, one is interested in initial data corresponding to quasicircular orbits. For the case of a binary black hole system, a very high accuracy survey has been performed to locate these orbits (Cook 1994). In this work, quasicircular orbits were found by locating binding energy minima4 along sequences of models with constant angular momentum (see Figure 2). Locating these minima required extremely high accuracy, which was achieved using a combination of techniques. First, the Hamiltonian constraint (2.16) was discretized on a numerically generated coordinate system specifically adapted 4
The equations for equilibrium stars can be derived from an energy variational principle. Thus the stability of such stars can be analysed by examining turning points along oneparameter sequences of equilibrium solutions (Sorkin 1982). The extension of this idea to quasi-equilibrium sequences is plausible, but has not been rigorously demonstrated.
NUMERICAL RELATIVITY
21
-0.02
-0.04
-0.06 -
-008 -
//m Fig. 2. The binding energy as a function of separation for models with a range of angular momenta. The bold line represents the sequence of quasicircular orbits passing through the minima of the binding energy, fi and m are the reduced and total masses of the binary system
to the problem, then solved using a FAS/block-multigrid algorithm (Cook et al. 1993). Then the results of several runs at different resolutions were combined using Richardson extrapolation to obtain results accurate to one part in 105. There are efforts under way to produce binary black hole initial data that may be more astrophysically realistic by using a linear combination of single spinning black hole solutions to provide a conformal 3-geometry %j that is not flat (Matzner, Huq and Shoemaker 1999). If the constraints can be successfully solved on this non-flat background, then a similar procedure can be used to locate the quasicircular orbits in these data sets as well. This would be extremely useful in estimating how much effect the choice of the conformal 3-geometry has on the location of these orbits. 2.5. Binary neutron stars Even in the simplest case, constructing astrophysically interesting initial data for binary neutron star systems is considerably more difficult than for
22
G. B. COOK AND S. A. TEUKOLSKY
black hole binaries. In addition to finding circular, near equilibrium solutions for the gravitational fields, we must also demand that the neutron star matter be in quasi-equilibrium. In Newtonian physics, a binary star system can exist as a true equilibrium. In general relativity this is not possible because of the loss of energy by gravitational wave emission. However, provided the stars are not so close that they are about to plunge together, the timescale for the orbit to change is much longer than the orbital period. Accordingly, one can look for solutions that neglect the gravitational radiation. Of particular interest are the two limiting cases where the neutron stars are co-rotating (no rotation in the frame co-rotating with the binary system) and counter-rotating (no rotation in the rest frame of the centre of mass). Several schemes have been devised to construct initial data for a neutron star binary in quasi-equilibrium (Wilson, Mathews and Marronetti 1996, Bonazzola, Gourgoulhon and Marck 1997, Baumgarte, Cook, Scheel, Shapiro and Teukolsky 1998). All of these schemes are based on the simplifying assumptions of conformal flatness and maximal slicing, differing primarily in how the neutron star matter is handled. We give here one particular example of the system of equations to be solved. First, the gravitational field equations are (Wilson et al. 1996)
V V + -/"ViVjJ /"ViVjJ
^ 2a = 2ip10AijVj (aip-6) + lfaGa^f, lfaGa^f,
(2.19)
= -&5fijftm(il>*Aii)(il>4Aim)
(2.20)
-2TTG^P,
(2.18)
(2-21) The spatial metric is decomposed as in (2.1) and is taken to be conformally flat jij = f^ (i.e., fij = Sij in Cartesian coordinates). We assume maximal slicing (K = 0), and get the equation for the trace-free extrinsic curvature (2.18) from physical arguments for quasi-equilibrium. Note that (2.18) is very similar to (2.6) except that MZJ is not present and we divide by 2a. We obtain equation (2.19) by substituting (2.18) into the momentum constraint (1.45). Note that the principal part of the operator for (2.19) is the same as in (2.7). The conformal factor ip is fixed via the Hamiltonian constraint, which now takes the form in (2.20). Finally, the lapse a is fixed via (2.21) which enforces the maximal slicing condition on neighbouring slices. For the counter-rotating case, the fluid velocity is irrotational (curl-free), and can be derived from a scalar velocity potential even in general relativity
NUMERICAL RELATIVITY
23
(Teukolsky 1998, Shibata 1998). The matter equations are (2 22)
-
A = C+ FVw = a[h2 + il>-AfiJ(Vnp)Vj
(2.23)
h2 = - ^ - 4 r j ( V ^ ) V ^ + ^ ( c + ^ V ^ ) 2 ,
(2.24)
f3l = w' +
(2.25)
fif,
where tp is the velocity potential, C is an integration constant, Q, is a constant specifying the angular velocity of the rotating binary system and £l is a circular rotation vector ( £l = ( —y, x, 0) in Cartesian coordinates for rotation about the z axis). Finally, nB is the baryon number density (see (2.31) below). The domain of solution for (2.22) is the volume covered by matter and the solution must satisfy
- A ^ v,nB
= 0
(2.26)
surf
at the boundary of the matter where nB goes to zero. Finally, the matter equations couple back into the gravitational field equations through the source terms on the right-hand sides of (2.19), (2.20), and (2.21), defined by p =
( po + Pi + P)__
[C + (3lVj^J - P,
S = (p0 + pi + P)-7-^fij{Vi(p)Vjip f
+ 3P,
= (po + ^ + p)!^— (c + (3eVev) / i j V j ^ ,
h EE ^O +
ft + P
(2.27)
(2.28) (2.29)
, (2.30) Po (2.31) £0 = rnBnB, where po, pi, and P are, respectively, the rest mass density, internal energy density, and pressure of the matter in the matter's rest frame. These are all determined from the enthalpy h via (2.30) given ne, the baryon mass density mB, and an equation of state for the matter. We find, then, that solving for an irrotational neutron star binary system in quasi-equilibrium requires the solution of a set of six coupled, nonlinear elliptic equations given by (2.19), (2.20), (2.21), and (2.22). The solution depends on two free parameters, C and Q, which must be chosen to allow
24
G. B. COOK AND S. A. TEUKOLSKY
a self-consistent solution. A scheme for doing this could be based on the algorithm described by Baumgarte et al. (1998) for the slightly simpler case of a synchronous (co-rotating) binary system. A stable iterative scheme is obtained by rescaling the equations so that the outermost point on the surface of each neutron star, where it crosses the axis connecting the two stars, is at a fixed coordinate location. The innermost point on the surface of each star is taken as an input parameter for a particular solution and roughly corresponds to the free parameter fi. Next, the maximum value of the density po is taken as another input parameter, roughly corresponding to C. The exact values of Q, and C are obtained at each step of the iteration by solving a set of nonlinear algebraic equations that follow from equation (2.24). What complicates the solution of these six equations is that, while five of them are solved on a domain extending out to radial infinity, (2.22) must be solved on the limited domain consisting of the volume containing matter. The boundary of this volume is not prescribed, but is determined by the solution. The first set of successful solutions to these equations has been obtained by Bonazzola, Gourgoulhon and Marck (1999) using spectral methods.
2.6. Summary Common to all of these current efforts at constructing initial data is the need to solve a large set of coupled nonlinear elliptic equations with complicated boundaries over a large range of length scales. The classic problem of constructing axisymmetric rotating neutron star models has been studied extensively, and highly sophisticated and efficient computational techniques are now commonly used. The situation is not nearly so well in hand for the other examples described above. These problems are ripe for new ideas and algorithms. They have been attacked principally using finite difference techniques, although Bonazzola, Gourgoulhon and Marck (1998) are exploring spectral techniques for neutron star binaries, and Arnold, Mukherjee and Pouly (1998) have applied finite element techniques to the problem of solving the Hamiltonian constraint. Which numerical schemes will work the best is still an open question. A good scheme must balance efficiency and speed against accuracy. It must be able to resolve the different length scales of the problem, even though the fields vary on characteristic length scales comparable to the radius of the star when near to the star, while the outer boundary conditions must be imposed at large distances from the stars. There is a great need for both efficiency and accuracy. Physicists are interested in performing extensive parameter space surveys in order to understand the physical content of the initial data. With sufficient accuracy, such surveys can also provide great insight into dynamical, but slowly evolving configurations (the quasi-equilibrium approximation). The accuracy of
NUMERICAL RELATIVITY
25
solutions is limited not only by the truncation error of the numerical scheme and the grid resolutions used, but also by the approximations made. Ideally, the outer boundary should extend to infinity, but this often poses problems numerically. In practice, the outer boundary is usually approximated via a fall-off condition at large radius (c/. equations (2.13) and (2.14)). How far out this radius can be pushed while still maintaining accuracy near the stars depends on the numerical scheme and gridding choices. There are many other issues that must be addressed. Perhaps the most important, besides efficiency and accuracy, are the following. How does the nonlinearity of the coupled system affect the choice of the solution scheme? Will iterative schemes for solving the coupled system remain stable when the nonlinear couplings become strong?
3. Evolution 3.1. Standard ADM form In its simplest form, evolving Einstein's equations as a Cauchy problem involves updating the metric 7^ and extrinsic curvature Kij using the evolution equations (1.42) and (1.43). A pure evolution scheme solves only such time evolution equations. It relies on the evolution equations to preserve the validity of the constraints computationally as well as analytically. It is also possible to determine some of the dynamical quantities from evolution equations and others from the constraint equations at each time-step. Such algorithms are expected to be less efficient than pure evolution schemes, since they require the solution of elliptic equations for the constraints at each time-step. These mixed strategies have been the preferred algorithms in 1- and 2-dimensional problems, because of difficulties in designing stable, accurate pure evolution schemes. Moreover, as mentioned earlier, there is no known general 3-dimensional algorithm that can evolve Einstein's equations with black holes that is stable. While we will emphasize pure evolution schemes in this review, one should bear in mind the possibility that some explicit enforcement of the constraints may be necessary to guarantee a stable algorithm. As discussed in Section 1.6, when solving equations (1.42) and (1-43), we must separately specify exactly how far along we are evolving each point in proper time (physical time) by specifying the lapse function a. We must also choose how the spatial coordinates labelling a particular point on the hypersurface will change by specifying the shift vector /3\ Assume that we have fixed these four kinematical quantities somehow, and that we are in vacuum so that the matter terms vanish. Then, if we express the tensors in terms of a coordinate basis, we can write the evolution equations (1-42) and
26
G . B . C O O K AND S. A . TEUKOLSKY
(1.43) explicitly as dt'ji]
dK t
l3
—
-
e
0 de7ij fi), A ' . ,
le
jd 0
e
+ ^dj3
t
e
K dj(3 i£
£
(3.1)
7J
(
+ Kjtdip* - 2aK K j
+ o/\7\'.,
l{
:m
- \ai \d(d 7ij
+ didjjt
m
+ 7
-2aK ,
n p
\{dr,'
jn
- djdrfmj -
m
+
-
djda,ni
d jij)damp n
Notice that (3.1) and (3.2) do not form a simple wave equation. In fact, (3.1) contains no derivatives of Kij at all, while (3.2) contains both linear combinations of second derivatives of 7,7 and quadratic combinations of first derivatives of 7,7. W e call the set of evolution equations given by (3.1) and (3.2) the 'standard A D M form'. The 'non-Laplacian second derivatives of 7ij in equation (3.2) can be removed by certain modifications to the standard A D M equations (see Baumgarte and Shapiro (1999) and references therein), resulting in a system that seems to be better behaved. In general, the A D M equations are not of any known mathematical type. In particular, they do not satisfy any of the standard definitions of hyperbolicity. While physical effects propagate at the speed of light in general relativity. 7,7 and are not simple physical quantities. Rather, they are gauge-dependent quantities whose values depend on the choice of the lapse a and shift Q . These can be chosen to allow for propagation of waves in 7^ and at arbitrary speeds. 0
,
1
3.2.
Hyperbolic
forms
There is a long history of analytic studies of hyperbolic formulations of gen eral relativity (Foures-Bruhat 1952, Fischer and Marsden 1972, Friedrich 1985); see also Taylor (1996, Section 18.8). The earliest approaches made special gauge choices to rewrite (3.1) and (3.2) in the form of a manifestly symmetric hyperbolic system (Foures-Bruhat 1952. Fischer and Marsden 1972). Interest in using such formulations in numerical studies has been relatively recent (Bona and Masso 1992). The initial motivation for explor ing these techniques was to put Einstein's equations into a form that could make more direct use of the vast repertoire of numerical techniques for han dling first-order symmetric hyperbolic systems such as the equations of fluid 0
A D M = Arnowitt, Deser and Misner. who introduced the 3+1 decomposition used in numerical relativity earlier for other purposes.
NUMERICAL RELATIVITY
27
mechanics. It was soon realized, however, that a clear understanding of the characteristic speeds of propagation of the evolving variables was also quite useful. This is especially true for the problem of evolving spacetimes that contain black holes, as discussed below. It is also hoped that having the equations in a form that can be more readily analysed will aid, for example, in properly posing boundary conditions or in treating the propagation of errors in the constraints (Frittelli 1997, Brodbeck, Frittelli, Hiibner and Ruela 1999). In particular, it is hoped that stable evolution schemes can be developed that do not require that elliptic constraint equations be solved on each time-step (Scheel, Baumgarte, Cook, Shapiro and Teukolsky 1998). A potential problem with using the gauge freedom to achieve explicitly hyperbolic forms is that it is widely believed that successful numerical schemes will need to exploit the gauge freedom for other purposes. Thus there has been a considerable effort recently to find formulations of general relativity that are explicitly hyperbolic while retaining all or most of the gauge freedom of the standard ADM formulation (Bona, Masso, Seidel and Stela 19956, Choquet-Bruhat and York 1995, van Putten and Eardley 1996, Frittelli and Reula 1996, Friedrich 1996, Anderson, Choquet-Bruhat and York 1997). Common to all of these approaches is to expand the set of fundamental variables. All of the approaches include fundamental variables that are essentially first spatial derivatives of the metric. Some also include variables that directly encode the curvature of spacetime. Consider one of these hyperbolic systems, the 'Einstein-Bianchi' formulation of general relativity (Anderson et al. 1997). In vacuum, the equations are: (3.3)
j
+ adktkij
= Kudjp1 + Kjedi(3e + a [f
[
kk
m k ikT j
jm
- {T T ik + -{didjlna-rkijdklna) (3.4) - feijdef3k+
j + 7 -ftrnji
+ Bj£6i il + 1 i^imX je
d ^
28
G. B. COOK AND S. A. TEUKOLSKY _
Kc O
JT1 CA fDZ i
TT
Tp
Q /DC
+ a[KEi:j - 2KkEkj - KkEik — ti
ki, van Ts r\ €j KkmL>en
-
e
klrj f^m l i Wf m l jfcj
- {t^Hkj + tjktBik)dta, =
Died3f3 Djtdil? + a[KDij k -2K Dkj - KkDik -
=
E —€klB + eJkeHlk)dta,
eikie j ran K
- {eik£ Bkj dtHi:i -
ran
j M
K
M R j . fc p f
D
ln T
(3.7)
f"1 l
i ^Im1-
ke
+ (ei Ekj + ej Dik)dea,
jk\
(3.8)
Bitdj$ + 1Sjidift + a[ifBjj -2Kk Bkj - KkBik
+uk *
f""jk]
Hjedi/3e + a[KHij HudjP - 2Kk Hkj — &j tiik hi
=
(3.6)
+ eJkeElk)dea,
(3.9)
=
See Section 2.2 for the definition of e^-fc and 7. This formulation of general relativity differs significantly from the straightforward ADM formulation presented in equations (3.1) and (3.2) above. First, note that derivatives of the metric are replaced by the spatial connection Tljk, which is now treated as a fundamental variable. The system also includes four new variables, Eij, Dij, Hij, and Bij, which encode the information in the 4-dimensional Riemann tensor (1.25). If the shift ^ is zero and the nonlinear terms are dropped, note the resemblance of equations (3.6)-(3.9) to Maxwell's equations. An interesting feature of this formulation of general relativity is that the nine components each of Eij, Dij, Hij, and Bij are treated as independent in order to yield a hyperbolic system with physical characteristic velocities (zero or the speed of light). If the symmetries and constraints of general relativity are imposed explicitly to reduce the number of variables from 36 to the 20 independent components of the Riemann tensor, then additional characteristic speeds of half the speed of light are added to the system (Friedrich 1996). Also, in order to formulate the evolution equation for the extrinsic curvature Kij as part of the
NUMERICAL RELATIVITY
29
hyperbolic system, it is necessary to consider the new quantity d (3.10) as the freely specifiable kinematical gauge quantity instead of the usual lapse variable a. Finally, note that in vacuum, Dij = E%j and Bij — Hij both analytically and computationally if they are equal in the initial data. Matter terms appear as additional source terms on the right-hand sides of equations The Einstein-Bianchi formulation is an example of a hyperbolic formulation of Einstein's equations that is so new that there is as yet no published report of how well it works in practice.
3.3. Black hole evolutions Dealing with black holes when evolving a spacetime numerically introduces new problems that must be dealt with. Inside a black hole is a physical singularity that cannot be finessed away by some clever coordinate transformation: the singularity must be avoided somehow. The first approaches to avoiding the singularity were to impose special time-slicing conditions that would slow down the evolution in the vicinity of the singularity. The most widely used condition was maximal slicing (Smarr and York 1978), but all such slicings lead to a generic phenomenon known as the 'collapse of the lapse'. When this happens, the lapse very rapidly approaches zero in the spatial region near the singularity to 'hold back' the advance of time there. Because the lapse stays large far away from the singularity, the spatial slice has to stretch, leading to steep gradients in the various fields. These gradients ultimately grow exponentially with time and there is no way to resolve these gradients numerically for very long. These 'singularity avoiding' schemes can be made to work in spherical symmetry, and, with considerable effort, in axisymmetry (Evans 1984, Stark and Piran 1987, Abrahams, Shapiro and Teukolsky 19946, Bernstein, Hobill, Seidel, Smarr and Towns 1994). The trick is to adjust the parameters of the calculation to extract the useful results before the code crashes. Such efforts appear doomed in general 3-dimensional calculations. A newer approach for avoiding the singularity is based on the fundamental defining feature of a black hole: that its interior has no causal influence on its exterior. We can, in principle, simply excise the interior of the black hole from the computational domain. Then there is no chance of the evolution encountering the singularity. This class of methods is generically known as 'apparent-horizon boundary conditions' for reasons that will become clear below. Before we can excise the interior of a black hole from the computational domain, we must first know where the black hole is. The surface of a black hole is the event horizon, a null surface that bounds the set of all null geodesies that can never escape to infinity. Unfortunately this is not a
30
G. B. COOK AND S. A. TEUKOLSKY
useful definition for dynamical computations - at any instant you need to have already computed the solution arbitrarily far into the future to check if a given light ray escapes to infinity, falls into the black hole, or remains marginally trapped on the black hole surface. Computationally, the useful surface associated with a black hole is its apparent horizon, the boundary of the region of null geodesies that are 'instantaneously trapped'. The apparent horizon is guaranteed to lie within the event horizon under reasonable assumptions (Hawking and Ellis 1973, Section 9.2), and when the black hole settles down to equilibrium the apparent and event horizons coincide. More precisely, the apparent horizon is defined as the outermost surface on which the expansion of outgoing null geodesies vanishes. Such a surface is called a marginally outer-trapped surface (Wald 1984) and satisfies 6 = Vis* + Kijsisj - K = 0
(3.11)
everywhere on a closed 2-surface of topology § 2 . Here, sl is the outwardpointing unit normal to the closed 2-surface and 8 is the expansion (divergence) of null rays moving in the direction sl. Since the solution of equation (3.11) must be a closed 2-surface, it can be expressed as the level surface r = 0 of some scalar function T(XZ), and the unit normals can be written as sl = V V / | V T | . This reduces the equation to a scalar elliptic equation. The key feature of apparent horizons, as seen from (3.11), is that they are defined
solely in terms of information on a single spacelike hypersurface. Several different approaches for solving equation (3.11) have been proposed (see Cook and York (1990), Baumgarte, Cook, Scheel, Shapiro and Teukolsky (1996), Gundlach (1998&) and references therein). Since black hole excision requires locating the apparent horizon at every time-step, there is a premium on finding efficient and robust methods. It is important that the current methods be improved. The details of how apparent-horizon boundary conditions are implemented can vary greatly, and it is not yet clear which methods are preferred, if any. The first tests of apparent horizon boundary conditions were made on spherically symmetric configurations (Seidel and Suen 1992, Scheel, Shapiro and Teukolsky 1995a, Anninos, Daues, Masso, Seidel and Suen 19956, Marsa and Choptuik 1996). In these tests, the location of the horizon was either fixed at a particular coordinate radius, or allowed to move outward as matter fell into the black hole, increasing its physical size. Trial implementations of apparent horizon boundary conditions in 3-dimensional codes evolving spherically symmetric configurations have been reported by Anninos et al. (1995a) and Briigmann (1996). Tests of a more general 3-dimensional implementation of apparent horizon boundary conditions were reported in Cook et al. (1998). The details of this scheme were reported in Scheel, Baumgarte, Cook, Shapiro and Teukolsky (1997). For concreteness, we will describe the
NUMERICAL RELATIVITY
31
apparent horizon boundary condition scheme used in Cook et al. (1998) and referred to as 'causal differencing'.6 The key feature of the causal differencing scheme described in Cook et al. (1998) is that it accommodates excised regions that move through the computational grid. When an excised region moves, grid points that had been excised from the domain can return to the computational domain and must be filled with correct data. This is accomplished by working in two different coordinate systems during each time-step. The 'physical' coordinates, denoted as the (t, xl) coordinate system, are denned as having spatial coordinates that remain constant when dragged along the t direction (see (1.37)). 'Computational' coordinates, denoted (i,xl), are then defined as having spatial coordinates that remain constant when dragged along the direction normal to the spatial hypersurface. A time-derivative in this direction is denned by 9
- °
8* d
(3 12)
and the coordinate transformation by i x
= t, = x\x\t).
l
(3.13) (3.14)
A time-step begins by setting the two coordinate systems equal, xl\i=tQ = xl\t=t0- The evolution equations are then used to evolve the data forward in time along the normal direction using equation (3.12) to a new time slice where t = to + At. All that remains is to transform the data from the computational coordinates back to the physical coordinates. If we begin at t = to with data located at grid points that are uniformly distributed in the xl coordinates, then we end the first phase of the evolution with data located at grid points that are uniformly distributed in the xl coordinates. We can therefore perform the required transformation back to the physical coordinates via interpolation (or extrapolation) from the computational grid. To determine the location of the physical grid points within the computational grid, we evolve the xl coordinates along the t direction. Using dx1 %=0 dt
(3.15)
and (3.12), we find that dt
(3.16)
The term 'causal differencing' has been applied to several similar schemes, but was first coined by Seidel and Suen (1992). An alternative scheme called 'causal reconnection' was developed by Alcubierre and Schutz (1994).
32
G. B. COOK AND S. A. TEUKOLSKY
to + A t (a)
to + At
(b)
Fig. 3. 1-dimensional illustration of causal differencing, showing a time-step for a black hole in both the computational (a) and physical (b) coordinate systems. The shaded region represents the black hole interior. Data are evolved along the d/di direction (dashed lines with arrows). In the computational frame (a), this is the vertical direction. The surface of the black hole is a characteristic. j3l has been chosen so that the black hole moves to the right in the physical coordinate system (b). d/dt is in the direction of the solid lines which are vertical in the physical coordinate system (b) Equation (3.16) is evolved to t = to + At with the initial conditions that xl\i=t = xl\t-t0+At for each grid point in the physical coordinates at t = to + At that is not excised from the domain. If the black hole has moved during the time-step, the set of non-excised points {xl}\t=t0+At 7^ {xl}\t=t0Special care must be given to computing spatial derivatives during the time-step. During the first phase of the evolution, the data are in the computational coordinate system so that terms in the evolution equations that involve d/dxl must be transformed to d
dx> d
(3.17) dx dxl dxi The Jacobians dxl jdx^ in the computational coordinate system can be obtained by integrating 1
1 d_ dx di dxi
dx{ d(3£ dx1- dxi
(3.18)
with the initial conditions that dx1 /dx3\t=t0 = The underlying reason that the time integration scheme outlined above should work for black holes moving arbitrarily across a computational domain is based on the generic behaviour of apparent horizons. When we evolve along the normal direction, the time direction is centred within the local light cone, that is, outgoing light rays move out at the local speed of light. Since such light rays cannot cross the apparent horizon, it must
NUMERICAL RELATIVITY
33
be moving outwards at least as fast. Thus, by evolving along the normal direction, we know that the apparent horizon at to + At will have moved out in the computational coordinate system. Accordingly, as long as we have no excised points outside an apparent horizon at to, we know we have valid evolved data at to+At extending at least a small distance within the location of the apparent horizon at to + At. This will be true regardless of the choice of the shift vector. Thus, new grid points exterior to the apparent horizon that appear at to+At are guaranteed to lie within the computational domain and data at these points can be set by interpolation. Figure 3 illustrates the case of a translating black hole. In Figure 3(a), we see the view from the computational coordinate system where the horizon moves outward. Here, data evolves vertically along the dashed lines with arrows. Physical coordinates remain constant along the solid lines so that, given this choice of the shift, the black hole is moving to the right. Notice that the first point to the right of the black hole falls into it, while the left-most point inside the black hole emerges from it during the time-step. Grid points in the physical coordinates (where the solid lines intersect the to + At hypersurface) are filled via interpolation form the evolved data. Figure 3(b) shows the same scenario in the physical coordinate frame where the black hole is moving to the right. Notice that the picture in the physical coordinate frame is completely dependent on the choice of the shift. In the computational frame, however, only the final location of the physical coordinates depends on the shift. Figure 4 shows an example of applying this causal differencing scheme to the case of a translating black hole described in Cook et al. (1998). The black hole is translating in the z direction with its centre on the z axis. The plot displays a measure of the violation of the Hamiltonian constraint (1.44) on the z axis. The mass of the black hole is denoted by M and the black hole has a radius of 2M (in units where the gravitational constant G = 1). Equations similar to (3.1) and (3.2) were used to evolve the metric and extrinsic curvature. Values for the lapse and shift during the evolution were obtained from the analytic solution for the translating black hole. The excised region began five grid zones inside the apparent horizon and the evolution continued until t = 61M. We can clearly see that the domain to the left of the black hole is filled correctly with data, as the hole, and the excised region, move to the right through the computational grid. While evolving a translating black hole is a triumph for the causal differencing method, we are still a long way from generic 3-dimensional evolutions. The black hole in the above example is constructed from a spherically symmetric solution using a simple coordinate transformation (a boost). This severely limits the generality of the test, since spherically symmetric solutions to Einstein's equations contain no true gravitational dynamics. While the discrete nature of the numerics breaks the exact spherical symmetry,
34
G. B. COOK AND S. A. TEUKOLSKY
Fig. 4. Normalized Hamiltonian constraint,
H = (R + K2 - KijK^)/(\R\ + \K2\ + \KijKij\), along the z axis as a function of time. The black hole is translating in the z direction at a speed of 1/lOth the speed of light. The flat region shows the location of the excised part of the domain within the black hole this is only at the level of a small perturbation. At present, there have been no successful fully dynamical tests of apparent horizon boundary conditions. To evolve truly dynamical black hole spacetimes, one will need to consider more general shift vector choices than those considered so far. For example, to evolve a black hole binary system one may want to introduce the analogue of co-rotating coordinates but without 'twisting up' the coordinates around the individual black holes, which will not in general rotate about their own axes with the orbital angular velocity. A concern is that these general shift choices may introduce characteristic speeds into the system that exceed the speed of light. This could be potentially disastrous when applying apparent horizon boundary conditions to the standard ADM evolution schemes, since 'gauge waves' could propagate out through the apparent horizon. One reason that hyperbolic formulations of general relativity are currently receiving so much attention is that it is easy to compute the characteristic speeds and to be sure that they are all physical. 3.4- Instabilities and other problems Perhaps the most serious problem that has plagued the development of schemes for evolving Einstein's equations is the pervasiveness of instabilities. As we have mentioned before, there are currently no known general
NUMERICAL RELATIVITY
35
evolution schemes that can evolve Einstein's equations in three dimensions for an indefinite period of time. The possible sources of instability in any general relativistic evolution scheme are many and varied. First, the usual sorts of numerical instabilities such as the Courant—Friedrichs-Lewy instability for explicit evolution schemes can be handled trivially with a Courant condition. We might be concerned about the possible formation of shocks, given the nonlinear nature of Einstein's equations. However, unlike Euler's equations of fluid dynamics, the gravitational field equations do not develop shocks from smooth initial data (Choquet-Bruhat and York 1980, Christodoulou and O Murchadha 1981). It is unknown whether this analytic result guarantees that shocks cannot form in a numerical solution. Moreover, if there are matter sources with shocks on the right-hand sides of the gravitational equations, there will certainly be numerical difficulties. Hyperbolic formulations like the Einstein-Bianchi system have derivatives of the matter density, pressure, etc., as source terms, presumably making things worse. These problems have not been investigated yet. The situation is further complicated because a poor choice of the lapse or shift vector can introduce steep gradients in the solution that look like shocks but are really just coordinate singularities. This problem with the choice of the shift is one aspect of a general class of problems that can occur in numerical evolutions of Einstein's equations. As mentioned in Section 3.3, a particular choice of time slicing condition can lead to 'grid stretching' in the vicinity of a black hole. This is again a coordinate (gauge) effect that ultimately leads to exponentially growing features in the solution. These coordinate effects are not really instabilities in the traditional sense because they represent valid solutions of the equations. However, a poor choice of the gauge functions, the lapse and the shift, can lead to solutions with exponentially growing features that are difficult, but not impossible, to distinguish from real instabilities. The way to diagnose the presence of these 'gauge instabilities' is to examine the growth of physical, gauge-independent quantities, or of violations of the constraints, which are also gauge-independent. Such quantities will not exhibit unstable growth if the instability is simply due to gauge effects. The problem with this idea is that, without sufficient resolution, inaccuracies caused by growing gauge modes will contaminate these indicators, making it difficult in practice to diagnose why a calculation is blowing up. Also complicating the problem is the fact that the gauge freedom of general relativity yields a constrained evolution system. If the constraints are not explicitly enforced during an evolution, then numerical errors will necessarily drive solutions away from the constraint surface. Not all formulations of Einstein's equations are stable when the constraints are violated. It is known that the gauge-independent constraints do form a stable, symmetric hyperbolic system when 7^ and Kij are evolved via (3.1) and (3.2) (see
36
G. B. COOK AND S. A. TEUKOLSKY
Fritelli 1997). Unfortunately, the mathematically rigorous definition of stable evolution used in this and other proofs may not be sufficient for numerical needs, since it guarantees only that perturbations do not grow faster than exponentially. Rapid power-law growth is often seen, and quickly spoils numerical evolutions. This sort of constraint-violating instability can be diagnosed by the unstable growth of gauge-independent quantities. An example where a constraint-violating instability was diagnosed and corrected in a simple 1-dimensional system can be found in Scheel et al. (1998). An interesting area of investigation is whether a system of evolution equations can be written that is attracted to the constraint surface (Brodbeck et al. 1999). Certain choices of boundary conditions can also turn a stable evolution scheme unstable. Of particular concern in this regard is the effect of apparent horizon boundary conditions on the overall stability of an evolution scheme. Currently, there appears to be no good way to analyse the stability of various apparent horizon boundary conditions. Furthermore, there seem to be very few good tools for analysing and diagnosing instabilities in general. The whole area of instabilities in evolution schemes is the outstanding computational problem in the field, and is urgently in need of further work. 3.5. Outer boundary
conditions
Another issue that must be addressed is how to accurately and stably pose outgoing wave boundary conditions in general relativity. The dynamical simulations of greatest interest are those that generate strong gravitational waves that will propagate towards infinity. The nonlinearity of Einstein's equations couples ingoing and outgoing modes, implying that simple outgoing wave boundary conditions must be applied at large radii where the coupling is weak. The quadrupole nature of the dominant modes is a further complication when the outer boundary is not an §2 constant coordinate surface. Consider the apparently easy problem of setting Sommerfeld radiation conditions at the faces of a Cartesian grid for a simple scalar wave $(r, t). Assume that the solution is a purely outgoing wave given by f
^
r
\ (3.19) r elation We can construct a boundary condition from the usual Sommerfeld relation )
or r at and the relations between Cartesian and spherical coordinates d_=drL dx dx dr
dx dO dx df
(3.20)
{
'
NUMERICAL RELATIVITY
37
Using the fact that / has no angular dependence, we get
\dx)
dx~
r
dt'
{
'
which can be applied easily at a constant x boundary. This works well for the simple monopole form given in (3.19). It even works well at large radii if f(t — r)/r is just the leading order term in an expansion for $(£, r, 9, (f>) where the higher-order terms have angular dependence. But, if the leading order term in the expansion has angular dependence, as is the case for the dominantly quadrupole gravitational radiation, (3.22) will not work, and straightforward Cartesian generalizations have proven to be unstable for general relativistic problems. An approach that we term 'interpolated-Sommerfeld' has proven to be a dramatic improvement. The idea is to apply (3.20) directly at the boundaries of a Cartesian grid by using interpolation to provide data at points that are on radial lines associated with the boundary points. This allows the radial derivative to be approximated directly, thereby avoiding problems with angular dependence in the function. (We would not be surprised if this idea has been used before in other fields.) Algorithms designed to extract information about the outgoing gravitational waveforms can provide more sophisticated boundary conditions. One approach expresses the gravitational field at large distances as a perturbation about an analytic spherically symmetric background metric. The waves are decomposed into a multipole expansion. Each multipole component satisfies a 1-dimensional linear wave equation. The wave data is 'extracted' from the full numerical solution in the region near the outer boundary. This provides initial conditions to evolve the perturbation quantities to very large distances. The evolution is cheap because the equations are 1-dimensional, and the asymptotic waveform can be read off very accurately. As a byproduct, the evolution provides boundary conditions 'along the way' at the (much closer) outer boundary of the full numerical solution. See Rezzolla, Abrahams, Matzner, Rupright and Shapiro (1999) and Abrahams et al. (1998) and references therein for more details. Another approach that combines wave extraction with supplying outer boundary conditions is to match the interior evolution to a full nonlinear characteristic evolution code (see Section 1.7). The two evolutions must be fully coupled, each providing the other with boundary data at the S2 surface where they are joined. This approach has the advantage of being non-perturbative, but the additional evolution system is considerably more complex than the perturbative system. See Bishop, Gomez, Lehner and Winicour (1996) and Bishop et al. (19976) and references therein for more details.
38
G. B. COOK AND S. A. TEUKOLSKY
The primary difficulty with both matching techniques is in stably providing boundary conditions to the interior Cauchy evolution. The perturbative approach has had some success for the case of evolving weak waves. The characteristic approach has not yet been able to feed back information into a 3-dimensional Cauchy evolution of Einstein's equations without encountering severe instabilities. The technique has worked in lower-dimensional problems (Dubai, d'Inverno and Clarke 1995) and with simpler systems in three dimensions (Bishop, Gomez, Holvorcem, Matzner and Winicour 1997a).
4. Related literature In addition to the references presented in the main part of this review, there are numerous papers that can prove useful to anyone entering thefieldof numerical relativity. The regime of spherical symmetry provides a lower-dimensional testing domain. However, there is no true gravitational dynamics in spherical symmetry: just as with electrodynamics, there are no spherical gravitational waves. To compensate for this, researchers typically resort to adding scalar wave matter sources, or they explore alternative theories of gravity that admit spherical waves: see Choptuik (1991), Scheel et al. (1995a), and Scheel, Shapiro and Teukolsky (19956) and references therein. A lack of true dynamics is not always a problem, since gauge choices can provide time dependence and a nontrivial test of numerical schemes: see Bona, Masso and Stela (1995a) Axisymmetry provides another useful test-bed, but evolutions are hindered by tedious regularity conditions that must be satisfied at coordinate singularities. Some useful references to axisymmetric evolutions can be found in Abrahams, Bernstein, Hobill, Seidel and Smarr (1992), Shapiro and Teukolsky (1992), Anninos, Hobill, Seidel, Smarr and Suen (1993), Abrahams et al. (19946), Abrahams, Cook, Shapiro and Teukolsky (1994a), Bernstein et al. (1994), and Anninos, Hobill, Seidel, Smarr and Suen (1995c). Critical behaviour in solutions of Einstein's equations is a recent discovery that was made through high-precision numerical work (Choptuik 1993). Gundlach (1998a) provides a recent thorough review of this topic. We have not dealt much with the issue of matter sources in Einstein's equations. The matter evolves via its own set of evolution equations, with gravitational effects coupled in through the metric and its derivatives. The most common matter sources that have been dealt with are hydrodynamic fluids. Pons, Font, Ibariez, Marti and Miralles (1998) treat general relativistic hydrodynamics with Riemann solvers and provide useful references. Banyuls, Font, Ibanez, Marti and Miralles (1997) give an overview of shockcapturing techniques in relativistic hydrodynamics. An earlier general reference on general relativistic hydrodynamics is Wilson (1979).
NUMERICAL RELATIVITY
39
Many of the recent references we have cited are also available from the Los Alamos preprint server, xxx. l a n l . gov, in the gr-qc and a s t r o - p h archives.
5. Conclusions The frontier in numerical relativity explores 3-dimensional problems, in particular 3-dimensional evolutions. There are numerous problems, some of a fundamental physical nature and some computational. Most critical among the physical problems is the question of how to choose good coordinates (lapse and shift choices) during the evolution. We have a reasonable qualitative notion of what it means to choose good coordinates and ideas on how to do so. Early work in numerical relativity often made use of geometrically motivated coordinate choices, such as maximal slicing for the lapse, or 'minimal distortion' for the shift (Smarr and York 1978). It is likely that geometric insight will continue to be useful as new choices are sought. The fundamental computational issue is to develop an evolution scheme for general 3-dimensional black holes that is stable and accurate. Schemes that work in special cases have been developed, but the goal of a truly general scheme has so far been blocked by various instabilities. A critical unanswered question is: what is the source of these instabilities and how can we circumvent them? One possible source includes purely numerical instabilities in the basic discretization of the evolution system. The discretization is complicated by black hole excision and the imposition of nontrivial outer boundary conditions. It is also possible that the evolution systems being used admit unstable modes if the numerical solutions violate the constraints, or if approximated boundary conditions allow these modes to grow. Thus, achieving the goal of stable, accurate and efficient evolutions of black hole spacetimes requires many questions to be answered. Which systems of equations can or should be used? Can the evolutions be performed without imposing the constraints, or at least without imposing them by solving elliptic equations? How should apparent horizon boundaries be handled? This latter question is closely tied to the particular numerical scheme to be used in solving the system of equations. What numerical schemes should be used? To date, only relatively simple schemes have been tried for 3-dimensional black hole simulations. More sophisticated techniques could be based on using the hyperbolic formulations of general relativity and an understanding of the characteristic variables and speeds associated with a given system. If such techniques are to be used, then they must incorporate the properties of the black hole boundary. A characteristic variable whose characteristic direction is outgoing just outside the black hole changes to ingoing just
40
G. B. COOK AND S. A. TEUKOLSKY
inside the hole. Thus, the black hole surface is a sort of sonic point, and techniques from computational fluid dynamics might prove useful. These issues provide many interesting challenges to numerical analysts interested in evolution systems. Similarly, constructing initial data for the evolutions provides interesting problems in the area of coupled nonlinear elliptic systems. Beyond these numerical challenges exist what might be more properly called computational challenges. It requires an enormous amount of computation to evolve dozens of variables in time over three spatial dimensions with sufficient resolution to deal both with fields near the black hole and with waves near the outer boundary. These requirements place numerical relativity among the problems that will continue to demand the highest performance supercomputers and the best algorithms that computational scientists can provide.
REFERENCES A. M. Abrahams, D. Bernstein, D. Hobill, E. Seidel and L. Smarr (1992), 'Numerically generated black-hole spacetimes: Interaction with gravitational waves', Phys. Rev. D 45, 3544-3558. A. M. Abrahams, G. B. Cook, S. L. Shapiro and S. A. Teukolsky (1994a), 'Solving Einstein's equations for rotating spacetimes: Evolution of relativistic star clusters', Phys. Rev. D 49, 5153-5164. A. M. Abrahams, S. L. Shapiro and S. A. Teukolsky (19946), 'Calculation of gravitational wave forms from black hole collisions and disk collapse: Applying perturbation theory to numerical spacetimes', Phys. Rev. D 51, 4295-4301. A. M. Abrahams et al, The Binary Black Hole Alliance (1998), 'Gravitational wave extraction and outer boundary conditions by perturbative matching', Phys. Rev. Lett. 80, 1812-1815. A. Abramovici, W. E. Althouse, R. W. P. Drever, Y. Giirsel, S. Kawamura, F. J. Raab, D. Shoemaker, L. Sievers, R. E. Spero, K. S. Thorne, R. E. Vogt, R. Weiss, S. E. Whitcomb and M. E. Zucker (1992), 'LIGO: The laser interferometer gravitational-wave observatory', Science 256, 325-333. M. Alcubierre and B. F. Schutz (1994), 'Time-symmetric ADI and causal reconnection: Stable numerical techniques for hyperbolic systems on moving grids', J. Comput. Phys. 112, 44-77. A. Anderson, Y. Choquet-Bruhai and J. W. York, Jr. (1997), 'Einstein-Bianchi hyperbolic system for general relativity', Topological Methods in Nonlinear Analysis 10, 353-373. P. Anninos, K. Camarda, J. Masso, E. Seidel, W.-M. Suen and J. Towns (1995a), 'Three dimensional numerical relativity: The evolution of black holes', Phys. Rev. D 52, 2059-2082. P. Anninos, G. Daues, J. Masso, E. Seidel and W.-M. Suen (19956), 'Horizon boundary condition for black hole spacetimes', Phys. Rev. D 51, 5562-5578.
NUMERICAL RELATIVITY
41
P. Anninos, D. Hobill, E. Seidel, L. Smarr and W.-M. Suen (1993), 'Collision of two black holes', Phys. Rev. Lett. 71, 2851-2854. P. Anninos, D. W. Hobill, E. Seidel, L. Smarr and W.-M. Suen (1995c), 'Head-on collision of two equal mass black holes', Phys. Rev. D 52, 2044-2058. D. N. Arnold, A. Mukherjee and L. Pouly (1998), Adaptive finite elements and colliding black holes, in Numerical Analysis 1997: Proceedings of the 11th Dundee Biennial Conference (D. F. Griffiths, D. J. Higham and G. A. Watson, eds), Addison Wesley Longman, Harlow, England, pp. 1-15. F. Banyuls, J. A. Font, J. M. Ibanez, J. M. Marti and J. A. Miralles (1997), 'Numerical {3 + 1} general relativistic hydrodynamics: A local characteristic approach', Astrophys. J. 476, 221-231. J. W. Barrett, M. Galassi, W. A. Miller, R. D. Sorkin, P. A. Tuckey and R. M. Williams (1997), 'A parallelizable implicit evolution scheme for Regge calculus', Int. J. Theor. Phys. 36, 815-839. T. W. Baumgarte and S. L. Shapiro (1999), 'On the integration of Einstein's field equations', Phys. Rev. D 59, 024007. T. W. Baumgarte, G. B. Cook, M. A. Scheel, S. L. Shapiro and S. A. Teukolsky (1996), 'Implementing an apparent-horizon finder in three dimensions', Phys. Rev. D 54, 4849-4857. T. W. Baumgarte, G. B. Cook, M. A. Scheel, S. L. Shapiro and S. A. Teukolsky (1998), 'General relativistic models of binary neutron stars in quasiequilibrium', Phys. Rev. D 57, 7299-7311. D. Bernstein, D. W. Hobill, E. Seidel, L. Smarr and J. Towns (1994), 'Numerically generated axisymmetric black hole spacetimes: Numerical methods and code tests', Phys. Rev. D 50, 5000-5024. N. T. Bishop, R. Gomez, P. R. Holvorcem, R. A. Matzner and P. P. J. Winicour (1997a), 'Cauchy-characteristic evolution and waveforms', J. Comput. Phys. 136,140-167. N. T. Bishop, R. Gomez, L. Lehner and J. Winicour (1996), 'Cauchy-characteristic extraction in numerical relativity', Phys. Rev. D 54, 6153-6165. N. T. Bishop, R. Gomez, L. Lehner, M. Maharaj and J. Winicour (19976), 'Highpowered gravitational news', Phys. Rev. D 56, 6298-6309. C. Bona and J. Masso (1992), 'A hyperbolic evolution system for numerical relativity', Phys. Rev. Lett. 68, 1097-1099. C. Bona, J. Masso and J. Stela (1995a), 'Numerical black holes: A moving grid approach', Phys. Rev. D 51, 1639-1639. C. Bona, J. Masso, E. Seidel and J. Stela (19956), 'New formalism for numerical relativity', Phys. Rev. Lett. 75, 600-603. S. Bonazzola, E. Gourgoulhon and J.-A. Marck (1997), 'A relativistic formalism to compute quasi-equilibrium configurations of non-synchronized neutron star binaries', Phys. Rev. D 56, 7740-7749. S. Bonazzola, E. Gourgoulhon and J.-A. Marck (1998), 'Numerical approach for high precision 3-d relativistic star models', Phys. Rev. D 58, 104020. S. Bonazzola, E. Gourgoulhon and J.-A. Marck (1999), 'Numerical models of irrotational binary neutron stars in general relativity', Phys. Rev. Lett. 82, 892-895.
42
G. B. COOK AND S. A. TEUKOLSKY
S. Bonazzola, E. Gourgoulhon, M. Salgado and J.-A. Marck (1993), 'Axisymmetric rotating relativistic bodies: A new numerical approach for "exact" solutions', Astron. Astrophys. 278, 421-443. J. M. Bowen (1979), 'General form for the longitudinal momentum of a spherically symmetric source', Gen. Relativ. Gravit. 11, 227-231. J. M. Bowen and J. W. York, Jr. (1980), 'Time-asymmetric initial data for black holes and black-hole collisions', Phys. Rev. D 21, 2047-2056. S. Brandt and B. Briigmann (1997), 'A simple construction of initial data for multiple black holes', Phys. Rev. Lett. 78, 3606-3609. S. R. Brandt and E. Seidel (1995), 'The evolution of distorted rotating black holes I: Methods and tests', Phys. Rev. D 52, 856-869. O. Brodbeck, S. Frittelli, P. Hiibner and O. A. Ruela (1999), 'Einstein's equations with asymptotically stable constraint propagation', J. Math. Phys. 40, 909923. B. Briigmann (1996), 'Adaptive mesh and geodesically sliced Schwarzschild spacetime in 3+1 dimensions', Phys. Rev. D 54, 7361-7372. E. M. Butterworth and J. R. Ipser (1976), 'On the structure and stability of rapidly rotating fluid bodies in general relativity I: The numerical method for computing structure and its application to uniformly rotating homogeneous bodies', Astrophys. J. 204, 200-233. M. W. Choptuik (1991), 'Consistency of finite-difference solutions of Einstein's equations', Phys. Rev. D 44, 3124-3135. M. W. Choptuik (1993), 'Universality and scaling in gravitational collapse of a massless scalar field', Phys. Rev. Lett. 70, 9-12. Y. Choquet-Bruhat and J. W. York, Jr. (1980), The Cauchy problem, in General relativity and gravitation. One hundred years after the birth of Albert Einstein (A. Held, ed.), Vol. 1, Plenum, New York, pp. 99-172. Y. Choquet-Bruhat and J. W. York, Jr. (1995), 'Geometrical well posed systems for the Einstein equations', C. R. Acad. Sci. Paris A321, 1089-1095. D. Christodoulou and N. O Murchadha (1981), 'The boost problem in general relativity', Commun. Math. Phys. 80, 271-300. G. B. Cook (1991), 'Initial data for axisymmetric black-hole collisions', Phys. Rev. D 44, 2983-3000. G. B. Cook (1994), 'Three-dimensional initial data for the collision of two black holes II: Quasicircular orbits for equal mass black holes', Phys. Rev. D 50, 5025-5032. G. B. Cook and J. W. York, Jr. (1990), 'Apparent horizons for boosted or spinning black holes', Phys. Rev. D 41, 1077-1085. G. B. Cook, M. W. Choptuik, M. R. Dubai, S. Klasky, R. A. Matzner and S. R. Oliveira (1993), 'Three-dimensional initial data for the collision of two black holes', Phys. Rev. D 47, 1471-1490. G. B. Cook, S. L. Shapiro and S. A. Teukolsky (1994), 'Rapidly rotating neutron stars in general relativity: Realistic equations of state', Astrophys. J. 424, 823-845. G. B. Cook et al, The Binary Black Hole Alliance (1998), 'Boosted threedimensional black-hole evolutions with singularity excision', Phys. Rev. Lett. 80, 2512-2516.
NUMERICAL RELATIVITY
43
M. R. Dubai R. A. d'lnverno and C. J. S. Clarke (1995), 'Combining Cauchy and characteristic codes II: The interface problem for vacuum cylindrical symmetry', Phys. Rev. D 52, 6868-6881. A. Einstein and N. Rosen (1935), 'The particle problem in the general theory of relativity', Phys. Rev. 48, 73-77. C. R. Evans (1984), 'A method for numerical relativity: Simulation of axisymmetric gravitational collapse and gravitational radiation generation', PhD thesis, University of Texas at Austin. A. E. Fischer and J. E. Marsden (1972), 'The Einstein evolution equations as a first-order quasi-linear symmetric hyperbolic system, F, Commun. Math. Phys. 28, 1-38. Y. Foures-Bruhat (1952), 'Theorem d'existence pour certain systems d'equations aux derivees partielles non lineaires', Ada. Math. 88, 141-225. J. L. Friedman, J. R. Ipser and L. Parker (1986), 'Rapidly rotating neutron star models', Astrophys. J. 304, 115-139. H. Friedrich (1985), 'On the hyperbolicity of Einstein's and other gauge field equations', Commun. Math. Phys. 100, 525-543. H. Friedrich (1996), 'Hyperbolic reductions for Einstein's equations', Class. Quantum Gravit. 13, 1451-1469. S. Frittelli (1997), 'Note on the propagation of the constraints in standard 3 + 1 general relativity', Phys. Rev. D 55, 5992-5996. S. Frittelli and O. A. Reula (1996), 'First-order symmetric hyperbolic Einstein equations with arbitrary fixed gauge', Phys. Rev. Lett. 76, 4667-4670. A. P. Gentle and W. A. Miller (1998), 'A fully (3+l)-d Regge calculus model of the Kasner cosmology', Class. Quantum Gravit. 15, 389-405. C. Gundlach (1998a), 'Critical phenomena in gravitational collapse', Adv. Theor. Math. Phys. 2, 1-49. C. Gundlach (19986), 'Pseudo-spectral apparent horizon finders: An efficient new algorithm', Phys. Rev. D 57, 863-875. S. W. Hawking and G. F. R. Ellis (1973), The Large Scale Structure of Spacetime, Cambridge University Press, Cambridge, England. H. Komatsu, Y. Eriguchi and I. Hachisu (1989), 'Rapidly rotating general relativistic stars I: Numerical method and its application to uniformly rotating polytropes', Mon. Not. R. Astr. Soc. 237, 355-379. A. D. Kulkarni (1984), 'Time-asymmetric initial data for the N black hole problem in general relativity', J. Math. Phys. 25, 1028-1034. A. D. Kulkarni, L. C. Shepley and J. W. York, Jr. (1983), 'Initial data for TV black holes', Phys. Lett. 96A, 228-230. R. L. Marsa and M. W. Choptuik (1996), 'Black-hole-scalar-field interactions in spherical symmetry', Phys. Rev. D 54, 4929-4943. R. A. Matzner, M. F. Huq and D. Shoemaker (1999), 'Initial data and coordinates for multiple black hole systems', Phys. Rev. D 59, 024015. C. W. Misner (1963), 'The method of images in geometrostatics', Ann. Phys. 24, 102-117. C. W. Misner, K. S. Thorne and J. A. Wheeler (1973), Gravitation, Freeman, New York.
44
G. B. COOK AND S. A. TEUKOLSKY
N. 0 Murchadha and J. W. York, Jr. (1974), 'Initial-value problem of general relativity. I. General formulation and physical interpretation', Phys. Rev. D 10, 428-436. M. Parashar and J. C. Brown (1995), Distributed dynamical data-structures for parallel adaptive mesh-refinement, in Proceedings of the International Conference for High Performance Computing (S. Sahni, V. K. Prasanna and V. P. Bhatkar, eds), Tata McGraw-Hill, New Delhi, India. See also www. ticam. utexas. edu/~parashar/public_html/DAGH. J. A. Pons, J. A. Font, J. M. Ibanez, J. M. Marti and J. A. Miralles (1998), 'General relativistic hydrodynamics with special relativistic Riemann solvers', Astro, and Astroph. 339, 638-642. T. Regge (1961), 'General relativity without coordinates', Nuovo Cimento 19, 558571. L. Rezzolla, A. M. Abrahams, R. A. Matzner, M. E. Rupright and S. L. Shapiro (1999), 'Cauchy-perturbative matching and outer boundary conditions: Computational studies'. Phys. Rev. D 59, 064001. R. K. Sachs and H. Wu (1977), General Relativity for Mathematicians, SpringerVerlag, New York. M. A. Scheel, T. W. Baumgarte, G. B. Cook, S. L. Shapiro and S. A. Teukolsky (1997), 'Numerical evolution of black holes with a hyperbolic formulation of general relativity', Phys. Rev. D 56, 6320-6335. M. A. Scheel, T. W. Baumgarte, G. B. Cook, S. L. Shapiro and S. A. Teukolsky (1998), 'Treating instabilities in a hyperbolic formulation of Einstein's equations', Phys. Rev. D 58, 044020. M. A. Scheel, S. L. Shapiro and S. A. Teukolsky (1995a), 'Collapse to black holes in Brans-Dicke theory I: Horizon boundary conditions for dynamical spacetimes', Phys. Rev. D 51, 4208-4235. M. A. Scheel, S. L. Shapiro and S. A. Teukolsky (19956), 'Collapse to black holes in Brans-Dicke theory II: Comparison with general relativity', Phys. Rev. D 51, 4236-4249. E. Seidel and W.-M. Suen (1992), 'Towards a singularity-proof scheme in numerical relativity', Phys. Rev. Lett. 69, 1845-1848. S. L. Shapiro and S. A. Teukolsky (1992), 'Collisions of relativistic clusters and the formation of black holes', Phys. Rev. D 45, 2739-2750. M. Shibata (1998), 'A relativistic formalism for computation of irrotational binary stars in quasi-equilibrium states', Phys. Rev. D 58, 024012. L. L. Smarr and J. W. York, Jr. (1978), 'Kinematical conditions in the construction of spacetime', Phys. Rev. D 17, 2529-2551. R. D. Sorkin (1982), 'A stability criterion for many-parameter equilibrium families', Astrophys. J. 257, 847-854. R. F. Stark and T. Piran (1987), 'A general relativistic code for rotating axisymmetric configurations and gravitational radiation: Numerical methods and tests', Computer Physics Reports 5, 221-264. M. E. Taylor (1996), Partial Differential Equations III: Nonlinear Equations, Springer, New York. S. A. Teukolsky (1998), 'Irrotational binary neutron stars in quasiequilibrium in general relativity', Astrophys. J. 504, 442-449.
NUMERICAL RELATIVITY
45
J. Thornburg (1987), 'Coordinate and boundary conditions for the general relativistic initial data problem', Class. Quantum Gravit. 4, 1119-1131. M. H. P. M. van Putten and D. M. Eardley (1996), 'Hyperbolic reductions for Einstein's equations', Phys. Rev. D 53, 3056-3063. R. M. Wald (1984), General Relativity, The University of Chicago Press, Chicago. R. M. Williams and P. A. Tuckey (1992), 'Regge calculus: A brief review and bibliography', Class. Quantum Gravit. 9, 1409-1422. J. R. Wilson (1979), A numerical method for relativistic hydrodynamics, in Sources of Gravitational Radiation (L. L. Smarr, ed.), Cambridge University Press, Cambridge, England, pp. 423-445. J. R. Wilson, G. J. Mathews and P. Marronetti (1996), 'Relativistic numerical method for close neutron star binaries', Phys. Rev. D 54, 1317-1331. J. W. York, Jr. (1979), Kinematics and dynamics of general relativity, in Sources of Gravitational Radiation (L. L. Smarr, ed.), Cambridge University Press, Cambridge, England, pp. 83-126.
Ada Numerica (1999), pp. 47-106
© Cambridge University Press, 1999
Radiation boundary conditions for the numerical simulation of waves Thomas Hagstrom* Department of Mathematics and Statistics, The University of New Mexico. Albuquerque, NM 87131, USA E-mail: hagstromSmath.unm.edu
We consider the efficient evaluation of accurate radiation boundary conditions for time domain simulations of wave propagation on unbounded spatial domains. This issue has long been a primary stumbling block for the reliable solution of this important class of problems. In recent years, a number of new approaches have been introduced which have radically changed the situation. These include methods for the fast evaluation of the exact nonlocal operators in special geometries, novel sponge layers with reflectionless interfaces, and improved techniques for applying sequences of approximate conditions to higher order. For the primary isotropic, constant coefficient equations of wave theory, these new developments provide an essentially complete solution of the numerical radiation condition problem. In this paper the theory of exact boundary conditions for constant coefficient time-dependent problems is developed in detail, with many examples from physical applications. The theory is used to motivate various approximations and to establish error estimates. Complexity estimates are also derived to compare different accurate treatments, and an illustrative numerical example is given. We close with a discussion of some important problems that remain open.
Supported, in part, by NSF Grant DMS-9600146, the Institute for Computational Mechanics in Propulsion (ICOMP), NASA, Lewis Research Center, Cleveland, Ohio; DARPA/AFOSR Contract F49620-95-C-0075; and, while in residence at the Courant Institute. DOE Contract DEFGO288ER25053.
48
T. HAGSTROM
CONTENTS 1 Introduction 2 Formulations of exact boundary conditions 3 Approximations and implementations 4 Conclusions and open problems References
48 50 76 100 103
1. Introduction Problems in wave propagation have played and will continue to play a central role in the mathematical analysis of physical and biological systems. A defining feature of most wave problems is the radiation of energy to the far field. Mathematically, this is naturally modelled by the use of an unbounded domain, with the addition, in frequency domain problems, of a radiation boundary condition at infinity. In numerical simulations, the accurate approximation of radiation to the far field is also crucial. As it is impossible to solve directly a problem posed on an unbounded domain, new techniques, such as the introduction of an artificial boundary and associated radiation boundary conditions, are needed. The goal of this article is to outline the development, implementation, and analysis of various practical methods for solving this problem for some important models, and to present what I believe is a useful mathematical framework in which to pursue improvements and extensions. Although wave propagation is inherently a time-dependent phenomenon, it has been fruitful in many settings to solve linear problems in the frequency domain. Approaches to the accurate solution of elliptic boundary value problems on unbounded domains are, generally, far better developed than their time domain analogues. Useful techniques include a variety of boundary integral methods, which may be applied on physical or artificial boundaries, including classical integral equations of potential theory (Greengard and Rokhlin 1997, Rokhlin 1990), extensions of Calderon-Seeley equations (Ryabenkii 1985), the Dirichlet-to-Neumann map (Givoli 1992) and infinite elements (Bettess 1992, Demkowicz and Gerdes 1999). Moreover, the efficiency of solving the classical equations has been greatly enhanced in the past decade through the introduction of the fast multipole method. The aims of the numerical analysis of partial differential equations on unbounded domains are clear. We seek methods which: (i) can automatically achieve any prescribed accuracy on bounded subsets of the original domain, (ii) in terms of both computation and storage, cost no more than the solution of a standard problem on the bounded subdomain.
RADIATION BOUNDARY CONDITIONS
49
Though certainly more research and development is called for, it is my opinion that these goals have been or can be met by the methods mentioned above for most elliptic problems. An exception to this is the difficult case of Helmholtz-type equations with general variable coefficients at infinity. The situation with time-dependent problems has been far less satisfactory. The general belief was that exact domain reductions, which necessarily involve history-dependent operators, could never be made computationally feasible. As a result, various simple approximations were employed. These easily met the second criterion, but their accuracy was often poorly understood. Although the approximate conditions proposed were typically embedded in a hierarchy of conditions of increasing order and, presumably, accuracy, as in Lindman (1975), Engquist and Majda (1977, 1979), and Bayliss and Turkel (1980), the hierarchy was rarely used. For some problems it seemed that good results were obtained with the low-order approximations. However, there was generally no way to monitor or decrease the error automatically. Moreover, as we shall see later, it is possible to pose very simple problems for which the standard methods produce inaccurate results. Clearly, our first criterion is not met by the simpler techniques, which from the point of view of the numerical analyst is completely unacceptable. In the past few years, the situation has radically changed, at least for the basic, constant coefficient equations of wave theory. Progress has been made on many fronts, including: (i) the development of efficient algorithms for evaluating exact, temporally nonlocal boundary operators through the use of exact or uniformly accurate rational representations of the transforms of their associated convolution kernels, (ii) the development of improved sponge layer techniques exhibiting reflectionless interfaces with the lossless interior domains, (iii) improved techniques for the implementation to higher orders of the older hierarchies of approximate conditions, along with improvements in the analysis of their convergence with increasing order. In this article, I hope to give a broad exposition from a unified viewpoint of the developments listed above. The reader should be cautioned from the outset that, in comparison with typical theories in computational mathematics, what follows may seem rather specialized. We deal with special equations, often restrict ourselves to special boundaries, and make use of special functions. That said, the results themselves have enormous applicability as the equations we can successfully treat include many of the most important in applications. Moreover, it is not unreasonable to hope that some of these methods will be generalizable to problems we cannot now solve.
50
T. HAGSTROM
Our approach to the theory of radiation boundary conditions is straightforward. First, we construct exact boundary conditions. Although such conditions can be described in some generality as certain projections of boundary data, we concentrate on concrete expressions derived by separation of variables. For artificial boundaries that satisfy a scale invariance condition, the exact condition factors into the composition of nonlocal spatial and temporal operators. Approximate conditions are analysed using the standard concepts: stability and consistency. From this analysis we obtain sharp error estimates for a wide variety of techniques. These error bounds are used to estimate the computational complexity of the competing methods. The results are also illustrated by a simple numerical experiment. It should be noted that a comprehensive body of numerical results on an appropriate set of benchmark problems is lacking. There has been interest in developing such a set (see Geers (1998)), and I am of the opinion that the problems used here and in Alpert, Greengard and Hagstrom (1999 a) and Hagstrom and Goodrich (1998) are particularly useful, due both to the simplicity of their definition and to the difficulty of their solution. What I have not tried to do is give a comprehensive survey of the many contributions to this subject that have appeared over the past twenty years. The reader is referred to the survey articles (Givoli 1991, Tsynkov 1998) which have extensive bibliographies. I do make many references to the literature within the text, but these are primarily intended to aid the reader who wishes to delve into the subject more deeply, rather than to provide an accurate historical record of its development. Finally I would like to acknowledge the important contributions of those who collaborated with me on a variety of research projects in this field: Brad Alpert, John Goodrich, Leslie Greengard, S. I. Hariharan, H. B. Keller, Jens Lorenz, Richard MacCamy, Jan Nordstrom, and Liyang Xu. I also acknowledge the support of the NSF, the Institute for Computational Mechanics in Propulsion (NASA), DARPA/AFOSR, and, for work done while in residence at the Courant Institute, DOE. Throughout I have tried to emphasize the personal nature of the conclusions expressed herein through the use of the first person, and take full responsibility for them. 2. Formulations of exact boundary conditions In this section I briefly develop the theory of exact boundary conditions for time-dependent problems and apply it to derive explicit expressions for a long list of problems with simple artificial boundaries. The list includes the scalar wave equation and its dispersive analogue, Maxwell's equations, the linear elasticity equations, the advection-diffusion equation, the Schrodinger equation, the linearized compressible Euler equations, and the linearized incompressible Navier-Stokes equations. My purpose in presenting so many
RADIATION BOUNDARY CONDITIONS
51
examples, aside from the inherent physical interest in all of them, is to demonstrate the remarkable unity of the problem. In particular, although the details of each calculation differ, the recipe for carrying them out does not. Moreover, we shall see that the same few convolution kernels reappear in example after example to define the temporally nonlocal part of the exact condition. Practically, this means that the accurate approximation or compression of a rather small number of operators will have extensive applications. I will show how this can be done in the second part of this article. The outline of the theory of exact conditions presented here has been known for some time (Gustafsson and Kreiss 1979, Hagstrom 1983). However, it was only recently used to develop and analyse efficiently implementable but arbitrarily accurate approximations. The equations considered fall into two classes: hyperbolic equations for which the spatial and temporal operators have the same order, and equations which are first order in time but second order in space. Viewed as pseudodifferential operators, the exact conditions in each case are of different types. As a result our techniques for separating them into local and nonlocal parts differ.
2.1. The scalar wave equation The scalar wave equation is the most ubiquitous model of wave propagation and, hence, is the natural starting point for our study. Consequently, the vast majority of work on the subject has been devoted to this case. I will proceed from the general to the particular, ending with useful expressions for exact conditions on planar, spherical and cylindrical artificial boundaries. General boundaries We consider a mixed problem for the inhomogeneous wave equation in an unbounded domain, Q: 2 C
V 2 « + / , t > 0 , xefl,
(2.1)
with initial and boundary conditions: u(x, 0) = uo(x), a
du — (:z, 0) = vo(x),
(2.2)
7T+0l£+'yu = 9, zecKl (2.3) On dt To truncate the problem, we choose a bounded subdomain, T c f i , which we assume contains the support of the data, / , uo, Vo and g. The boundary of T then consists of two parts, £ C dfl and what we will call the artificial boundary, T. For example, if we are solving an exterior problem, that is, if
52
T. HAGSTROM
Fig. 1. Domains for an exterior problem: E is the tail, T is the computational domain, T is the artificial boundary
the domain ft is the complement of some finite number of finite domains, then X will consist of the boundaries of these regions while F will be some closed surface which surrounds them. (See Figure 1.) In T we solve (2.1), (2.2) and (2.3) supplemented by an additional boundary condition on F: (2.4) Beu = 0, x We term the boundary condition (2.4) exact if the truncated problem has a unique solution which, for all t > 0, coincides with the restriction to T of the solution of the original problem posed on the unbounded domain Q. Note that we insist on a homogeneous boundary condition on F, so that it will be explicitly independent of the data. If we allowed the support of these to extend beyond T an inhomogeneous condition would generally be required. An indirect description of Be may be derived as follows. Consider the part of the domain 'discarded' as we pass from Q to T, i.e., the 'tail', E = f2 — T. Consider the set, S, consisting of all solutions of the homogeneous wave equation in H, with zero initial data and satisfying the boundary condition (2.3) with g = 0 on that part of dE which is also part of d£l. As we have as yet imposed no boundary condition on F, we expect that S will be infinite.
RADIATION BOUNDARY CONDITIONS
53
Now the restriction to S from Q. of the solution, u, to our original problem must be an element of S. Moreover, so long as the trace on F of a solution of (2.1), (2.2), (2.3) in T, along with the trace of its normal derivative, coincide with the traces of an element, w, of <S, the solution is easily extended to U by simply setting it equal to w in S. Set A to be the linear subspace of all pairs of functions on F which coincide with the trace of an element of S and the trace of its normal derivative. We call A the admissible subspace. Then Be is defined by Beu = 0 <=*> u € A.
More directly, this formulation represents Be = I — P4, where P4 is a projection operator for A. We have been somewhat informal in our use of concepts from functional analysis, and the full justification of this abstract construction requires more work. However, the general recipe outlined here may be applied to other problems, as will be shown below. It also forms the basis of the construction of exact conditions for elliptic problems as given in Hagstrom and Keller (1986). Useful, and generally easily justifiable, representations of the operator Be can be obtained by means of Laplace transformation and the theory of elliptic equations. We thus consider the Helmholtz equation s2u = V2u, x e S,
(2.5)
with boundary conditions (si)
a— + (sp + 7)u = 0, xedftn 9S, on and s restricted to some right half-plane, Res>?7>0. We have also introduced
(2.6)
(2.7)
s
s = -. c
At least for r\ sufficiently large, we also require that u be bounded and assume that a, /?, 7 are real and a,(3>0. For our purposes, it is simplest to parametrize the transforms of elements of S by their boundary values at F. In particular, given some sufficiently smooth function w(x, s) defined on F, there exists a unique solution, u, of (2.5)-(2.6) such that u(x, s) = w(x, s), x G F. See, for instance, Ramm (1986) for proofs in various unbounded domains. Now we may compute the trace of the normal derivative (outward for T) of
54
T. HAGSTROM
this solution on F, which defines the so-called Dirichlet-to-Neumann map,
-t>:
du
Vw, x e r.
an Denoting Laplace transformation by C, our exact boundary operator Be may thus be denned by Beu = ~ + ZT 1 (l>£u) . (2.8) on ^ s We note that Be is not a local {i.e., differential) operator. This fact has led to the conclusion that direct implementations of the exact condition are uneconomical: a conclusion we shall demonstrate to be false for some special choices of the artificial boundary. One way to express V is in terms of the Green's function for the problem in H. Let G(x, y, s) satisfy
along with (2.6) (in y) and G = 0,
Then, for x g F , A
/ N
d
[ dG dG,
, , , ,
-Vw(x) = - - — / -—{x,y,s)w{y)dy. onx Jr ony (This equation must be interpreted in terms of limits as x —> F.) For purposes of computation, it is most convenient to express V in terms of its eigenvalues and eigenfunctions, that is, oo
Vw(y,s) = ^\j{s)Yj(y,s)
.
/ Y*(z,s)w(z,s)dz.
In special cases this representation further simplifies, as the eigenfunctions, Yj, turn out to be independent of s. Then the nonlocality may be expressed as the composition of a spatial and temporal operator, each of which may be amenable to a 'fast' evaluation. The invariance of the eigenfunctions with s follows from a scale invariance of the artificial boundary. Boundaries for which it holds include planes, spheres, cylinders and cones. Detailed expressions for Be in these cases are developed below. We finally note that extensions of the solution in S from F to another boundary F' C H may be used in lieu of the exact boundary condition. Precisely, it follows from causality that for any x' € F ' we may derive rep-
RADIATION BOUNDARY CONDITIONS
55
resentations of the form
u(x',t') = f
[ [KD(x',x,t',t)u{x,t)+
Jt
(2.9)
+ KT{x' ,x,t' ,t)-^-(x,ty\ at J
dxdt,
where the kernels KD,N,T a r e determined by the geometry of S and the choice of I" and where 6 is the minimum distance between the two boundaries. Indeed, such expressions follow from the various representations of solutions of (2.5) by potential theory. Using (2.9) to provide Dirichlet data at T', it is possible to solve the wave equation in the extended domain consisting of the union of T and that part of S bounded by T and I". This approach was first suggested by Ting and Miksis (1986) and later implemented by Givoli and Kohen (1995) for exterior problems in three space dimensions. Then one may use the well-known Kirchoff formula as a particular realization of (2.9):
ldu r dn
1 dr du re On dt
,,
where d/dn is the outward normal derivative on V and r = \x — x'\
Although I do not expect that boundary conditions based on this formula will be competitive from the point of view of cost with other equally accurate treatments discussed below, it is important to note that the paper of Ting and Miksis (1986) represents one of the first serious attempts to use exact conditions for the time-dependent wave equation. It is generalized to the equations of elasticity in Givoli and Kohen (1995) and to Maxwell's equations in He and Weston (1996). Planar boundary We now suppose that H consists of the half-space (x,y) € (0, oo) x Rn~l. Applying a Fourier transformation in y with dual variables k, (2.5) becomes the ordinary differential equation —
= (s2 + \k\2)U,
x>0.
For Res > 0, bounded solutions of (2.10) are of the form
(2.10)
56
T. HAGSTROM
where the branch of T> = (s2 + \k\2)1/2 = yjs2 + \k\2 is chosen so that V is analytic and has positive real part when Re s > 0 and satisfies T> ~ s,
s—
oo.
The branch cut is conveniently chosen to be a curve in Re s < 0 connecting the branch points . The exact condition (2.8) is expressed in terms of u in the following way. Let T denote Fourier transformation with respect to y, and let T~l be its inverse. Rewrite f> by removing its large s part so that the remainder is the transform of a function
Finally, let 1 /-i
——
v l — w2coswtdw.
t 7T 7 - 1 As shown, for example, in Hagstrom (1996),
(2.11)
K(s) = Vs2 + 1 - s. Therefore, using standard formulas from Laplace transform theory (e.g., Doetsch (1974)) we finally have the exact condition at x = 0:
(Here, * denotes convolution in time.) Note that, as mentioned in the preceding section, we have written Be as the composition of nonlocal spatial and temporal operators. This is a consequence of the fact that the eigenfunctions of T> are simply the Fourier modes and, hence, are independent of s. We note that the exact condition (2.12) applies with minor modification to problems that are periodic in y or that are posed in cylindrical domains such as waveguides. Indeed, it even applies to certain problems with variable coefficients. Consider
with some homogeneous boundary conditions, Bsu = 0, y £ d&. Suppose, with these boundary conditions, that the operator L has a complete, L2orthonormal set of eigenfunctions Yj(y) with negative, real eigenvalues — KJ. For example, L could be a variable coefficient Sturm-Liouville operator. Then the analysis above can be repeated with the Fourier transform replaced
RADIATION BOUNDARY CONDITIONS
57
by the Sturm-Liouville expansion and | k | replaced by K,J . Precisely, we have = 0 . (2.13)
Spherical boundary Using standard spherical coordinates, (p, 6,<j>), S is defined by p > R and F is the sphere p = R. The Laplace transform of the solution, u, in the tail is now expanded in spherical harmonics, that is,
where
and dp2
p dp
\
p2
For Res > 0, bounded solutions of (2.14) in S are given by =
Ai{s)J^-=Kl+1/2(ps),
the modified spherical Bessel function of the third kind. (See Abramowitz and Stegun (1972, Ch. 10).) It may be represented in terms of elementary functions:
^
J
)-».
(2.15)
Hence we have the following expression for the exact boundary condition, which as before we write as the sum of a local operator and convolution with a function
where, for I ^ 0,
58
T.
HAGSTROM
and 5o = 0. Returning to the time domain and denoting by H the spherical harmonic transformation, we find
| + j |+
S » + ^ « " ' < * « > ' >
= 0.
(2.18,
The rationality of 5) implies that the temporal convolution in (2.18) can be localized, that is. its equivalent to the solution of a differential equation, albeit of order I. T h e localizability of the exact boundary condition was first noted and used by Sofronov (1993) and Grote and Keller (1995, 1996). We also have the following beautiful continued fraction representation for Si, which will play a role in efficient implementations of the exact condition: o ^
_
M (
~
}
-
W + D 9
1 | i
,
1
2
+ 2
4
l-+
Z
x
r 9 l q
m+i)—2—• 4 ( - + ' ( ' + >- ' +
4(
2
2
( 3 N
1
9
)
l
+ 3+..0 J
It is also possible to derive analogous expressions for sphcre-to-sphere ex tension operators. As mentioned earlier, these can be used in lieu of bound ary conditions. The properties of localizability and ease of approximation which (2.18) possesses remain valid for the extension operators. In fact it is the extension formulation that is implemented in Sofronov (1999). The construction of exact conditions on a spherical boundary is directly generalizable to conical domains. Precisely, we suppose E may be described in spherical coordinates by E = { ( p . M ) e (R.oc)
x0},
and that appropriate boundary conditions are imposed on 9 0 . Then we may separate variables as before except that we must expand in terms of the eigenfunctions of the Beltrami operator on 0 and. in (2.14), we must replace —1(1 + 1) by the eigenvalues —Kf- Then the transform of the exact boundary condition is as in (2.16) except that the index of the modified Bessel functions is
Of course, for these indices, the exact condition is no longer a rational func tion of s, so that the operators are not equivalent to local operators in time. However, as we shall see later, this does not preclude their effective implementation. Cylindrical
boundary
We now take T to be the infinite cylinder described in standard cylindrical coordinates, (r.6,z), by r — R. Note that, just as in the case of a planar boundary, we may restrict z to a finite interval with the addition of appro priate boundary conditions and may also replace d /dz by a more general 2
2
RADIATION BOUNDARY CONDITIONS
59
Sturm-Liouville operator. In the formulas that follow, this would simply require replacing Fourier transforms in z by Fourier series. Thus, with k denoting the Fourier dual variable to z and I indexing the Fourier series in 9, we derive the ordinary differential equation =0
(2.20)
r Or in the tail, with bounded solutions for Re s > 0 given by
ui = Ai(s, k)Ki(r\/s2 + k2). Here, again, K\ denotes the modified Bessel function of the third kind (Abramowitz and Stegun 1972, Ch. 9). Using the well-known asymptotic expansions of K\ for large argument, found, for example, in the previously noted reference,
we may again express the temporal part of the boundary condition as the sum of a local operator and convolution with a function. Precisely: V,
= s + —- + (Vs2 + k2-s) + -,Cl(RVs2 + k2),
In the time domain we have
Tu = (ck2K(c\k\t) * u + —^(Gtict,R,
k) * (Fou))\ ,
where Te,z represents Fourier transformation in 6 and z, respectively, and
This result can be extended to domains where 9 is restricted to a subinterval of (#0J#I) £ (0, 2TT) and additional boundary conditions are imposed. Then we need only change the index of the Bessel functions in (2.21) from I to KI where — nf is the Ith. eigenvalue of d2/d92. We note that, in contrast with the spherical case, condition (2.22) cannot be exactly localized in time. However, as previously mentioned, the operators in all three cases may be very accurately and efficiently approximated
60
T. HAGSTROM
using essentially the same techniques. In particular, it is possible to express Ci as the sum of a rational function and a function denned as an integral. Convergent approximations are derived in Sofronov (1999) by discretizing the integral. Similarly, the transform of the planar kernel may be expressed in integral form, and convergent approximations are derived in Hagstrom (1996) by discretization. In subsequent sections we will outline how these representations can be combined with multipole expansions to develop uniform approximations as in Alpert, Greengard and Hagstrom (19996). The dispersive wave equation The dispersive wave equation is given by ^
VW
(2.23)
Exact boundary conditions for (2.23) have precisely the same form as those for the wave equation, except that eigenvalues used in the definition of the nonlocal operators are shifted by one. Therefore we have, on a planar boundary, from (2.12):
On a sphere, using (2.18), we have
0+
!
^
where ~
/{(Rs)~1/2Kl/(Rs))'
l\
and
Note that this condition is not temporally localizable. Finally, on a cylindrical boundary, we adapt (2.22):
tu = (crfKicryt) * u + ^e\Gi{ct, where 7 = yj\k\2 + l, and Ci is given by (2.21).
Gi
R, k) *
RADIATION BOUNDARY CONDITIONS
61
2.2. Generalizations to hyperbolic systems Consider now a general first-order hyperbolic system with artificial boundary F given by the hyperplane x = 0, denoting as above the tangential variables by y. The equation in the tail takes the form du
v-^ _, du
,n
,.
where u € M9, AQ,BJ € Rqxq. We assume strong hyperbolicity. (See Kreiss and Lorenz (1989).) This implies, among other things, that the eigenvalues of P = ii k0A0
V
are purely imaginary for real kj. To simplify the algebra, we also assume that the artificial boundary is noncharacteristic: that is, AQ is invertible. Solving for du/dx and carrying out our usual Fourier-Laplace transformation in y and t we find: ^
= Mu, M = AQ 1 I si - ^2 ikjBj j .
(2.25)
By our assumption of hyperbolicity, for Re s > 0 no eigenvalue of M can lie on the imaginary axis, since that would imply a nonimaginary eigenvalue of P. Therefore, for Res > 0 we may define two distinct invariant subspaces of M: the first, of dimension q+, is associated with eigenvalues with positive real part and the second, A, of dimension g_ = q — q+, is associated with eigenvalues with negative real part. Let Q+(s,k) be a q+ x q matrix of full rank all of whose rows are orthogonal to A. Then an exact boundary condition at x = 0 is given, in the transform variables, by Q+U = 0.
Fixing k and letting s be large, standard results in matrix perturbation theory (Kato (1976, Ch. 2)) imply that we may rewrite this as (2-26) Q+,ou+ $+(*>*)* = 0> where the constant matrix Q+,o is determined by the invariant subspaces of AQ, and hence may be taken so that Q*+QU defines the usual normal characteristic variables, and
62
T.
HAGSTROM
Therefore the elements of Q are the transforms of bounded functions and the temporal transform may be inverted to reveal a convolutional form: +
l
Q ; u + T~ ; 0
[Q\(7u])
= 0.
(2.27)
The exact boundary condition at more general boundaries might be devel oped in the following way. At each point on the artificial boundary identify normal incoming and outgoing characteristics for the interior domain, T . For the tail, E, the roles of these variables are reversed: outgoing for T is incoming for E and vice versa. We parametrize solutions in the tail by their incoming data, thereby expressing the outgoing characteristic variables, from the perspective of E, in terms of the incoming characteristic variables. From the perspective of the computational domain, T, we express incoming variables in terms of outgoing variables as expected. This construction is complicated by the fact that the number of incoming and outgoing charac teristics will generally be different on different parts of the boundary, and we have not yet carried it out in any generality. A n example where this diffi culty occurs, namely the subsonic compressible Euler equations, is discussed below.
Systems
equivalent to the wave equation:
electromagnetism
Many hyperbolic systems of physical interest are isotropic. This, in addi tion to the requirement of homogeneity, forces them to be, in some sense, equivalent to systems of wave equations. Then, our formulations of exact boundary conditions for the wave equation can generally be translated into exact boundary conditions for the equivalent systems. A prime example of this is provided by the equations of electromagnetism. Of course, one can write these equations directly as a system of four wave equations for the vector and scalar potentials. (See, for instance, Schwartz (1987, Ch. 3).) Using the more conventional field variables, E and B, and assuming in E an absence of charges or currents, we have Maxwell's system: dE - - c V x B dt
=
0.
dB — + cVxE at
=
0.
v
(2.28) ' (2.29)
where c is the speed of light. In addition we have V - £ = V - £ = 0.
(2.30)
(Of course E and B are uniquely determined by (2.28)-(2.29) and the initial and boundary conditions. However, it is easily seen that (2.30) is preserved under the time evolution.)
63
RADIATION BOUNDARY CONDITIONS
We begin with the simplest case of a planar boundary. Writing the system in the form (2.24) we note that the coefficient matrix corresponding to ^-differentiation is singular, so that the boundary is characteristic. Applying Fourier transformation in the tangential variables and Laplace transformation in time leads to a differential-algebraic system where the algebraic equations are given by sE\ sB\
= ik2B3 — ik3B2, = -ik2E3 + ik3E2.
Here s = s/c and the subscript 1 denotes a field component in the x direction. Using the algebraic equations to eliminate E\ and B\ yields a system of four equations for (E2, E3, B2, B3)T in the form (2.25) where
M=
The eigenvalues of M are given by A
=v
s2
fcf,
where the branch is chosen as in our discussion of the wave equation. Exact boundary conditions may be determined by computing left eigenvectors corresponding to A+. As this eigenspace is two dimensional, we may choose two independent eigenvectors which in turn will generate two boundary conditions. Note that the only nonlocal operator that can arise is expressed in terms of A+, and hence will be the same as encountered in the case of the wave equation. One reasonable choice, which leads to symmetric formulae, is
s) + , s(X+
, k2k3, ~s(X+ s)
, S(A + + s) +
After some algebra, and the reintroduction of E\ and B\ to further simplify the results, we finally obtain (2.31)
c at
ot
dy
=
0,
(2.32)
64
T. HAGSTROM
where TZ is the nonlocal operator appearing in (2.12):
Uw = T~x (c\k\2K(c\k\t) * (Tw Note that, by taking appropriate linear combinations, many other forms could be obtained. Similarly, exact conditions at spherical and cylindrical boundaries for the Maxwell system involve the nonlocal operators appearing in (2.18) and (2.22), the exact conditions for the wave equation. Again, a number of formulations are possible, as each field component solves the wave equation individually and hence satisfies that equation's exact boundary condition. Of course, not all such formulations are well-posed. Below we outline a direct derivation in the spherical case which involves the application of the nonlocal operator to a minimal number of quantities and is hence somewhat less expensive to implement. For an alternative form see Grote and Keller (1999), where the authors adapt their derivation of local exact conditions for the wave equation. We begin by performing a Laplace transformation in time and expanding E and B in the orthogonal basis of vector spherical harmonics (Newton 1966, Ch. 2): E
= I
B = \ ' i
where V(°) - V,.
V{e)
_ SYl
1
(2.33) and ep, e# and e^ are the standard unit basis vectors in the spherical coordinate system. As in the case of a planar boundary, Maxwell's equations now lead to a differential-algebraic system in p for the expansion coefficients. The algebraic equations may be used to eliminate the coefficients associated with the radial harmonics, Yj ':
65
RADIATION BOUNDARY CONDITIONS
We then have the following first-order system for the remaining variables: / f e,l \ d_ dp
1 p
Be,i
=s
0
0
0
0
0
0 - 1 - 1(1+1) \ ( 4,1 0
1+
0
Be,i
0
\Bmi
Bounded solutions are given by 0 ki(ps) k^ps) + 0
o o V
-hips)
where ki is the modified spherical Bessel function of t h e third kind (2.15). In terms of t h e expansion coefficients this may be written as =
0,
=
0,
P P2
where Si is as in (2.16). Finally, we note that if we define B = ep x B = —
then
Therefore, letting p — R be t h e b o u n d a r y location a n d inverting t h e t r a n s forms we reach our final form:
ld_(E9-B4 cdt
4E n
(2.34)
(Si(ct/R) * Ei,m) - F/ e ) (S^ct/R) *
= 0.
i
Not surprisingly, it is also possible to formulate the exact boundary condition on a cylinder using the nonlocal operator in (2.22), but we will present the details elsewhere. Systems equivalent to the wave equation: elasticity The equations of linear elasticity in an isotropic medium are typically formulated in terms of a 3-vector, u, describing the displacements (Eringen and §uhubi 1975, Ch. 5). They are given by Navier's equations: dt2
(2.35)
66
T. HAGSTROM
where Q and ct are the irrotational and equivoluminal sound speeds, respectively. Unlike the case of Maxwell's equations, each component of u does not satisfy the scalar wave equation. However, a Helmholtz decomposition of u produces a vector and a scalar wave equation, one with each wave speed. We shall proceed directly, deriving expressions for the exact boundary condition at planar and spherical boundaries. The direct approach to deriving exact boundary conditions on the plane x = 0 is to reduce the problem to a first-order system in x, carry out a Fourier-Laplace transform in (y, t), and compute the requisite projection operators into the admissible subspace, A, as described above. However, as this is a second-order system, we will jump ahead and look for the Dirichletto-Neumann map. Seeking solutions of the form U=
e**+st+ik-yv
leads to the algebraic system (c2(A2
_ |fc|2) _
S
2
) I +
(C2
_ c2)wwT^
Q^
V =
«,= ( . * ) .
(2.36)
There are three independent bounded solutions of this system. Two correspond to the equivoluminal modes
V s ct + k ,
-
^^J,
where the 2-vector q is orthogonal to k,
The third corresponds to the irrotational mode A, =
-1
Setting V to be the matrix whose columns are Vi, we have at x = 0, for some 3-vector c, u = Vc,
du — = VAc,
Therefore where, after some algebra, we find
A = diag(At, At, A/).
RADIATION BOUNDARY CONDITIONS
67
and V / 'd
c
// 's
2~\ ~T 2~\ ' l *l + ct A t
Returning to the time domain and using the fact that (kkT + qqT) = \k\2I, we find ~ +^ + Cu + T-l{E*{^u)) = 0, ox dt
(2.37)
where
E = diag(l/Q, 1/ct, 1/ct),
C = f( °
"V^zF ) .
The transform of the nonlocal operator of E is given by E =
— Cl
We see that it involves both the kernel K, through the terms At + s/ct and A/ + s/ci, as well as some new kernels whose transforms are jd and 7 S . As for Maxwell's equations, exact conditions at a spherical boundary are most easily obtained by expanding the solution, u, in terms of vector spherical harmonics (2.33). Denoting the transformed expansion coefficients by u/o, ui:f, and u;jTO, we derive, after some algebra, the following equations where prime denotes differentiation with respect to p: 2-
2;/; , 1\ (™'l,e , * V ^ , 0 ^
SUlfi = ctl(l + l)\-^ +
-^--^-j
p l'c 2
2-
Bounded solutions of this system, which may also be directly derived via a Helmholtz decomposition as in Eringen and §uhubi (1975, Ch. 8) are
68
T. HAGSTROM
described by 0 0 0
h(ps/ct))
where ki is again given by (2.15). Denoting by B the matrix above, the Dirichlet-to-Neumann map is denned by the matrix
It is clear from the structure of the matrix B that the entries of £>i will be rational functions of s. Hence Di corresponds to a localizable operator in time. Separating out the local part of the operator, we reach the form 1
l(l + l)*=2. 0
The elements of the 2 x 2 matrix Pi are rational functions of s of degree no more than (21 + 3, 21 + 4). We have not yet studied them in any detail. Writing
I up U—\U0
using the identities
/ V
1(1 + 1)
X ( V X Un0Tm) =
1„
and inverting the transforms, we find -Q- + S— + —U -I
^ep (V
X yV X
Unorm)
0 Si*
A direct derivation of an exact local form, based on the Helmholtz decomposition and their approach to the wave equation, was first given by Grote and Keller (1998).
RADIATION BOUNDARY CONDITIONS
69
Linearized gas dynamics: a problem with anisotropy
In all the examples above which we have studied in detail, the system has been isotropic. A consequence of this is that the number of boundary conditions required is independent of the location on the boundary. We now consider an important system for which this is not the case. The linearized, subsonic Euler system for a polytropic gas in three space dimensions is given by
where P\
1
(
0 0 0
Q =
T
\ ej+l + ej+i
0 0 0
V7" 1 / V7-1/ where ej+\ is the (j + l)th unit 5-vector, p is the density perturbation, Uj the velocity perturbations, and T the temperature perturbation. Finally, we assume \TJ
Applying a Fourier-Laplace transformation with dual variables (fo, k3,s), and solving for x-derivatives, we obtain a system in the form (2.25) with M given by / 5(1-7(1-1/?)) 7(7i(l—Uf) s
7(1-1/?) _ifc2_
0
ifc3
0
71/1
\
ik2Ui
s
l-l/? st/i
1
s_
ifc 3
s
7(i-r/?)
0 s t/l
0 l-C/2
1-U?
where
s = s + ifc2t/2 4- HC3U3. The eigenvalues of M are given by
A =
1 - U\
s
yUi(l—Uf)
1-t/?
ifc2
1
7t/i(l-£7?)
ik3Ui
1
_ife2_
ifca_ 71/1 7 i7i(l-(7 1
2
)
70
T. HAGSTROM
and a triple eigenvalue Ao = - ^ Setting
five left eigenvectors are given by
\ 7
iQl
=
7
( 7 - 10 0 0
- 1 ) ,
l02 = (ik2 ikiU\ s 0 0) , ^0,3 = (*^3 ikslli 0 s 0 ) . Note that the signs of the real parts of the eigenvalues, and the number with positive and negative real part, depends on the sign oiU\. I will as usual assume that T lies to the left of x = 0, so that the outflow case corresponds to U\ > 0 and the inflow case to U\ < 0. Outflow boundary. At outflow we require one boundary condition, corresponding to the single incoming characteristic or, equivalently, the single eigenvalue A+ with positive real part. The boundary condition is defined by l+. After inverting the transforms we find (Z.66)
where we have introduced the pressure perturbation, and Dtanw Dt
dw ~~dt+
dw 2
~dy+
dw 3
~dz:
Hw = T'1 ((1 - Ul)\k\2K[k, t) * {Fw k(k,t) = Inflow boundary. At inflow, that is, if U\ < 0, we require four boundary conditions as the triple eigenvalue Ao is now positive. It would be natural to simply append the three conditions defined by loj to the condition defined by /+. However, when s = — \k\U\ > 0, A+ = Ao and l+ is in the span of the IQJ. Therefore, the straightforward construction leads to ill-posed problems. (See also Giles (1990).) This may be remedied by replacing l+ with
RADIATION BOUNDARY CONDITIONS
71
an appropriate linear combination of the four conditions. One possibility, analogous to the one used in two-dimensional computations by Hagstrom and Goodrich (1998), is
This leads to the system of four boundary conditions: Aan, Dt ^
u b, LJ
2
v
^
, , 1 + t/l (0u2 2 \dy
iy
du3\ = dz J
(7-l)p-T
=
0, (2.39) 0, (2.40)
The stability of these conditions and derived approximations will be shown by Goodrich and Hagstrom (1999). Note that (2.40) is simply the statement that the entropy perturbation is zero at inflow. Using it and the momentum equations we see that (2.41) and (2.42) are equivalent to setting to zero the tangential components of the vorticity at the boundary dx
dy '
dx
dz
The boundary condition for the acoustic modes is related to exact boundary conditions for the convective wave equation satisfied by the pressure, p. Precisely, it may be obtained from this exact condition and the use of the equations to eliminate the normal p derivative. As mentioned earlier, we have no direct derivation of exact conditions for exterior problems with anisotropy. However, the interpretation above is suggestive of an ad hoc approach, which may work in this important case. In particular, the analogues of (2.40)^(2.41), namely the specification of zero entropy and tangential vorticity perturbations, are valid at inflow for any convex boundary. This leaves us with the problem of deriving exact conditions for the convective wave equation satisfied by the pressure perturbation, and then coupling it with the equations and boundary conditions to produce a well-posed problem. These latter problems to date are unsolved. 2.3. Equations of mixed order Although the vast majority of work on radiation boundary conditions has been concentrated on the hyperbolic case, it is possible to apply the same general principles to construct exact boundary conditions for equations of different types. In this section we consider examples that involve partial
72
T. HAGSTROM
differential operators of first order in time but second order in the spatial variables. The major difference, in comparison with the hyperbolic case, is in the dependence of the symbol of the exact operator on the dual variable to time, s. (See Halpern and Rauch (1995) for a discussion of the appropriate symbol classes in the case of parabolic systems.) In particular, we cannot write the operator as the sum of a local operator and a temporal convolution with a bounded kernel, but rather write it as convolution composed with time differentiation. Our three examples will include the scalar advection-diffusion equation, the Schrodinger equation, and the incompressible Navier-Stokes equations. All three cases will be treated in three space dimensions at planar boundaries and all but the Navier-Stokes equations at spherical boundaries. As the reader is now experienced with the separation-of-variables techniques for deriving the boundary conditions, I will omit some of the details. The advection-diffusion
equation
Consider the scalar advection-diffusion equation (2.43) ^ + U Vu = uV2u, at in the tail, S, defined by x > 0. After Fourier-Laplace transformation, we derive the following expression for bounded solutions: fi = A(s, k)e-*°,
A=
s + iUtn-k tfi/2 + yju{s + iUtaa
+ vW
{2M) 2
k + v\k\ ) + C/2/4
with the exact boundary condition given by du — + An = 0. ox Here we have written U = (Ui,Utan)T and chosen a branch of the square root with positive real part for Res > 0. Note that we cannot write A as the sum of a polynomial in s and the transform of a function. However, we can return to the time domain, finding: | | + T~x (W+ * (F(Nu))) = 0, Nu = — + Utan
Vyu
(2.45)
-
2
V
(The formulas leading to W+ may be found in Oberhettinger and Badii (1970).)
RADIATION BOUNDARY CONDITIONS
73
Similarly, we can treat the case of a spherical boundary. Clearly, without loss of generality, we may assume that the advection field, U, is in the x direction. Then we have 2 su + Ui — = uV ii. dx
Set ul£ ^ u = e~2 V.
Then, v satisfies
(s +4u — I v = vV2v.
J
V
Therefore, repeating our analysis from the case of the wave equation, (2.16), we find Ui . . , , umdv du — = —- sin 9 cos
— sin 0 cos 6 u 2v
Inverting the Laplace transform we reach our final form:
3u dp
Ui . 2v
„
n
^
(du ydt
U? \ 4v J
{
^
1 R = 0,
(2.46)
where
P{t) = (nvQ-We-Q,
§i(R,t) = C
Due to the presence of the irrational function of s in the argument of §1, (2.46) cannot be directly expressed as a local operator. We note that the special case of the heat equation is recovered by setting U = 0. For the heat equation, however, fast methods for evaluating the solution operator are available (Greengard and Lin 1998), which may lead to more efficient methods of solution in most cases. The Schrodinger equation The Schrodinger equation is denned by .du = -,2W -i— dt
74
T. HAGSTROM
Clearly, representations of exact boundary conditions in transform space may be obtained from those above by setting U = 0, replacing s by —is and choosing appropriate branches. For the case of a planar boundary, define ^J—is + \k\* so that, for Re s > 0,
Re U-is
+ \k\2) > 0 .
(2.47)
Then, on the planar boundary x = 0 we have, in analogy with (2.45),
Tu
= _ i ^ _ ot
v
v
y
w = e-*ifcia*+W4(7rt)-i/2_
On the spherical boundary, choosing \/—is according to (2.47), we adapt (2.46) and find
where
T/ie linearized incompressible Navier-Stokes equations As our final example of an equation of mixed order, we consider the construction of exact boundary conditions at a planar boundary for the NavierStokes equations linearized about a uniform flow. Again we shall see that our general techniques apply, and that the temporally nonlocal operators that arise are the same which are needed in the case of the advection-diffusion equation. (For alternative constructions in each case see Halpern (1986), Halpern and Schatzman (1989).) We thus consider
du o — + U u + Vp = vV2u, in the tail H C M3 denned by x > 0. We make no restrictions on U\ so that there may be either inflow or outflow at the boundary. Following our standard construction, we perform a Fourier-Laplace transformation and make the system first order in x. Here we use the divergence constraint to
75
RADIATION BOUNDARY CONDITIONS
eliminate dui/dx, leading to a system of six equations: / dw —— = Mw, ox
w=
P \
U3
9a;
U
—s
0 0 0 i&2
0 0 0 0
\ik3 where s = s + iUtan
-ik3 0 0 0
0 0 s
0 0
s
0 k + v\k\2.
The eigenvalues of M are 2v
with 7 satisfying Re 7 > 0 when Re s > 0 is defined by 7=
It is natural to define exact boundary conditions by the left eigenvectors associated with A i ^ which may be given by
12
=
13
=
ik2, - 2
C/1+7 ik3,~2 ik3vs
,s-vkl,-vk2k3,
Ui+1
, s - vk%, 0, ^
,0 , 7
However, when s = u\k\2 — Ui\k\, Ai = A2,3, and we find that q\ is in the span of <72,3- Therefore we replace it by a linear combination of the three eigenvectors which remains independent of (72,3:
- (l, -2(1 + v\k\W+),ik2v{l where z = Ifc^s and =
+ zW-),ik3u(l
+ 2W-),0,0) ,
76
T. HAGSTROM
Introducing the operators
H = F-\\k\-lFu),
N=(^
+ Utan-V- ^Vt2an ; ,
the kernels — e
which we recognize from our study of the advection-diffusion equation, and the temporally nonlocal operator = Jr~l * (Tu)), the exact conditions in the time domain are expressed by
^
dy
+^ )
dz J
= 0, (2.48)
-
"
Construction of exact conditions on a spherical boundary has not, to our knowledge, been carried out. A closer study of the exact conditions in the planar case is quite suggestive of how these would look. Note, in particular, that (2.48) is related to the exact condition for the Laplace equation satisfied by p, namely px + H~lp = 0. The other two conditions are related to the advection-diffusion equation for the vorticity. As the exact conditions on a sphere for the Poisson equation and the advection-diffusion equation are easily formulated, it is reasonable to believe that an exact condition for the Navier-Stokes equations can be similarly found and will involve the same nonlocal operators. Exact boundary conditions for the compressible Navier-Stokes equations can be found using the same techniques as discussed by Halpern (1991) and Hagstrom and Lorenz (1994). In that case, the number of boundary conditions is different at inflow and outflow boundaries. In addition, nonlocal operators associated with the wave equation are involved. 3. Approximations and implementations Having now completed an exhaustive study of exact boundary conditions for a wide class of problems of physical interest, we turn to the problem of efficient implementation of or approximation to the nonlocal operators appearing in our formulations. I will restrict attention to the scalar wave equation. As we have seen, exact conditions for most other important hyperbolic systems involve the same pseudodifferential operators, so the techniques we develop will be applicable in all these cases.
RADIATION BOUNDARY CONDITIONS
77
As mentioned earlier, it was generally believed that the direct implementation of the exact conditions is prohibitively expensive, a belief which discouraged their study. Considering flop counts, this belief is false. Hairer, Lubich and Schlichte (1985) present an algorithm for the fast solution of convolutional Volterra equations. Its application to the exact boundary conditions in integral form yields a method for which the computational effort is smaller than that required by the interior solver, except for unusually long times. However, this approach does require the storage of full time histories at the boundary, which is excessive for moderately long time simulations. The primary alternative to direct implementation of the temporal integrals is the use of approximations to (or in the spherical case representations of) the kernels by sums of complex exponentials. For such kernels, convolution is equivalent to the solution of differential equations, so that the necessary work per time-step and storage is proportional to the number of exponentials used. In the next few sections I will develop the basic error estimates for such approximations and consider some examples. The same theory can be used to analyse the error associated with sponge layers, and I will do so for the so-called perfectly matched layer (PML), a reflectionless sponge layer recently introduced in computational electromagnetics. 3.1. Convolution with sums of complex exponentials Consider the problem of computing Ou = H-1 (Ei * (Hu^), where now H is any of the spatial harmonic transforms from the preceding sections, I is the harmonic index, * is temporal convolution, and E\ takes the form j
<0.
(3.1)
3=1
Note that Ei(s) is a rational function of s of degree (n/ — 1, n{). There are two distinct and useful ways to represent E\. The first is as a sum of poles, which is directly derivable from (3.1):
Then, for any function w(t),
'£lj(t),
(3.2)
78
T. HAGSTROM
where the >y satisfy the differential equations dt
4>ii(0) = 0.
"
The second representation is as a finite continued fraction,
which is terminated by the condition %m+i = 0. Then, following Xu and Hagstrom (1999), Hagstrom and Hariharan (1998), we may evaluate E\ * w in recursive form. In particular, set >
J
i
k
I
l
k
lk
where En = E\ and E^ni+\
= 0. Set
Wk = Elk * wk-li
w
0
=
w
,
Wni + l
=
0.
Then we have dwk Ot
= l,...,ni.
(3.4)
Hence, for each representation, we must introduce rii auxiliary functions for the Zth harmonic for a total of N 1=0
auxiliary functions where N is the number of harmonics used to represent the solution. The work per step and storage associated with the convolution is thus proportional (with a small constant) to 7V"a. Note that we must also apply the harmonic transform, 7i, and its inverse at each step. In some instances this simply involves fast Fourier transforms, while in others we require spherical harmonic transforms using, for instance, the methods of Mohlenkamp (1997) and Driscoll, Healy and Rockmore (1997). In the former case the work is O(N In N), but in the latter we have 0(iVln 2 N). In special cases, the harmonic transform phase of the application of the boundary condition can be avoided. This occurs when the constants Q/J, fyj or jij, 6ij are eigenvalues of differential operators with eigenfunctions given by the Zth harmonic. The most important example of this is the case of the exact boundary condition at a spherical boundary. Then (2.19) has the
RADIATION BOUNDARY CONDITIONS
79
form (3.3) with s replaced by Rs/c and la
8
lj
1(1 + 1) = —g '
=
3-
Recalling that we see that for A; = 1 , . . . , N (3.4) takes the form
with w;o = u/2, u>./v+i = 0. Then, if we assume
we have
that is, w\ is precisely the nonlocal part of (2.18). (Note: Wj as defined here differs from that in Hagstrom and Hariharan (1998) by a factor of (—I)-7.) The recursive form above can also be modified for use in approximating the nonlocal terms in (2.22), as discussed by Hagstrom and Hariharan (1998), though the approximation is no longer exact. For different approaches to implementing (2.18), see Sofronov (1999) and Grote and Keller (1995, 1996). As these involve spherical harmonic transforms, I expect the formulation given here will be somewhat more efficient, and certainly much easier to implement. The derivation of the continued fraction form was inspired by the reformulation by Barry, Bielak and MacCamy (1988) of asymptotic boundary conditions based on progressive wave expansions first suggested by Bayliss and Turkel (1980). See Hagstrom and Hariharan (1996) for more details. A different approach to applying approximate boundary conditions, based on localizable, homogeneous, rational approximations to the transformed representation of the exact boundary condition on a planar boundary (2.12), is developed in Higdon (1987, 1986). In particular, suppose that we approximate IM2
9
n
.
80
T. HAGSTROM
which is a general form for a homogeneous approximation that is localizable in time and space. Set
A 2 = s2 + \k\2, and note that, if u is a solution of the wave equation, 2
.
d2ti
Replacing |fc|2 by A2 — s 2 leads to a boundary condition of the form Q(s,X)u
=
0,
Multiplying through by the denominator and factoring the result we find that J[
rjjS + X)u = 0,
which is equivalent to
Stably implementing boundary conditions in this form is a reasonably simple matter. However, it may not be feasible to choose q very large (as is my intent) due to the growth of the difference stencil into the interior domain, so that I generally use auxiliary functions as in (3.2) or (3.4). Starting from (3.7), the parameters rjj, which typically correspond to cosines of incidence angles of perfect absorption, may be adjusted directly. This formulation has been applied in a number of more complex settings by Higdon (1991, 1992, 1994).
3.2. Stability and consistency Error estimates are derived, as always, by establishing the stability and consistency of the approximate boundary conditions. Let us begin with the simplest case of a planar boundary and an approximate boundary condition defined by
s + Vs + Fr Assume further, for simplicity, that T is the half-space x < 0. Then the Fourier-Laplace transform of the exact solution, u, and the error, e, take
RADIATION BOUNDARY CONDITIONS
81
the form ft = Ae-^+^x,
e=
with the amplitudes related by (3.8)
(Generally, for more realistic choices of T, e must satisfy homogeneous boundary conditions on S, and so has a more complicated form. However, similar error estimates can be derived.) By Parseval's relation we find, on bounded subsets T ' c T : INIL3(O,T;L2(T'))
( r 2T)(fc)r / e
\J
2
s u p \e\ \\u(0,k,-)\\l2i0!T)dk)
Res=t)(fc)
V/2
.
/
To bound |e|, we must derive an upper bound on its numerator (consistency), and a lower bound on its denominator (stability). It is interesting to note that if we replace the approximate boundary condition by the exact Of course boundary condition, the denominator has zeroes at s = the numerator is identically zero in this case, so the error is indeed zero. However, we expect that accurate approximate conditions will have small denominators near these points. A simple sufficient condition for stability is Rei?>0, Res>0. (3.9) This can be relaxed somewhat, as will be seen in one of the examples. Ideally, we would take r\ = 0 so that our estimates are uniform in time. However, stable, homogeneous spatially localizable conditions generally have poles on the imaginary s axis. (See Trefethen and Halpern (1986, 1988).) At such points |e| > 1, so that no useful estimate holds. Therefore, for spatially local conditions we generally must settle for finite time estimates. In numerical calculations we can only treat functions with wave numbers in some bounded set, |fc| < M. Our error analysis simplifies somewhat if we restrict our attention to this set. The accuracy of any method is then characterized by 6(T,M;R)=
sup inf sup eT/r|e|. 7
(3.10)
?S0
Alternatively, we can seek estimates involving derivative norms of the solution, leading to error estimates in terms of sup inf sup In this exposition I will follow the former, simpler approach. For examples of the latter see Hagstrom (1995, 1996) and Xu and Hagstrom (1999).
82
T. HAGSTROM
The analysis outlined above is easily extended to our other special boundaries. For example, suppose T is the sphere of radius R and the approximate boundary condition is defined by
Then =
ei(s,R)ul{s,R)JV PP h+\/2{Rs)
where //+1/2 i s the modified Bessel function of the first kind (Abramowitz and Stegun 1972, Ch. 9), and e; is given by C.
T/.
r-
(3.H)
The accuracy of the method may then be characterized by the obvious analogue of (3.10). In the following sections I will estimate 8 for various approximations. 3.3. Pade approximants and
generalizations
For planar boundaries the function R(s, \k\) approximates the function
with z = s/\k\. Let Rp(z) be some approximation to K. Noting that J\
==
2z + K
it is reasonable to set
Approximations based on (3.12) are extensively analysed in Xu and Hagstrom (1999). It is clear that they are in continued fraction form, and hence implementable via the recursion (3.4). Precisely, \k\2 71 = - g - .
6j = 0,
\k\2
.
7 j = -^-1
j = 1,...,
k =
raj_i,
Note that Rn+1 ~K =
(2z + K)(2z
j,...,n
h
£„, = |/c|^o.
RADIATION BOUNDARY CONDITIONS
83
Therefore, if we assume that Rp is at least bounded as z —> oo, we gain two orders in the large z approximation at each step. That is,
k - k \ = o(z-2)\Rp-k\. Consider the initialization RQ
= a > 0.
Then an easy induction argument shows that KeRp > 0 when Re 2 > 0 and that all poles are in the closed left half-plane. For a > 0, we can further conclude that the poles and zeroes of the real part lie in the open left half-plane. The choice a = 0, however, leads to the Pade approximants introduced by Engquist and Majda (1977) and Lindman (1975). These are spatially localizable, with poles on the imaginary z axis between . Xu and Hagstrom (1999) show that Rp is given by the following explicit formula: S^/WTW ~ b2n+1 - (-l)nb + a(b2n + (-1)"6 2 ) which leads to the remarkably simple formula for e: (3.13) From this we derive the following theorem. Theorem 1 Let a > 0 and ry, M > 0 be given. Then, sup
|e| < (1 + a)
Res=T],\k\<M
The proof of this theorem follows immediately from the inequality inf |6| > Jl + 2fi2. v
Re z=f]
From the estimate it might be concluded that the Pade approximants, o = 0, are optimal in this class. However, we have proceeded crudely. The minimum of |6| leading to the inequality above occurs at Imz = 0 where we can force e = 0 by a proper choice of a. A more detailed analysis is given in Xu and Hagstrom (1999). Imposing a tolerance r and a computation time T we require 6(T, M) <
T,
which implies _
1
In
^+VT
84
T. HAGSTROM
Optimizing this over r\ yields (for cMT on the order of In 1/r) the following result. Theorem 2 For any 0 < a < 1 there exists a constant, C, such that for any tolerance 0 < r < 1, wave number bound M, and time T > 0, the approximation Rp with p > C In - + V T satisfies 6(T, M; Rp) < r. We see that the number of terms required is weakly dependent on the tolerance, but strongly dependent on the time and the tangential wave numbers. A completely different convergence analysis for the Pade approximants was given in Hagstrom (1995), with the same conclusions. Many other space-time localizable conditions are proposed in Trefethen and Halpern (1988), whose accuracy has not, to my knowledge, been estimated.
3.4- Truncations of (2.19) and asymptotic boundary conditions A second approach to the construction of local approximate boundary conditions has been through the use of the progressive wave expansion, given in the cylindrical case by r
~3~*fj(ct-r,9),
(3.14)
j=o
and in the spherical by oo
u~^2r~j~1fj(ct-r,0,
(3.15)
j=o
where for notational convenience we now use r instead of p to denote the spherical radius. (For a mathematical discussion of expansions of this type see Ludwig (I960).) These are used by Bayliss and Turkel (1980) to construct a hierarchy of boundary conditions satisfied by truncations of the expansion. This is easily accomplished using normal derivatives: (Biu))) = 0, 1 d
d
dt^dr^
R
where a = 1/2 for (3.14) and a = 1 for (3.15). However, the product form limits the order, p, which can be practically used. An alternative proposed by Hagstrom and Hariharan (1998) is to use the continued fraction form
RADIATION BOUNDARY CONDITIONS
85
(2.19) or its cylindrical analogue, which has the form (3.3) with s replaced by Rs/c and I2 - 1/4 ^ ,
7a
=
llj
~
Sij
= j.
4
Here, I is the dual Fourier variable to 6. Truncating the expansions after p — 1 terms, that is, setting wp = 0, leads to an approximate boundary condition whose accuracy may be assessed, in the spherical case, via (3.11). We have not carried through this analysis in full detail, as in the preceding section. However, we can make some conclusions. Assume I S> p. We then rely on the uniform large index asymptotic expansions for Bessel functions developed by Olver (1954). In particular, we find, to leading order, that away from the transition zones Rs « SkjjRs) ki(RS) which obviously corresponds to the planar case. By direct computation we see that the approximate boundary condition poorly approximates the exact condition when ^ » |5|.
(3.16)
For \s\ » l/R, on the other hand, the approximation is good. Here, instead of increasing the order of the boundary condition, we can expand the domain, moving the boundary to -yR. Evaluating the error on the original domain only, we see that our expression for e picks up an extra factor of Kl+l/2{R~s)
'
Il+1/2{-yRSy
Assuming (3.16), this factor is approximately 7~ 2 '. Therefore, we may hope that the error is small if 7~2? is small, which requires
i Clearly, this argument is far from a proof. In particular we have completely ignored the transition regions. Their analysis might introduce some time dependence in the estimates, as in the similar case of the Pade approximants. We find that, with these favourable assumptions, some improve-
86
T. HAGSTROM
ments can be made by combining domain extension with increases in p. It is therefore of some interest to carry through the convergence analysis.
3.5. Uniform rational
approximants
The analysis above points to a defect of the continued fraction approximations, namely, poor approximation properties for tangential wave numbers which are large in comparison to s. This suggests that substantial improvements can be made by uniformly approximating the transforms of the exact boundary kernels along lines Re s = rj > 0. This program is carried out in Alpert et al. (19996). It consists of two parts: proofs using multipole theory that good approximations exist, followed by the numerical construction of the poles and coefficients via nonlinear least squares. The fundamental approximation theorems used, which follow from the methods of Anderson (1992) and are proven in Alpert et al. (1999&), can be summarized in the following form. Theorem 3 Suppose Di, i = 1,... ,p are disks in the complex plane of radius ri and centre Cj. Suppose the complex numbers Zj, j = 1,..., n, and curve, C, lie within the union of the disks and that the function f(z) is defined by
Then there exists a rational function gm(z) with mp poles, all lying on the boundaries of the D{, such that for any z satisfying Re (z — Cj) > ari > rj,
where
The proof follows from the direct construction of gm. One simply places poles symmetrically around the boundary of the disks with coefficients chosen to match the large z expansion of each disk's contribution to / . The application of Theorem 3 to the approximation of Si (z) is quite direct. As Si is a rational function, it can be written as a sum of poles. These poles are zeroes of Ki+i/2{z), and uniform large I expansions of their locations are given in Olver (1954). In particular, they lie near a curve in the left half £-plane connecting the points z = with the poles nearest the imaginary axis separated from it by an O(l1/3) distance. We cover these poles by O(lnZ) disks such that all points in the closed right half z-plane satisfy the
RADIATION BOUNDARY CONDITIONS
87
Table 1. Number of poles, p, required to approximate Si, I < M, with S(T, M)
10" 6 10" 8 lO"15
M = 128 M = 256 M = 512 M = 1024 12 16 26
14 17 29
15 19 33
16 21 36
inequality Re (z — a) > 2r\. Using m O(lnZ) we thus achieve an error that scales like 2~m. Taking into account the behaviour of the denominator of (3.11) near z = we deduce that, for some /-independent constant C, \ei\ < Cl^^T™. Hence we have the following theorem. Theorem 4 There exists a constant C such that, for any tolerance 0 < r < 1, wave number bound M > 1, radius R > 0, and time T > 0, there exists a p-pole rational approximation P; (z) with p
such that 6(T,M;Pi) < r. Note that the number of poles required is bounded independent of T. We have numerically constructed approximations satisfying Theorem 4. The number of poles required as M and r are varied are listed in Table 1. One cannot but be impressed by the efficiency of these approximations, which allow the evaluation of the exact condition for harmonics of index up to 1024 to double precision accuracy with no more than 36 poles per harmonic. It is also possible to apply Theorem 3 to the approximation of the transform of the cylindrical kernel, Cj, and the planar kernel, K. In each case we use integral representations of the form given in the theorem. Details in the cylindrical case for kz = 0 are given in Alpert et al. (19996), while the planar case will be discussed elsewhere. Both CQ and K have branch points on the imaginary axis. This forces us to settle for approximations with Re s > rj > 0. The number of poles required will thus depend on the time, T, as well as on M and r. For the planar case we have the following theorem. Theorem 5 There exists a constant C such that, for any tolerance 0 < r < 1, wave number bound M, and time T such that cMT > 2, there exists
88
T. HAGSTROM
a j?-pole rational approximation R(s, k) with p
\ncMT
\
-(]n-
r
such that S(T, M; R) < r. The planar approximations are computed by specifying r and r\ = {MT)~l. Choosing r = 1CP3 and r\ = 10~4 leads to a 21-pole approximation which is used in the numerical experiments below. 3.6. Reflectionless sponge layers An alternative to the imposition of radiation boundary conditions at the artificial boundary is to surround the computational domain T with a sponge layer or absorbing region, within which propagating waves are damped. Though the construction of layers that absorb wave energy is reasonably simple, additional errors are typically introduced by the interaction of waves with the interface between the computational domain and the layer. Recently this approach was revitalized by the construction in Berenger (1994) of a sponge layer for Maxwell's equations with a reflectionless interface: the so-called perfectly matched layer, or PML. As shown in Abarbanel and Gottlieb (1997), the original formulation is only weakly well-posed. Petropoulos (1999) gives a clear mathematical derivation of reflectionless sponge layers in Cartesian, cylindrical and spherical coordinates, and derives strongly well-posed formulations. Surprisingly, much less has been written about reflectionless sponge layers for the wave equation. Here I adapt the construction of Chew and Weedon (1994) and Petropoulos (1999) to the wave equation and analyse the error, restricting myself to the planar case. The error estimates thus derived coincide with those derived for Maxwell's equations by the same techniques. Take x to be the coordinate normal to the layer interface and suppose that T corresponds to x < 0. The simplest starting point for the analysis is at the level of the solutions in T, described after our usual Fourier-Laplace transformation by Clearly, these solutions are not damped with increasing or decreasing x for imaginary s satisfying |s| > |A;|, that is, for propagating modes. Damping may be achieved by modifying the exponent so that it has a real part that decreases with increasing x for the right-propagating (—) mode, and increases with increasing x for the left-propagating mode. As the sign of the imaginary part of y/s2 + \k\2 coincides with that of s in the propagating mode regime, this is accomplished by adding to x an increasing in x imaginary function whose imaginary part has the opposite sign from that of s. A
RADIATION BOUNDARY CONDITIONS
89
simple function with this property is
So *(w) dw
~>n
s Thus we seek solutions in the sponge layer in the form *( The interface x = 0 will be reflectionless if the solutions and their xderivatives coincide there. This imposes the additional constraint cr(O) = 0. This constraint is not present in applications to hyperbolic systems, but is almost always imposed in computations. No other conditions on a are needed to make the interface reflectionless. From the layer solutions it is straightforward to derive a pseudodifferential equation. For u we have o, s2u =
s d ( s du\ ,, ,o— —- - \k\2u. s + a ox \s + b ox J
Inverting the transforms, introducing a = co, and assuming zero initial data in the layer, we finally obtain
where
=f
I *w =
Jo Local implementations involve the introduction of auxiliary variables to eliminate the convolutions. It is here that strong well-posedness can be lost. In our numerical experiments we replace (3.17) by dv -v>, ax
1
i
2
at " dv
~di
+
i
av = a
du dx
(3.19)
dv d2u (3.20) 2 dx dx These are strongly well-posed, but possibly not asymptotically stable, so that other reformulations may be better. To complete the layer description we must specify its length, d, and impose a boundary condition at its edge. Here I make the simplest choice, + crw = a
90
T. HAGSTROM
u = 0, though of course one could lower the error with more sophisticated conditions. The general solution within the layer is then given by U = At (e-V^ + lWttx-V+s-1 f* a(w)dw) Matching this to a solution in T of the form
we find that E is related to A as in (3.8) with e(5,|*|) = We see that, as in the case of rational approximants to K, good error estimates do not hold along the imaginary s axis, particularly near s = Taking Re s = r\ > 0 and introducing a = d-1 Jo a(w) dw, we must estimate
min Re hdVz2 + l(|fc| + z^a)) .
(3.21)
Consider the case of f] = 4h
+ C 2 )),
Re
|CI < 1,
C~
-
Hence, for 77 sufficiently small, the minimum is achieved near |£| = 1. Restricting 77 to be no greater than one, we have, for some constant C, g < eiic\k\T-Cdy/rj(\k\+ir) _
Minimizing over fj and maximizing over \k\ we prove the following. Theorem 6 There exists a constant C such that, for any tolerance 0 < r < 1, wave number bound, M, and time, T, the ideal reflectionless sponge layer (3.17) with average absorption a > 0 and width, d, satisfying
da>C\ \fcEf + Win -
in -, T
will have S(T, M) < r. A remarkable feature of this bound is its independence of the maximum wave number, M.
RADIATION BOUNDARY CONDITIONS
91
3.7. Complexity Armed with these error estimates, we are in a position to assess the relative efficiency of the various accurate approaches. We consider two distinct idealized problems governed by the wave equation, with units chosen so that c = 1. The first problem assumes a three-dimensional computational domain T that is 1-periodic in two coordinate directions, has length 1 in the third direction, and is truncated by an artificial boundary at each end. The second problem assumes that T is contained within a sphere of radius 1, which serves as the artificial boundary. The first problem is used to test conditions for periodic or waveguide problems and the second to test conditions for exterior problems. In practice, planar boundaries are used to solve exterior problems, enclosing the computational domain in a box. Unfortunately, we do not as yet have any hard error estimates for either the Pade approximants or reflectionless sponge layers used in this way, and so can only make conjectures concerning their efficiency. In each case we assume that wave numbers up to M must be resolved on the boundary and that we are interested in the solution up to time T. We also suppose that the error tolerance is r. For purposes of comparison it is useful to note the work, Wj, and storage, Si, required by the interior solver. Assuming an explicit method with reasonable stability constraint, these are Wj oc aAM4T,
Si OC a3M3,
where a is the number of points per wavelength. Appropriate values for a are strongly dependent on the order of the method and may also depend on T. It will also be proportional to r~llp for a pth order method. In what follows I will suppress the a dependence, but it should then be kept in mind that in some instances a can be fairly large, and some methods will allow coarser representations when evaluating the boundary conditions. Similarly, we will treat logarithmic dependences on the tolerance as 0(1) constants. I have tried to keep the analysis as simple as possible, ignoring possible improvements in the complexity estimates that might be achievable by better implementations. Of course I hope that in the future this analysis will be supplemented by serious computational experimentation. Domain extension By far the simplest way to achieve an accurate solution is to exploit the finite signal speed and extend the domain so that the boundary cannot influence the solution in T for times less than T. Clearly this requires an extension of width O(T). For the first problem the volume of the extended region is proportional to T so that the extra work and storage, which we shall always denote by WB and SB, is given by WB OC M 4 T 2 ,
SB OC M3T.
92
T. HAGSTROM
We see that the work and storage exceeds that required by the interior scheme by a factor of T, which is clearly unacceptable for moderate to large times. The results for the second problem are even worse, as the volume of the extension is proportional to T 3 , that is, WB oc M 4 r 4 ,
SB oc M 3 T 3 ,
a factor of T 3 above the interior scheme. Kirchoff 's formula Here we assume two spherical boundaries separated by a small distance. To compute the solution at each point on the outer boundary requires the computation of an integral over a sphere. This involves O(M4) work per time-step. Although it is reasonable to assume that the integration can be carried out on a coarser grid than required by the solution of the wave equation, so that the constant of proportionality may be small, the order estimates are SB oc M 3 . WB oc M5T, We see that the storage required is comparable to (probably less than) Si but that the work is greater by a factor of M. Direct implementation of the planar exact condition Here we require direct and inverse Fourier transforms at each time step as well as the solution of the convolutional Volterra equation for each mode. Making use of the FFT, the work associated with the transformations is seen to be O(M2 lnM) per time-step. For the convolution we may use the algorithm presented in Hairer et al. (1985), which requires O(MT In2 MT) operations per mode. As for storage, the direct implementation requires full storage of the time histories of the Fourier coefficients. This could probably be reduced somewhat using the t~3!2 decay of the convolution kernel, K(t), but I have not quantified the effect. Therefore we have WB oc M3T In2 MT,
SB oc M3T.
Except for extraordinarily long times, WB compares favourably with Wj. However, we generally have SB > Si, possibly much greater for large T. Direct implementation of the spherical exact condition Here I will consider the completely local version (3.5). The implementations of Grote and Keller (1995, 1996) and Sofronov (1999) require an additional direct and inverse spherical harmonic transform per time-step. Using the fast algorithms of Driscoll et al. (1997) and Mohlenkamp (1997), this requires
RADIATION BOUNDARY CONDITIONS
93
O(M2 In2 M) work per step and does not increase the order of the complexity estimate. We require, then, the solution of M additional equations on the boundary, associated with M auxiliary variables. This costs WB
OC M4T,
SBOCM3.
Here we have, taking account of the probable smaller proportionality constants due to the effect of a, WB < Wi, SB < 5/: the first method we have seen that meets our goals of arbitrary accuracy without increase in cost! Pade approximants
Suppressing the weak dependence on the error tolerance, we require O(MT) auxiliary functions and equations on the boundary. The cost then is WB OC M4T2,
SB OC M3T.
This is more by a factor of T than what is required by the interior solver, and so is unacceptable for long time computations. We note that in our numerical experiments the growth in the number of terms required as T increases was fairly mild, so that we expect the proportionality constants to be small. High-order conditions based on the Pade approximants have been implemented on rectangular domains. This depends on remarkable constructions of corner compatibility conditions given by Collino (1993) and Vacus (1996). It would be of interest to extend the error estimates to this case. It is conceivable that they will be somewhat better, as glancing modes which reflect off one boundary may be effectively absorbed at near normal incidence by another. Asymptotic boundary conditions In this case we have no proven error estimates. Accepting the optimistic assumption that we must expand the domain by a factor of T~l^2p\ we find WB OC ( T ~ £ - 1)M 4 T + pM3T,
SB oc ( r " i - 1)M 3 +pM2.
These estimates are optimized by poc which leads to work and storage estimates that are better than those obtained for the exact condition, p = M, in some cases. Clearly it would be of interest to make the error estimates precise.
94
T. HAGSTROM
Uniform rational approximants These have been constructed for both planar and spherical boundaries, and hence are directly applicable to both problems. In the first case we require O (In2 MT) auxiliary functions per mode on the boundary, and direct and inverse Fourier transforms each time-step. Therefore the work and storage required are WB oc M3T In2 MT,
SB oc M 2 In2 MT.
Except for extraordinarily long times, we have WB <S WJ and SB
SB oc M 2 In2 M.
Theoretically, then, the uniform approximants represent a completely acceptable solution to the boundary condition problem in the constant coefficient case for exterior problems, as they provide essentially arbitrary accuracy for arbitrary times with WB -C WJ and SB ^ Si. There are some practical issues concerning the efficiency of the fast spherical harmonic transforms and the necessity of using an aspect ratio one computational domain. Reflectionless sponge layers Here there are two parameters, the layer width d and the average absorption, a. Clearly, the number of mesh points in the layer will scale like dM3 with d in the planar case. Also, following the analysis in Collino and Monk (1998), the mesh spacing must scale inversely with a. Hence we will take a fixed and reduce the error by increasing d. As d oc y/T this implies WB OC M^T3'2,
SB OC M3Tll2,
which is unacceptable for large T. Most practical applications of this technique involve exterior problems with a computational domain which is a box. Therefore, I believe it would be of great interest to extend the error estimates to this case. If the time dependence of the errors were as bad as in the planar case, then the long time behaviour would be even worse, as the volume of the layer would grow like d3 oc T 3 / 2 . However, there is some reason to believe that far better estimates hold. This is due to the fact that glancing waves at one boundary are nearly normally incident to another, and hence should be effectively absorbed.
RADIATION BOUNDARY CONDITIONS
95
An alternative for exterior problems is the spherical layer developed in Petropoulos (1999). I believe that this layer could be directly analysed as a straightforward extension of the analysis given here. However, for problems of near unit aspect ratio, it is doubtful that a layer technique could be more efficient than the uniform rational approximants. 3.8. A numerical example We now consider a simply described yet, as we shall see, difficult-to-solve concrete problem to illustrate some of our results. In particular, we solve the initial value problem for the wave equation in the planar region (x, y) 6 (—1,1) x (0,1), assuming periodicity in y. An exact solution, u(x,y,t), is constructed by setting off periodic arrays of pulses at various negative times. This leads to 11 ( T* II ~t\ U/\*JUy y ^ V I
where
00
\ 7
7/ - i T* ?/ 1*2 V"^5 M i
rt-n
i(x,y,t)= Yl /I m(x,y,t)= Y, , fc=-c
'/"I /5
ds
'
J—oo
and
rl = (x- Xi)2 + (y-yi-
kf,
*i(s) =
Aie-^s-^\
Here, Tj < 0 is chosen so that A{e~iHTi is negligibly small. At t = 0 the solution is made negligibly small (to more than 11 digits) outside T. A program that accurately evaluates u using high-order Gaussian quadrature and high-order end-point corrected trapezoidal formulas for singular integrals was generously provided by Leslie Greengard, and is used to produce the error tables listed below. I am confident that the accuracy of the evaluation is on the order of ten decimal digits and, hence, far exceeds that of the numerical solutions. These solutions were used to test Pade approximants of K in numerical solutions of the linearized Euler equations (Hagstrom and Goodrich 1998) and will be used in the extensive numerical experiments to be presented in Alpert et al. (1999a). Here we consider a single pulse with parameters: Hi = 150,
n = --,
xi = 0,
yx = - ,
Ai = 1.
Three types of approximate boundary conditions were considered: the Pade sequence, using (3.12) with RQ = 0, and its generalization, (3.12) with RQ — 1; a strongly well-posed local implementation of the PML; and the planar uniform approximant computed with e = 10~3 and 77 = 10~4. The latter . We employs 21 poles. The approximate conditions are imposed at x —
96
T. HAGSTROM
Table 2. ,Errors using (3. 12) Ro
0 0 0 0 0 0 1 1 1 1 1 1
P
0 5 10 15 20 25 30 5 10 15 20 25 30
Max. err. t < 5 Max. err . t<25 1.2
9.9 1.2 2.6 1.5 1.5 1.5 8.9 6.6 1.6 1.5 1.5 1.5
x 10- 1 X X X X X X X X X X X X
3
10" 10" 3 10" 4 10" 4 lO- 4 10" 4 10" 3 10" 4 10" 4 lO- 4 10" 4 10" 4
2.1 x 10"1 7.0 x 10"2 3.3 x 10"2 1.9 x 10"2 1.0 x 10"2 6.4 x lO- 3 3.5 x 10"3 6.9 x io- 2 3.2 x 10"2 1.7 x 10"2 8.8 x lO- 3 4.9 x 10"3 2.5 x lO- 3
Max. err. t < 50 2.1 7.6 5.5 3.7 2.9 1.9 1.4 7.7 5.5 3.5
x 10"1 xlO- 2 xlO- 2 xlO" 2 xlO" 2
X IO- 2 X 10" 2 XlO-2 X 10" 2 X 10" 2 2 2.6 X 10" 2 1.8 X 10" 1.1 x 10"2
use a fourth-order explicit two-step method as our basic solver on a 200 x 100 uniform mesh. This provides a relative error less than 10~3 for 0 < t < 50. The boundary conditions and/or layer equations were also approximated to fourth order. In all cases we compute the relative L2-errors on a uniform 50 x 25 mesh. Complete details on our discretization techniques will be given in Alpert et al. (1999a). Pade approximants and generalizations Results of these experiments are summarized in Table 2. I ran experiments with p = 0 — 30 and the initializations RQ = 0 and Ro = 1. The results are consistent with the error estimates. Generally, the largest errors occurred near t = 50, and we are unable to achieve an error at the level of the discretization error at this late time with p < 30. We are, on the other hand, fairly close to this goal at t = 25. The errors for the second sequence, .Ro = 1, are generally slightly smaller than those obtained using the Pade sequence. This sequence also has the advantage of being exact at steady state. Finally we note that the short time error of 1.5 x 10" 4 is the best one can do for the problem at hand and the mesh I have used. Indeed, it is the same error found if one uses the exact solution as a Dirichlet condition at the artificial boundary.
97
RADIATION BOUNDARY CONDITIONS
Table 3. Uniform rational approximation coefficients, K « YLj r = 10~3, 77 = 10~4. Complex numbers are written in the form (real, imaginary) I 2431987763837349E-6)
(-4998142304334231E-4, ±
.9999998607359947)
(-.1617695923999794E-5, ± . 1638622585172068E-5)
(-.2501648855535112E-3, ±
.9999990907954994)
(-.7723476507531262E-5, ± .7878743138182415E-5)
(-.8021925048752190E-3, ±
.9999958082358295)
( -.34003O4516975200E-4, ± 3510673092397324E-4)
(-2263515963206483E-2, ±
.9999820162287431)
( -.1454893381589074E-3, ± .1535469093409158E-3)
(-.6112737916O31916E-2, ±
.9999224860282032)
( -.6104572904148162E-3, ± .6733883694898616E-3)
(-.1625071664643320E-1, ±
.9996497460330479)
13,14
(-2473202929583869E-2, ± 3011442350813045E-2)
(-.4295328074381198E-1, ±
.9982864080633248)
15,16
( - 8964957513027O30E-2, ± .1398751873403249E-1)
(-.1129636068874967, ± 9907617913485537)
17,18
( -.1846252520037211E-1, ± .6565858806543060E-1)
( -.2902222956062986, ± .9462036470847180)
19,20
( 9181095934161065E-1, ± .2076825633238755)
(-.6548034445533449, ± .7077228221122372)
(.3787484004895032,0)
(-.9345542777004186,0)
1,2 3,4 5,6 7,8 9,10 11,12
(-.2410467618025768E-6, ±
21
Table 4. Errors usmg uniform rational approximant V
Max. err. t < 5
Max. err . t<25
Max. err. t < 50
21
1.5 x 10"-4
4.1 x 10-4
5.3 x 10"4
Uniform approximants For all Fourier modes we use the approximant determined by a tolerance of r = 10~3 and an offset parameter of r) = 10~4. This yields a 21-pole approximation with parameters listed in Table 3. Note that for our mesh we certainly have M < 100 so that 77 < (MT)~l. Hence the error due to the boundary condition is smaller than r. The results, summarized in Table 4, are very encouraging. For all time intervals considered, the accuracy is the best that can be obtained on the given mesh, as determined by using exact Dirichlet data at the boundaries. Given the modest number of poles used, the efficiency of this approach is unparallelled, as predicted by the complexity analysis. We note that the data in this case was generously provided by Brad Alpert. More comprehensive experiments and detailed discussions of the numerical algorithms will be given in Alpert et al. (1999 a).
98
T. HAGSTROM
Reflectionless sponge layer Results of our experiments with the reflectionless sponge layer or PML are summarized in Table 5. I must admit from the outset that the great variety of possible layers, determined by different absorption profiles, widths, and local realizations, makes it difficult to claim that any particular experiment is definitive or comprehensive. Of interest in this regard is the paper of Turkel and Yefet (1998), where a variety of different formulations are compared for the same problem. Equations (3.18)-(3.20) are discretized to fourth order, with an implicit treatment of the absorption terms. We use a quartic rather than the usual quadratic variation of a. Periodic boundary conditions are used at the terminating point. Listed in the table are the maximum value of a, which we varied between 10 and 80, and the total number of points in each layer, ni, which we varied between 25 and 75. For values of crmax too large in comparison with the layer width, in particular for the 25 point layer and 0max = 40, 80, the solution grew and the errors became large. I do not list these results here. The results of this experiment are in basic agreement with the error estimates. This can be verified by checking the ratio da In absolute terms, however, the performance is somewhat disappointing. The best results are achieved for the thickest layer and amax = 40, and almost reach the minimum possible error for t < 5. However, the long time results are worse than those obtained with the other methods. Improvements might be achieved by changing the discretization. I was unable to take a very large, for fixed mesh spacing, without encountering asymptotic instabilities. 3.9. Approximations
in the dissipative case
In the preceding sections we studied many well-developed techniques for approximating radiation boundary conditions in the hyperbolic case. In contrast, much less has been done for equations of mixed type. It is an interesting issue if the highly efficient rational approximants we shall consider can be extended to these cases. As the kernels to be approximated often involve the same analytic functions with arguments restricted to subdomains of the domains of interest in the hyperbolic case, one is tempted to conjecture that it is possible. However, there is the complicating factor that the transforms do not behave like rational functions at infinity. For problems with small diffusion coefficients or viscosities, rational approximants in the spirit above have been proposed and analysed by Halpern (1986) for the scalar advection-diffusion equation, and by Halpern and
99
RADIATION BOUNDARY CONDITIONS
Table 5. Errors using (3.17) ^max
ni
10
25 25 50 50 50 50 75 75 75 75
20 10 20 40 80 10 20 40 80
Max. err. t < 5 3.0 6.2 5.0 5.3 7.7 2.9 8.0 2.8 2.0 4.8
x 10"1 2
Max. err. t < 25
Max. err .
1 3.5 x 10"
4.3 6.3 1.0 8.7 1.7 5.8 7.4 5.7
X lOX 10"2
1.9 1.0
x 10"3 x 10"4 x 10" 3 xlO" 3 x 10"4 x 10"4 x 10"4
6.1 4.8 1.4
6.9 3.2 1.1 2.9
x 10"i x 10"i xlO" 2 x lO- 2 x 10"1 X 10"2 X 10"2 XlO- 2 x 10"2
4.3 1.1
t<50
X
10"1 lo- 1 lo-1
X
lO- 2
X X
X X X
lo- 1 10"2 10"2
X
io- 2 io- 2
X
io-i
X
Schatzman (1989) for the linearized incompressible Navier-Stokes equations. Error estimates in the small parameters are given. It is also possible to make use of the special properties of dissipative problems to derive simple boundary conditions with some provable accuracy. One can exploit the differing decay rates of different modes to identify 'dominant' wave groups in the far field, and use boundary conditions that interpolate the exact conditions at these locations in wave number space. This procedure is developed in Hagstrom (1991a). Asymptotic error estimates are thereby derived, leading to an error, for planar boundaries, which decays in the general case like L" 1 where L is domain length. In Hagstrom (19916) these ideas are applied to the incompressible Navier-Stokes equations in a channel, producing conditions which seem reasonably accurate at moderate Reynolds numbers. An interesting class of problems that can be accurately solved using simple boundary conditions are singularly perturbed hyperbolic systems at boundaries with no incoming characteristics. The simplest model of such a problem is the scalar advection-diffusion equation (2.43) at outflow {U\ > 0) under the assumption ! / < l . We then notice that the 'incoming' solution u = Eex+x,
X =
is of boundary layer type, as
100
T. HAGSTROM
Therefore, any error we make at the boundary very rapidly decays into the interior. From a numerical perspective, however, the boundary layer may lead to large errors for an unrefined mesh - and one certainly does not want to refine an unphysical boundary layer at an artificial boundary. The amplitude of the layer can be decreased through the use of extrapolation conditions. Namely, we impose dru The error associated with this boundary condition can again be explicitly analysed. Using the exact solution near the boundary given in (2.44), we find that the error satisfies
Clearly, for s + iUta.n k + v\k\2 not too large, the error is O(vr) and r xderivatives are bounded independent of v. In the large s, \k\ regime the prefactor is not small, but generally the solution amplitude, A, is exponentially small as its exponent has an O{y~l) negative real part. Precise arguments and error estimates, including general boundaries and variable coefficients, are given in Loheac (1991). Nordstrom (1995),Nordstrom (1997) established the accuracy of extrapolation boundary conditions at supersonic outflow for the compressible Navier-Stokes system. Surprisingly these results are extended to the subsonic case, where there is an incoming characteristic, if there are large transverse solution gradients. This result is applicable when physical boundary layers intersect the artificial boundary. Extrapolation conditions can also be used for the incompressible Navier-Stokes equations as in Johansson (1993). 4. Conclusions and open problems Our fundamental conclusion, amply demonstrated by the theory and fully supported by our as yet sparse numerical experimentation, is that the basic constant coefficient equations of wave theory on unbounded domains with sufficiently simple tails can be accurately solved at essentially the same cost as solving a standard problem on the bounded subdomain of interest. Excepting the case of computational domains of high aspect ratio, which I will discuss further below, the uniform rational approximants seem to provide an ideal solution. In particular, the work associated with their application is generally less than required by the interior solver. However, for spherical boundaries, direct implementations of the exact condition are only slightly less efficient, and, using the local form, extremely easy to implement. For short to moderate time calculations, local conditions based on high
RADIATION BOUNDARY CONDITIONS
101
degree Pade approximants or the use of refiectionless sponge layers are also acceptable. Despite the remarkable progress made over the past few years, there are still many important problems which remain unsolved. Below I will mention those which I think are most important, along with some speculations concerning their possible solution. High aspect ratio domains. For exterior problems, our best techniques require the use of a spherical artificial boundary. In the most extreme cases, for example, scattering from a body with two small dimensions such as a wire, we are required to use a computational domain whose volume is greater by a factor of the aspect ratio squared than the potential domain of interest. This is clearly undesirable. One possible solution for short to moderate times is to use a long cylindrical domain with simple boundary conditions at the ends, but such a procedure becomes inefficient as the time becomes large. More desirable would be the development of efficient approximations to the exact boundary condition on a family of domains that include domains of high aspect ratio. The obvious candidates here are prolate and oblate spheroids, as the wave equation is separable in the associated coordinate system. Prom our point of view, the primary difference between this case and those we have treated is the lack of scale invariance of the boundary. This leads to the dependence on the Laplace transform parameter, s, of the angular eigenfunctions of the exact boundary operator. If we choose to expand in a fixed basis, such as the spherical harmonics, the temporally nonlocal part of the operator is no longer a diagonal matrix. Naturally, this complicates its approximation, but I do not believe that it precludes the existence of effective uniform approximants. Therefore, the detailed study of this operator seems worthwhile. A distinct approach to its elucidation and approximation may be via multipole expansions of the solution. We have seen that these may be used to express the exact condition on a sphere. They have recently been studied for frequency domain problems in the spheroidal case by Holford (1999). Planar boundary conditions on a rectangular box. Another possibility for constructing high aspect ratio domains is the use of rectangular boxes and either the Pade approximants or a refiectionless sponge layer. In light of the bad long time behaviour of our error estimates and computational experiments on periodic domains, this would seem an unlikely solution. However, there are suggestive arguments that better estimates might hold on box domains. Therefore, I believe that a rigorous error analysis for these boundary conditions on boxes should be developed. Anisotropic systems in exterior domains. As mentioned in our discussion of the linearized compressible Euler equations, we have no general construction of exact boundary conditions for anisotropic problems on bound-
102
T. HAGSTROM
aries which include characteristic points. Of course a general theory, which might be based on the Riemann function, would be most desirable. Failing that, a particular solution in the gas dynamics case would have many applications. Such a solution would probably follow easily from the construction of exact conditions for the convective wave equation.
Approximation of exact conditions for problems of mixed order. As we have seen, it is straightforward to develop expressions for exact boundary conditions in these cases. However, the associated theory of rational approximations is essentially undeveloped. Progress on this front could be very useful, particularly for nondissipative problems such as equations of Schrodinger or Boussinesq type. Variable coefficients. Many important problems in wave theory involve propagation in inhomogeneous media. Examples include aeroacoustics, underwater acoustics, and seismics. Unfortunately, the theory as now developed says little about such problems, except in some very special cases mentioned above. A natural starting point is the wave equation in a stratified medium. A reasonable program is to characterize the exact boundary condition and attempt to construct approximations. However, this will again be a case where the eigenfunctions of the exact operator will depend on the Laplace transform parameter, so it is not clear how far one can go with our most successful approach. It may prove easier to construct reflectionless sponge layers, but this is again an open question. It is worth remembering that some of the earliest work on numerical radiation boundary conditions, namely Engquist and Majda (1977, 1979), made use of geometrical optics and, hence, was naturally extensible to variable coefficients. The existence of a limiting operator could even be proven. However, the use of this theory to characterize the accuracy, as carried out by Halpern and Rauch (1987), depends on the assumption that the wave field is dominated by high frequencies. An intriguing alternative, suggested by the results of Radvogin and Zaitsev (1998), is to use a coordinate system in the exterior which is characteristics-based in the hope it will allow for a significant coarsening of the mesh and, hence, extension of the computational domain. Geometrical optics again seems the logical tool for assessing this approach. In comparison with the problems mentioned above, I believe that a satisfactory general treatment of problems with variable coefficients will prove to be the most difficult. Nonetheless, good results just for some special cases, such as stratified media or perturbations thereof, would be quite useful.
RADIATION BOUNDARY CONDITIONS
103
REFERENCES S. Abarbanel and D. Gottlieb (1997), 'A mathematical analysis of the PML method', J. Comput. Phys. 134, 357-363. M. Abramowitz and I. Stegun, eds (1972), Handbook of Mathematical Functions, Dover, New York. B. Alpert, L. Greengard and T. Hagstrom (1999a), 'Accurate solution of the wave equation on unbounded domains'. In preparation. B. Alpert, L. Greengard and T. Hagstrom (19996), 'Rapid evaluation of nonrefiecting boundary kernels for time-domain wave propagation', SIAM J. Numer. Anal. To appear. C. R. Anderson (1992), 'An implementation of the fast multipole method without multiples', SIAM J. Sci. Statist. Comput. 13, 923-947. A. Barry, J. Bielak and R. MacCamy (1988), 'On absorbing boundary conditions for wave propagation', J. Comput. Phys. 79, 449-468. A. Bayliss and E. Turkel (1980), 'Radiation boundary conditions for wave-like equations', Comm. Pure Appl. Math. 33, 707-725. J.-P. Berenger (1994), 'A perfectly matched layer for the absorption of electromagnetic waves', J. Comput. Phys. 114, 185-200. P. Bettess (1992), Infinite Elements, Penshaw Press, Sunderland, UK. W. Chew and W. Weedon (1994), 'A 3-D perfectly matched medium from modified Maxwell's equations with stretched coordinates', Microwave Optical Technol. Lett. 7, 599-604. F. Collino (1993), Conditions d'ordre eleve pour des modeles de propagation d'ondes dans des domaines rectangulaires, Technical Report 1790, INRIA. F. Collino and P. Monk (1998), 'Optimizing the perfectly matched layer'. Preprint. L. Demkowicz and K. Gerdes (1999), 'Convergence of the infinite element methods for the Helmholtz equation in separable domains', Numer. Math. To appear. G. Doetsch (1974), Introduction to the Theory and Application of the Laplace Transformation, Springer, New York. J. Driscoll, D. Healy and D. Rockmore (1997), 'Fast discrete polynomial transforms with applications to data analysis for distance transitive graphs', SIAM J. Comput. 26, 1066-1099. B. Engquist and A. Majda (1977), 'Absorbing boundary conditions for the numerical simulation of waves', Math. Comput. 31, 629-651. B. Engquist and A. Majda (1979), 'Radiation boundary conditions for acoustic and elastic wave calculations', Comm. Pure Appl. Math. 32, 313-357. A. Eringen and E. §uhubi (1975), Elastodynamics, Vol. 2, Academic Press, New York. T. Geers (1998), Benchmark problems, in Computational Methods for Unbounded Domains (T. Geers, ed.), Kluwer Academic Publishers, Dordrecht, Netherlands, pp. 1-10. M. Giles (1990), 'Nonreflecting boundary conditions for Euler equation calculations', AIAA Journal 28, 2050-2058. D. Givoli (1991), 'Non-reflecting boundary conditions', J. Comput. Phys. 94, 1-29. D. Givoli (1992), Numerical Methods for Problems in Infinite Domains, Vol. 33 of Studies in Applied Mechanics, Elsevier, Amsterdam.
104
T. HAGSTROM
D. Givoli and D. Kohen (1995), 'Non-reflecting boundary conditions based on Kirchoff-type formulae', J. Comput. Phys. 117, 102-113. J. Goodrich and T. Hagstrom (1999), 'High-order radiation boundary conditions for computational aeroacoustics'. In preparation. L. Greengard and P. Lin (1998), 'On the numerical solution of the heat equation on unbounded domains (Part I)'. Preprint. L. Greengard and V. Rokhlin (1997), A new version of the fast multipole method for the Laplace equation in three dimensions, in Ada Numerica, Vol. 6, Cambridge University Press, pp. 229-269. M. Grote and J. Keller (1995), 'Exact nonreflecting boundary conditions for the time dependent wave equation', SIAM J. Appl. Math. 55, 280-297. M. Grote and J. Keller (1996), 'Nonreflecting boundary conditions for time dependent scattering', J. Comput. Phys. 127, 52-81. M. Grote and J. Keller (1998), Exact nonreflecting boundary conditions for elastic waves, Technical Report 1998-08, ETH, Zurich. M. Grote and J. Keller (1999), 'Nonreflecting boundary conditions for Maxwell's equations', J. Comput. Phys. To appear. B. Gustafsson and H.-O. Kreiss (1979), 'Boundary conditions for time-dependent problems with an artificial boundary', J. Comput. Phys. 30, 333-351. T. Hagstrom (1983), Reduction of Unbounded Domains to Bounded Domains for Partial Differential Equation Problems, PhD thesis, California Institute of Technology. T. Hagstrom (1991a), 'Asymptotic boundary conditions for dissipative waves: General theory', Math. Comput. 56, 589-606. T. Hagstrom (19916), 'Conditions at the downstream boundary for simulations of viscous, incompressible flow', SIAM J. Sci. Statist. Comput. 12, 843-858. T. Hagstrom (1995), On the convergence of local approximations to pseudodifferential operators with applications, in Proc. 3rd Int. Conf. on Math, and Num. Aspects of Wave Prop. Phen. (E. Becache, G. Cohen, P. Joly and J. Roberts, eds), SIAM, pp. 474-482. T. Hagstrom (1996), On high-order radiation boundary conditions, in IMA Volume on Computational Wave Propagation (B. Engquist and G. Kriegsmann, eds), Springer, New York, pp. 1-22. T. Hagstrom and J. Goodrich (1998), 'Experiments with approximate radiation boundary conditions for computational aeroacoustics', Appl. Numer. Math. 27, 385-402. T. Hagstrom and S. Hariharan (1996), Progressive wave expansions and open boundary problems, in IMA Volume on Computational Wave Propagation (B. Engquist and G. Kriegsmann, eds), Springer, New York, pp. 23-43. T. Hagstrom and S. Hariharan (1998), 'A formulation of asymptotic and exact boundary conditions using local operators', Appl. Numer. Math. 27, 403-416. T. Hagstrom and H. B. Keller (1986), 'Exact boundary conditions at an artificial boundary for partial differential equations in cylinders', SIAM J. Math. Anal. 17, 322-341. T. Hagstrom and J. Lorenz (1994), Boundary conditions and the simulation of low Mach number flows, in Proceedings of the First International Conference on
RADIATION BOUNDARY CONDITIONS
105
Theoretical and Computational Acoustics (D. Lee and M. Schultz, eds), World Scientific, Singapore, pp. 657-668. E. Hairer, C. Lubich and M. Schlichte (1985), 'Fast numerical solution of nonlinear Volterra convolutional equations', SIAM J. Sci. Statist. Comput. 6, 532-541. L. Halpern (1986), 'Artificial boundary conditions for the linear advection diffusion equation', Math. Comput. 46, 425-438. L. Halpern (1991), 'Artificial boundary conditions for incompletely parabolic perturbations of hyperbolic systems', SIAM J. Math. Anal. 22, 1256-1283. L. Halpern and J. Rauch (1987), 'Error analysis for absorbing boundary conditions', Numer. Math. 51, 459-467. L. Halpern and J. Rauch (1995), 'Absorbing boundary conditions for diffusion equations', Numer. Math. 71, 185-224. L. Halpern and M. Schatzman (1989), 'Artificial boundary conditions for viscous incompressible flows', SIAM J. Math. Anal. 20, 308-353. S. He and V. Weston (1996), Wave-splitting and absorbing boundary conditions for Maxwell's equations on a curved surface, Technical Report TRITA-TET96-14, KTH, Stockholm. R. Higdon (1986), 'Absorbing boundary conditions for difference approximations to the multidimensional wave equation', Math. Comput. 47, 437-459. R. Higdon (1987), 'Numerical absorbing boundary conditions for the wave equation', Math. Comput. 49, 65-90. R. Higdon (1991), 'Absorbing boundary conditions for elastic waves', Geophysics 56, 231-254. R. Higdon (1992), 'Absorbing boundary conditions for acoustic and elastic waves in stratified media', J. Comput. Phys. 101, 386-418. R. Higdon (1994), 'Radiation boundary conditions for dispersive waves', SIAM J. Numer. Anal. 31, 64-100. R. Holford (1999), 'A multipole expansion for the acoustic field exterior to a prolate or oblate spheroid'. Submitted to J. Acoust. Soc. Amer. C. Johansson (1993), 'Boundary conditions for open boundaries for the incompressible Navier-Stokes equations', J. Comput. Phys. 105, 233-251. T. Kato (1976), Perturbation Theory for Linear Operators, Springer, New York. H.-O. Kreiss and J. Lorenz (1989), Initial-Boundary Value Problems and the Navier-Stokes Equations, Academic Press, New York. E. Lindman (1975), 'Free space boundary conditions for the time dependent wave equation', J. Comput. Phys. 18, 66-78. J.-P. Loheac (1991), 'An artificial boundary condition for an advection-diffusion equation', Math. Meth. Appl. Sci. 14, 155-175. D. Ludwig (1960), 'Exact and asymptotic solutions of the Cauchy problem', Comm. Pure Appl. Math. 13, 473-508. M. Mohlenkamp (1997), 'A fast transform for spherical harmonics'. Preprint. R. Newton (1966), Scattering Theory of Waves and Particles, McGraw-Hill, New York. J. Nordstrom (1995), 'Accurate solutions of the Navier-Stokes equations despite unknown outflow boundary data', J. Comput. Phys 120, 184-205.
106
T. HAGSTROM
J. Nordstrom (1997), 'On extrapolation procedures at artificial outflow boundaries for the time-dependent Navier-Stokes equations', Appl. Numer. Math. 23, 457-468. F. Oberhettinger and L. Badii (1970), Tables of Laplace Transforms, Springer, New York. F. Olver (1954), 'The asymptotic expansion of Bessel functions of large order', Philos. Trans. Royal Soc. London A247, 328-368. P. Petropoulos (1999), 'Reflectionless sponge layers as absorbing boundary conditions for the numerical solution of Maxwell's equations in rectangular, cylindrical and spherical coordinates'. Submitted to SIAM J. Appl. Math. Y. Radvogin and N. Zaitsev (1998), Absolutely transparent boundary conditions for time-dependent wave problems, in Seventh International Conference on Hyperbolic Problems. A. Ramm (1986), Scattering by Obstacles, D. Reidel, Dordrecht, Netherlands. V. Rokhlin (1990), 'Rapid solution of integral equations of scattering theory in two dimensions', J. Comput. Phys. 86, 414-439. V. Ryaberikii (1985), 'Boundary equations with projections', Russian Math. Surveys 40, 147-183. M. Schwartz (1987), Principles of Electrodynamics, Dover, New York. I. Sofronov (1993), 'Conditions for complete transparency on the sphere for the three-dimensional wave equation', Russian Acad. Sci. Dokl. Math. 46, 397401. I. Sofronov (1999), 'Artificial boundary conditions of absolute transparency for twoand three-dimensional external time-dependent scattering problems', Euro. J. Appl. Math. To appear. L. Ting and M. Miksis (1986), 'Exact boundary conditions for scattering problems', J. Acoust. Soc. Amer. 80, 1825-1827. L. Trefethen and L. Halpern (1986), 'Well-posedness of one-way wave equations and absorbing boundary conditions', Math. Comput. 47, 421-435. L. Trefethen and L. Halpern (1988), 'Wide-angle one-way wave equations', J. Acoust. Soc. Amer. 84, 1397-1404. S. Tsynkov (1998), 'Numerical solution of problems on unbounded domains. A review', Appl. Numer. Math. 27, 465-532. E. Turkel and A. Yefet (1998), 'Absorbing PML boundary layers for wave-like equations', Appl. Numer. Math. 27, 533-557. O. Vacus (1996), Singularites de frontiere et conditions limites absorbantes: le probleme du coin, Technical Report 2851, INRIA. L. Xu and T. Hagstrom (1999), 'On convergent sequences of approximate radiation boundary conditions and reflect ionless sponge layers'. In preparation.
Ada Numerica (1999), pp. 107-141
© Cambridge University Press, 1999
Numerical methods in tomography Frank Natterer Institut fur Numerische und Instrumentelle Mathematik, Universitdt Miinster, Einsteinstrasse 62, D-48149 Miinster, Germany E-mail: nattereOmath. uni-muenster. de
In this article we review the image reconstruction algorithms used in tomography. We restrict ourselves to the standard problems in the reconstruction of function from line or plane integrals as they occur in X-ray tomography, nuclear medicine, magnetic resonance imaging, and electron microscopy. Nonstandard situations, such as incomplete data, unknown orientations, local tomography, and discrete tomography are not dealt with. Nor do we treat nonlinear tomographic techniques such as impedance, ultrasound, and nearinfrared imaging.
CONTENTS 1 Introduction 2 The filtered backprojection algorithm 3 3D reconstruction formulas 4 Iterative methods 5 Circular harmonic algorithms 6 Fourier reconstruction 7 Conclusions References
107 109 121 127 131 134 138 139
1. Introduction By 'tomography' we mean a technique for imaging 2D cross-sections of 3D objects. It is derived from the Greek word TO^LO<; = slice. Tomographic techniques are used in radiology and in many branches of science and technology.
108
F. NATTERER
1.1. The basic example In the simplest case, let us consider an object whose attenuation coefficient with respect to X-rays at the point x is f(x). We scan the cross-section by a thin X-ray beam L of unit intensity. The intensity past the object is e This intensity is measured, providing us with the line integral
g(L) = Jf(x)dx.
(1.1)
L
The problem is to compute / from g. In principle this problem has been solved by Radon (1917). Let L be the straight line x 0 = s where 6 = (cos
g{0,s)= J f(x)dx = (Rf)(6,s).
(1.2)
x-e=s
R is known as the Radon transform. Radon's inversion formula reads 2?r
where g' is the derivative of g with respect to s, and 6 = (cos
NUMERICAL METHODS IN TOMOGRAPHY
109
1.3. Outline of the paper In Section 2 we describe the most important algorithm in tomography, namely the filtered backprojection algorithm. Not only is it the workhorse for today's tomography, but it also serves as the model for the algorithms in future imaging devices, such as the 3D algorithms described in Section 3. Since many imaging problems can be described by large linear sparse systems of equations, iterative methods suggest themselves (see Section 4). Algorithms exploiting rotational symmetry of the imaging devices are described in Section 5. In Section 6 we deal with algorithms which work exclusively in Fourier space and which have the potential to outperform the filtered backprojection algorithm in speed. 1.4-
Prerequisites
The reader needs only a rudimentary knowledge of numerical analysis (interpolation, quadrature, linear systems), functional analysis (linear operators, distributions), Fourier analysis (Fourier transform, Fourier series, inversion, convolution, fast Fourier transform (FFT)) and sampling theory (Shannon's sampling theorem for band-limited functions). 2. The filtered backprojection algorithm In this section we give a detailed description of the most important algorithm in 2D tomography. The discrete implementation depends on the scanning geometry, that is, the way the data are sampled. This algorithm is essentially a numerical implementation of the Radon inversion formula (1.3). However, a different approach avoiding singular integrals is simpler. We describe this approach for the n-dimensional Radon transform
9(0,8) = J f(x)dx = (Rf)(0,s) x-6-s n
where / is a function in R and 0 € S n ~ \ s e t 1 . Let (R*g)(x)=
I
g(6,0-x)d6
gn-l
be the backprojection operator and let V, v be functions such that V = R*v. Mathematically, R* is simply the Hilbert space adjoint of the Radon transform R. It is easy to see that V*f = R*(v*g),
(2.1) n
where the convolution on the left-hand side is in R , while the convolution on
110
F. NATTERER
the right-hand side is a ID convolution with respect to the second variable: fv(x-y)f(y)dy
=
f
f v(x
6 - s)g(8, s) dsd9.
(2.2)
The idea is to choose V as an approximation to Dirac's <5-function. Then, V -k f is close to / . The interrelation between V, v is easily described in terms of the Fourier transform. Denoting with the same symbol 'A' the n-dimensional Fourier transform = (27r)-"/2 f
e-ix
and the ID Fourier transform v{6, a) = (27T)"1/2 / e~isav{6, s) ds,
a G R1,
R1
we have
see Natterer (1986). By |£| we mean the Euclidean length of £ G W1. The choice of V determines the spatial resolution of the reconstruction algorithm. We use the notion of resolution from sampling theory: see Jerry (1977). We give a short account of some basic facts of sampling theory. A function / in M.n is said to be band-limited with bandwidth 17, or simply Jl-band-limited, if /(£) = 0 for |£| > fi. An example for n = 1 is the sine function sin x smc (x) = , x which has bandwidth 1. Obviously, sine (fix) has bandwidth Q. J7-bandlimited functions are capable of representing details of size 27r/f2 but no smaller ones. This becomes clear simply by looking at the graph of sine. In tomography the functions we are dealing with are usually of compact support. Such functions cannot be strictly band-limited, unless identically zero. Hence we require the functions only to be essentially Q-band-limited, meaning that /(£) is approximately 0 for |£| > Q in some sense: see Natterer (1986). A reconstruction method in tomography is said to have resolution 2vr/0 if it reconstructs essentially fi-band-limited functions reliably. For strictly fi-band-limited functions we have the following propositions, which also hold, with very good accuracy, for essentially fi-band-limited functions.
NUMERICAL METHODS IN TOMOGRAPHY
111
1. If / is f2-band-limited and h < TT/Q (the Nyquist condition), then / is uniquely determined by the values f(hk), k € Z, and f[x) =
- hk).
2. If / is fi-band-limited and h < ir/Cl, then
3. If /i, J2 are fi-band-limited and h < vr/fi, then
f fi(x)f2(x)dx
=
Returning to the creation of a reconstruction algorithm with resolution 2vr/f2, we have to determine V such that
where 0 is a filter with the property
This follows from the formula 6 = (2-7r)"n/'2. This means that for the filter function v we must have in—1,
(2.3)
Examples are the ideal low pass 1, \a 0, \a the cos filter _ J cos (air/2), 0,
\a \a
and the filter __ J sine (air/2), which has been introduced in tomography by Shepp and Logan (1974). The corresponding functions v for n — 2 are vn{s) =
^M(QS),
U(S)
= sine (s) - - (sine (-J J
112
F. NATTERER
for the ideal low pass,
with the same function u, and /
/2
- s sin s,
for the Shepp-Logan filter. More filters can be found in Chang and Herman (1980). The integral on the right-hand side of (2.2) has to be approximated by a quadrature rule. We have to distinguish between several ways of sampling 9 = Rf2.1. Parallel geometry in the plane In this case the 2D Radon transform g(0,s) = (Rf)(0,s) is sampled for 6 = 0j = (cospj, sinipj)T, ifj = irj/p, j = 0,... ,p - 1 and s = se = £p/q, £ = —q,..., q. Here p is the radius of the reconstruction region, that is, we assume f(x) = 0 for x G M2, \x\ > p. This means that the measured rays come in p parallel bundles with directions evenly distributed over 180°, each bundle consisting of 2q + 1 equispaced lines. This was the scanning geometry of the first commercial scanner for which Hounsfield received the Nobel prize in 1979. This geometry has been replaced by more efficient ones in today's scanners (see below), but it is still used in scientific and technical imaging. We evaluate the integral in (2.2) by the trapezoidal rule
(V * f)(x) ^2-^Y,Y. Pq
"«(*
9
i - 8i)9(6j> se)-
(2-4)
j=Q£=-q
The accuracy of this approximation can be assessed by sampling theory, according to which the trapezoidal rule for an inner product is exact provided the step-size h satisfies the Nyquist criterion, that is, h < ir/Cl where Q is the bandwidth of the factors in the inner product. In our case the first factor is VQ(X 0j — s) (as a function of s) which has bandwidth $1. The second factor is g(0j, s) (again as a function of s). This is given and does not, in general, have finite bandwidth. At this point we have to make an assumption. We assume / to be essentially band-limited with essential bandwidth 0. The n-dimensional Fourier transform of / and the ID Fourier transform Rf (with respect to the second variable) are interrelated by (Rf)A(0, a) = (2 7 r)("- 1 )/ 2 /(^).
(2.5)
This is the famous (and easy to prove) 'projection' or 'central slice' theorem
NUMERICAL METHODS IN TOMOGRAPHY
113
of computerized tomography. In the present context we need it only to deduce that / and g = Rf have the same (essential) bandwidth. Thus the sintegral in (2.2) is accurately represented by the l-sum in (2.4) provided that the step-size h = p/q in that sum satisfies the Nyquist criterion h < 7r/S7. In other words, q > -pQ.
(2.6)
The condition for the number p of directions which makes the j'-sum in (2.4) a good approximation for the ^-integral in (2.2) is less obvious. Based on Debye's asymptotic relation for the Bessel functions one can show that the essential bandwidth of Rf as a function of ip, 8 = (cos ip, sin nP.
(2.7)
Inequalities (2.6), (2.7) are the conditions for high accuracy in (2.4), assuming / to be zero outside the ball of radius p and essentially band-limited with bandwidth Q,. The double sum in (2.4) has to be evaluated for each reconstruction point x. This leads to unacceptable complexity. This complexity can be reduced by introducing the function 9
Then, (2.4) reads
%=0
This requires only a simple sum for each reconstruction point x, at the expense of an additional interpolation in the second argument of h. In most cases linear interpolation suffices (but nearest neighbour does not). This leads us to the filtered backprojection algorithm for standard parallel geometry (see Herman (1980, p. 133)).
Algorithm 1 Filtered backprojection algorithm for standard parallel geometry Data: The values {gj/ = g(9j, se) : j = 0,... ,p — 1, £ = —q,..., q}, where g is the 2D Radon transform of / . Step 1: For j = 0,... ,p — 1 carry out the discrete convolution p Y~» q
e=-q
114
F. NATTERER
Step 2: For each reconstruction point x, find the discrete backprojection f
( \ — — V^ ((1 — 9U
-I- 9/?
1
^ 3=0
where k = k(j, x) and i? = -d(j, x) are determined by + — L
2. ,
£ — l+l
i9
t
h
A,
U
(/
ft,.
It
I ,
Result: fpB is an approximation to f(x). The algorithm depends on the parameters p, q and on the choice of VQ. It is designed to reconstruct a function / with support in \x\ < p and with essential bandwidth fi, that is, the spatial resolution of the algorithm is 2TT/Q. Conditions (2.6), (2.7) should be satisfied. A few remarks are in order. 1. Condition (2.6) has to be strictly satisfied. Otherwise the s integral in (2.2) is not even approximately equal to the £ sum in (2.4), leading to unacceptable errors. 2. If (2.7) is not satisfied, the reconstruction is still accurate for \x\ < p/9, < p. 3. Filter functions VQ whose 'kernel sum'
does not vanish should not be used: see Natterer and Faridani (1990). 4. Usually, linear interpolation in Step 2 is sufficient. However, for difficult functions / (e.g., functions containing large objects at the boundary of the reconstruction region) linear interpolation generates visible artefacts. In that case an oversampling procedure similar to the one of Algorithm 2 below is advisable. Alternatively one may use the circular harmonic algorithm from Section 5. 5. The algorithm needs O(p) operations for each reconstruction point. Algorithms with lower complexity (such as O(logp)) can be obtained either by Fourier reconstruction (see Section 6) or by the fast backprojection algorithm in Section 2.5. 6. Conditions (2.6), (2.7) suggest taking p — irq. This much debated condition is usually not complied with in radiological applications, where p is chosen to be considerably smaller. This is due to the special requirements in radiological imaging.
NUMERICAL METHODS IN TOMOGRAPHY
115
2.2. The interlaced parallel geometry It is well known (see, for instance, Kruse (1989)) that the data in the standard parallel geometry are redundant: if p is even, then one can omit each g(6j,se) with £ + j odd without impairing the resolution. Deriving algorithms that use only the remaining 'interlaced' data (i.e., those g(Oj, Si) for which j + £ even) is fairly subtle. What happens is the following. If in the £ sum in (2.4) every second term is dropped, the sum no longer approximates the corresponding s integral in (2.2). Miraculously, the large quadrature error cancels when the j sum in (2.4) is computed. This means that success depends entirely on a subtle interplay between different directions. This interplay is disrupted by the interpolation procedure in Step 2 of Algorithm 1. There are two ways out. The first one is to avoid interpolation altogether by using circular harmonic algorithms: see Section 5. The second one is to make the interpolation more accurate, for instance by oversampling. This leads to an algorithm that has the structure of a filtered backprojection algorithm. Algorithm 2 Filtered backprojection algorithm for parallel interlaced geometry Data: The values {g(9j, se) : j = 0,... ,p — 1, £ — —q,..., q, £ + j even}, where g is the 2D Radon transform of / , and p has to be even. Step 1: Choose a sufficiently large integer M > 0 (M = 16 will do) and compute, for j — 0,... ,p - 1,
E ^(g^)s(^)
k = -Mq,...,Mq.
t=-q £+j even
Step 2: For each reconstruction point x, compute 2 p"1 fFB(x) = — Y, ((1 - #)hj,k + %,fc+i), P
3=0
where k = k(j,x), 1? = $(j, x) are determined by
t = Ma—p-, Result:
/FB(^)
k=\t\,
#= t-k.
p/q is an approximation to f(x).
Note that the difference between this algorithm and Algorithm 1 is that it needs only half the data but produces the same image quality. We study the various assumptions underlying this algorithm.
116
F. NATTERER
1. The algorithm is designed to reconstruct a function / supported in \x\ < p with essential bandwidth fi. The sampling conditions (2.6), (2.7) have to be satisfied. In contrast to Algorithm 1, oversatisfying these conditions may lead to artefacts. Thus the algorithm should be used only if (2.6), (2.7) are satisfied with equality, that is, for p = ir q. 2. Only filters v with a smooth transition from nonzero to zero values should be used. The reason is that the additional filtering of the interpolation step is not present in Algorithm 2. 2.3. Standard fan beam geometry This is the most widely used scanning geometry. It is generated by a source moving on a concentric circle of radius r > p around the reconstruction region \x\ < p, with opposite detectors being read out in small time intervals (third generation scanner). Equivalently we may have a fixed detector ring with only the source moving around (fourth generation scanner). Denoting the angular position of the source by 0 and the angle between a measured ray and the central ray by a (a > 0 if the ray, viewed from the source, is left of the central ray), then fan beam scanning amounts to sampling the function = (Rf)(9,r sin a),
g{0,a)
9 = (COf + a\) \ sm(/j + a) J
(2.8) x
'
at the points 0 = 0j=jA0,
A0 = 2n/p, ,
j = 0,... £=-q,...,q.
Here, q is chosen so as to cover the whole reconstruction region \x\ < p with rays, and d is the detector offset which is either 0 or . First we derive the fan beam analogue of (2.1). We only have to put
(V * f)(x) = r
//
/ v(x 0
-TT/2
9 — r sina)g(0, a) cosccdad/3
NUMERICAL METHODS IN TOMOGRAPHY
117
with 9 as in (2.8). Discretizing the integral by the trapezoidal rule yields p-l
(V*f)(x)
q
~ r A a A / 3 ^ ^ va{x j=o e=-q
6(/3j + ae) - rsmae)g(f3j,ae) cosae.
(2.9) This is the fan beam analogue of (2.4) and defines a reconstruction algorithm for fan beam data. One can show that for this algorithm to have resolution 2?r/f2 one has to satisfy
see Natterer (1993). As in the parallel case, an algorithm based on (2.9) needs O(pq) operations for each reconstruction point. Reducing this to O(p) is possible here, too, but this is not as obvious as in the parallel case. We first establish a relation for the expression x 0(ip) — s in (2.2). Let b = rd((3) be the source position, and let 7 be the angle between x — b and —6. We take 7 positive if x, viewed from the source b, lies to the left of the central ray, that is, we have
(b-x) -b |6-xl-|6|'
CO67=
where 0(
(2.11)
Thus, 6{(p) - s) = \b - x|- 2 u n | 6 _ x |(sin(7 - a)).
vQ(x
Using this in (2.2) we obtain 2TT
(V*f)(x) = r / \b-x\~ 0
T/2
2
/ vn\b_xi(sm(j-a))g((3,a)cosadad/3. -TT/2
Here, b = r9((3), and 7 is independent of a. Unfortunately, the a integral has to be evaluated for each x since the subscript ft\b — x\ depends on x. In order to avoid this we make an approximation: we replace Cl\b — x\ by fir. This is not critical as long as \b — x\ ~ |6|, that is, as long as p
118
F. NATTERER
in most scanners r ~ 3p, and this is sufficient for the approximation to be satisfactory. However, if p is only slightly smaller than r, problems arise. Upon the replacement of i>n|b_x| by VQr we obtain 2TT
x
(V * f)( ) —
r
T/2
2
I \b — x\~ 0
I ^nr(sin(7 — a))g((3, a) cosadad/3.
-TT/2
The a integral can now be precomputed as a function of 7 and (3, yielding an algorithm with the structure of a filtered backprojection algorithm. Algorithm 3 Filtered backprojection
algorithm for parallel standard fan beam
D a t a : T h e values {gj
geometry
: j = 0 , . . . ,p - 1, £ = -q,...,q},
where
g is the function in (2.8). Step 1: For j = 0,... ,p — 1 carry out the discrete convolutions vur(sm(ak - ae))gje cos at,
k = -q,...,
q.
l=-q
Step 2: For each reconstruction point x, compute the discrete weighted backprojection p-i b
fFB(x) = rApJ2\ J .
~ x\~2 (C1 - #)h3,i° + #
3=0
where k = k(j, x) and d = ~d(j, x) are determined by bj - x)
7 = it arccos \bj-x\\bj\'
bj
the sign being the one of —x bj and bj = r9((3j), t = -?-, Aa
k=\t\, tf =
t-k.
Result: / F B ( ^ ) is an approximation to f(x). The algorithm as it stands is designed to reconstruct a function / with support in \x\ < p which essentially band-limited with bandwidth fl from fan beam data with the source on a circle of radius r > p. The remarks following Algorithm 1 apply by analogy. In particular, conditions (2.10) have to be satisfied. For r ~ p and with dense parts of the object close to the boundary of the reconstruction region, problems are likely to occur.
NUMERICAL METHODS IN TOMOGRAPHY
119
2.4. Linear fan beam geometry Here, the detector positions within a fan with vertex b are evenly spaced on the line perpendicular to b. We need the explicit form of the inversion formula mainly for the derivation of the FDK algorithm in 3D cone beam tomography in the next section. With g the function in (2.8), the sampled data are 9j,e
=
g{/3j,ae),
Pj
=
—j, P
j = 0,...,p-l,
£=
ae = t&-n(ye/r),
-q,...,q
ye = (£ +
d)Ay.
The coordinates (f3, y) are related to the parallel coordinates (ip, s) in the representation x 9(ip) = s of the rays by V
<^ = /3 + arctani, r
TV y
s=
1
(2.12)
ylyil
[r +
Hence, r3
d { ) 2
d{0,y) (r + Substituting (/?, y) for (ip, s) in (2.2) leads to 2TT
3
(V*f)(x) = J Jv(x.9(
where (2.12) has to be inserted for (
6(/3) )
_ rx
9(0 + TT/2) r-x
z
Prom (2.11) it follows that vn(c(z - y)) = c~2vcn(z - y), yielding 2TT
3 r dyd/3
2
(V*f) = I Jc- vcU(z-y)g((3,y)-{( 2 r
0 Rl 2TT
f
= r
1 f n/aw> I J [r — x u(p)Y J
v
cn(z-y)g((3,y)i
120
F. NATTERER
As in the standard fan beam case we make the approximation c ~ 1. Again this is justified if p 3p. Then,
(V*f)(x)^
f
^
J (r — x
f vn (^^ ~ y) 9(8, V),\r*-\2 \ \r — x t) )
vy J
S1
where
K1
— 6(ip + IT/2). Defining h(0, z) = j vQ(z - y)g(O, y)
^
u/2,
(2-13)
this can be written as
(v*f)(x)~
fh(e, ™_'^e) de-
( 2 - 14 )
The implementation of (2.13), (2.14) can now be done exactly as in the standard case, leading to a filtered backprojection algorithm which needs O(p) operations for each reconstruction point x.
2.5. Fast backprojection The backprojection (Step 2 in Algorithms 1-3) is the most time-consuming part of the filtered backprojection algorithm. The filtering or convolution step (Step 1 in Algorithms 1-3) requires in principle the same number of operations, but this can easily be reduced drastically either by cutting off the filter VQ or by using the fast Fourier transform (FFT). The backprojection consists of the evaluation of the sums
o n a p x p grid. This is the simplest case of Algorithm 1, the resolution of the image being adjusted to the number of views p according to the sampling theorem. Nilsson (1997) suggested a divide and conquer strategy for doing this with O(p2logp) operations, as opposed to the O(p 3 ) operations of a direct evaluation. Suppose p = 2m. Step 1: For j = 0,1, 2 , . . . ,p — 1, compute
f}(x)=g(9j,x-ej). Since fj is constant along the lines x 6j = s it suffices to compute fj (x) at 2p points x. We need p 2p operations. Step 2: For j = 0 , 2 , 4 , . . . ,p - 2, compute
NUMERICAL METHODS IN TOMOGRAPHY
121
Since fj, fj+l are constant along the lines x-Oj = s, x-Oj+i — s, respectively, fj is almost constant along the lines x 9j = s where 9j — (0j + 0j+i)/\/2. Hence it suffices to compute fj only for a few, say 2, points on each of those lines. This means that we have to evaluate fj at 4p points, requiring | 4p operations. Step 3: For j = 0,4,8,..., p - 4, compute
With the same reasoning as in Steps 1 and 2 we find that it suffices to compute ff(x) for only for 8p points, requiring | 8p operations. Proceeding in this fashion we arrive in Step m at the approximation /j™ to /, which has to be evaluated at 2mp points. Hence the number of operations in Steps 1 to m is p 2p + |
4p + |
8p +
+^
2 > = mp2
and this is O(p2logp). Of course this derivation is heuristic, and we have simply ignored the necessary interpolations and approximations. However, practical experience demonstrates that such an algorithm can be made to work. 3. 3D reconstruction formulas Algorithms for 3D tomography are still under development. The main problem is that the data entering explicit inversion formulas are usually not available. Thus the main task in 3D tomography is the derivation of inversion formulas that use only the data measured by a specific imaging device. It is clear that these formulas are tailored to the imaging device. In this section we restrict ourselves to the derivation of exact or approximate inversion formulas. The implementation in a discrete setting can be done along the lines of the 2D algorithms. 3.1. Inversion of the 3D Radon
transform
Let g = Rf, R the 3D Radon transform, be given on S2 xR 1 . Using (2.1) for n = 3 leads directly to a filtered backprojection algorithm, exactly as in the 2D case. Introducing spherical coordinates
(
sini/) cos (/A sinV' sin ip J , cos?/> J
0 < ip < 2TT,
0 < ip < IT,
122
F. NATTERER
(2.1) reads (V*f)(x)=
f f h(8,x-d)sinipdipdp,
(3.1)
0 0
where 8 = 8((p, ip) and
h(8,t) = I g(6,s)v(t-s)ds. Once h is computed, the evaluation of (3.1) requires the computation of a 2D integral for each reconstruction point. This is prohibitive in real world applications. Fortunately we can exploit the structure of the 3D Radon transform as the composition of two 2D Radon transforms. Putting n
kv(s,t)
— / h(6() sinipdip, o we can rewrite (3.1) as (V*f)(.x)=
(3.2) / k^xa, xi cos ip + x2 sin ip) dip. o The last two formulas are essentially 2D backprojections. They can be evaluated exactly as described in the previous section. After having precomputed h and k the final reconstruction step (3.2) requires only a ID integral for each reconstruction point. This algorithm is reminiscent of the two-stage algorithm of Marr, Chen and Lauterbur (1981), developed for magnetic resonance imaging (MIR), except that the convolution steps are not present. 3.2. The FDK approximate formula This is the most widely used algorithm for cone beam tomography with the source running on a circle. It is well known that this inversion problem is highly unstable. However, practical experience with the FDK formula is nevertheless quite encouraging. The function sampled in cone beam tomography with the source on a circle is
g(0,y) = Jf(rO + ty)dt, where 9 is a direction vector in the X\-X2 plane, 0 = (cos ip, sirup, 0)T, (see below) is the vector 01- is the subspace orthogonal to 9, while
NUMERICAL METHODS IN TOMOGRAPHY
123
(— simp, cosip, 0)T perpendicular to 9. As usual we assume / = 0 outside x\ < p where p < r.
The FDK formula is an ingenious adaptation of the 2D inversion formula of Section 2.4 to 3D. Consider the plane ir(9, x) through r9 and x which intersects 91- in a line parallel to the x\-X2 plane. Compute in this plane for each 9 the contribution to (2.14). Finally, integrate all these contributions over Sl, disregarding the fact that the contributions come from different planes. The necessary computations are unpleasant, but the result is fairly simple. Based on (2.14),
(V*f)(x)* I -r^-r 2 fvQ(u-u')g(9,u',z) x J v~ ')
S1
J
V
R1
rdti
+u
'f
=,
+ zA
(3.3)
where r r —x
9
'
r r—x
9
and (u',z) are coordinates in ^ , that is, g(9,u',z) stands for g(9,y) with y = (—u'sinip, u'cosip, z)T. The implementation of (3.3) leads to a reconstruction algorithm of the filtered backprojection type. The reconstructions computed with the FDK formula (3.3) are - understandably - quite good for flat objects, that is, if / is nonzero only close to the x\~X2 plane in which the source runs. If this is not the case then exact formulas using more data such as Grangeat's formula (see below) have to be used. 3.3. Grangeat's
formula
Grangeat's formula requires sources on a curve C with the following property: each plane meeting supp (/) contains at least one source. This condition is obviously not satisfied when C is a circle for which the FDK approximation has been derived. The data for Grangeat's formula are generated by the function
g(c,9)= f f{c + t9)dt,
ceC,
9eS2.
The condition on the source curve means that for each x with f(x) ^ 0 and each 9 € S2 there exists a source c = c(x, 9) G C such that x 9 = c(x, 0) 9. The gist of Grangeat's inversion is a relation between g and the 3D Radon transform Rf of / . This relation reads (Grangeat 1991) g-s(Rf)(9,s)\s=x.e=
j
—g{c(x,0),cj)du>,
(3.4)
where ^ stands for the derivative in the direction 9 € 5 2 , acting on the
124
F. NATTERER
second argument. For this to make sense we have to extend g to all of C x E3 by using the above definition not only for 9 € S2, but for all of R 3 . This is equivalent to extending g by homogeneity of degree —1 in the second argument. With the help of the 3D inversion formula
S2
for the 3D Radon transform, Grangeat's formula leads immediately to an inversion procedure for the data g. Related inversion formulas for cone beam tomography have been derived by Tuy (1983) and Gelfand and Goncharov (1987). For details of the implementation see Defrise and Clack (1995).
3.4- Orlov's inversion
formula
This formula inverts the ray transform
(Pf)(9,y) = J f(y + t9)dt, ye9x,
9 e S2
(3.5)
R1
which arises, for instance, in 3D emission tomography (PET, Defrise, Townsend and Clac (1989)). If 9 is restricted to a plane, then we simply have the Radon transform in this plane, and we can reconstruct / in that plane by any of the methods in the previous section. In practice g = Pf is measured for 9 e S2, where SfiCS2. In Orlov's formula (Orlov 1976), S$ is a spherical zone around the equator, that is, S2 = {0(
) :^-(v)
if>+{
using spherical coordinates 9((p,tp) — (cos (p cos ip, simp cos I/J, sin ip)T and -7r/2 < ip- < V+ < TT/2. Then, f{x)
= A f h(0, x - (x 9)9) d0, g(9,x-y)
dy,
(3.6)
where A is the Laplacian acting on x and £(9, y) is the length of the intersection of S2 with the plane spanned by 0,9,y € M3. The first formula of (3.6) is - up to A - a backprojection, while the second one is a convolution in #-*-. Thus an implementation of (3.6) is again a filtered backprojection algorithm. P can also be inverted by the Fourier transform. We have £G0\
(3.7)
NUMERICAL METHODS IN TOMOGRAPHY
125
where 'A' denotes the (n — l)-dimensional Fourier transform in 91- on the left-hand side and the Fourier transform in W1 on the right-hand side. Assume that S2, C S2 satisfies the Orlov condition: every equatorial circle of S2 meets SQ. Note that the set S2. (the spherical zone) we used above in Orlov's formula satisfies this condition. From (3.7) it follows that / is uniquely determined by (P/)(0, ) for 9 G SQ under the Orlov condition. Namely, if £ G R n is arbitrary, then Orlov's condition says that there exists S e ^ n ^ 1 , and /(£) is determined from (3.7). 3.5. Colsher's inversion formula Assume again that g = Pf is known for 9 G S2, C S2. We want to derive an inversion procedure similar to the one in Section 2.1. With the backprojection
(P*g)(x) =
Jg(9,x-(x-9)9)d9,
2
So
we again have V*f
= P*(v*g)
provided that V = P*v. Again the convolutions on each side have different meanings. Explicitly this reads
(V * f)(x) = J Jv(9,x-
(9
- y)g{9,y) dyd0,
(3.8)
si which corresponds to (2.2). As in (2.2) we express the relationship V = P*v in Fourier space, obtaining
see Colsher (1980). In order to get an inversion formula for P we have to determine v such that V = 6 or V = (2n)~3/2, that is,
J A solution v independent of 9 is
, O d 0 = (27r)- 2 K|.
(3.9)
126
F. NATTERER
where \SQ D ^ l is the length of SQ C\ £-*-. For the spherical zone SQ from Section 3.4 with ip_ = ipQ, ip+ = ipQ, ipo a constant with 0 < tpo < | , Colsher computed h explicitly. Setting £3 = |£J cos?/' we obtain (2vr)2 \\(4arcsin(sinVo/sinV) (4
\
Filters such as the Colsher filter (3.10) do not have small support. This means that g in (3.8) has to be known in all of 91-. Often g is only available in part of 91- (truncated projections). Let us choose
where 9 = 9(
/ where |£3| = |^'| tan V, l^'l = VW+M-
^ T h i s is close
' to F = (27r)"3/2 if Vo
is small. In this case reconstruction from truncated projections is possible, at least approximately.
3.6. Conical tilt geometry In electron microscopy (Frank 1992) one is faced with the case
for some ipo where 0((p,ip) = (cos(psin.i/j,sm(psinip, cos^O^- SQ does not satisfy Orlov's condition, and (3.9) cannot be satisfied since SQH^ = for some £. In that case we put
^ 0,
otherwise.
With this choice of v, (3.8) is the minimal norm solution of Pf = g. A proper discretization along the lines of Section 2.1 leads to the weighted backprojection algorithm of electron microscopy: see Frank (1992).
NUMERICAL METHODS IN TOMOGRAPHY
127
4. Iterative methods If exact inversion formulas are not available, iterative methods are the algorithms of choice. However, even if exact inversion is possible, iterative methods may be preferable due to their simplicity, versatility and ability to handle constraints and noise. Iterative methods are usually applied to discrete versions of the reconstruction problem. These discrete versions are obtained either by starting out from discrete models, as in the EM algorithm below, or by a projection method, known as a 'series expansion method' in the tomographic community (Censor 1981). This means that the unknown function / is written as N
for certain basis functions B^. With g\ the ith measurement, the measurement process being linear, we obtain the linear system N
for the expansion coefficients /^, the matrix element an being the ith measurement for the basis function B^. In tomography we always have an > 0. Also, the matrix (an) is typically sparse. Often B( is the characteristic function of pixels or voxels. Recently, smooth radially symmetric functions with small support (the 'blobs' of Lewitt (1992) and Marabini, Herman and Carazo (1998)) have been used. Blobs have several advantages over pixel- or voxel-based functions. Due to the radial symmetry it is easier to apply the Radon transform (or any of the other integral transforms) to B^, making it easier to set up the linear system (4.1). The smoothness of the B^ prevents a 'checkerboard' effect (i.e., the visual appearance of the pixels or voxels in the reconstruction) and does part of the necessary filtering and smoothing. The linear system (4.1) may be overdetermined (M > N) or underdetermined (M < N), consistent or inconsistent. Useful iterative methods must be able to handle all these cases. 4-1- ART (algebraic reconstruction
technique)
This is an extension of the Kaczmarz (1937) method for solving linear systems. It has been introduced in imaging by Gordon, Bender and Herman (1970). We describe it in a more general context. We consider the linear system Ajf
= gj,
j = 0,...,p-l1
(4.2)
128
F. NATTERER
where Ao : H j—* Hj are bounded linear operators from the Hilbert p space H p o ilbert space space Hj. With C,- : ifj —> H,- a positive definite operator into the Hilbert an iteration as follows: we define an iteration step fk —> / ffc,0
_ *fc j = O,...,p-l _
(4.3)
fk,p
If Cj = A*-Aj (provided Aj is surjective) and u — 1, then / f c j is the orthogonal projection of fk^~1 onto the afflne subspace Ajf — gj. For dim(Hj) = 1 this is the original Kaczmarz method. Other special cases are the Landweber method (p = 1, C\ = I) and fixed-block ART (dim(Hj) finite, Cj diagonal: see Censor and Zenios (1997)). It is clear that there are many ways to apply (4.3) to (4.1), and we will make use of this freedom to our advantage. One can show (Censor, Eggermont and Gordon 1983, Natterer 1986) that (4.3) converges provided that p-i
J ^ y.range i=o
{Aj)
and 0 < to < 2. This is reminiscent of the SOR theory of numerical analysis. In fact we have fk = Auk where uk is the A;th SOR iterative for the linear system AA*u = g with
;
/ 50
H
\5P-I.
If (4.2) is consistent, ART converges to the solution of (4.2) with minimal norm in H. Plain convergence is useful, but we can say much more about the qualitative behaviour and the speed of convergence by exploiting the special structure of the image reconstruction problems at hand. With R the Radon transform in Rn we can put H = L 2 (|x| < 1),
Hj = L 2 ( - l , +1; wl~n),
(Ajf)(s) = (Rf)(0j,s) where w is the weight function (1 — s 2 ) 1 / 2 and 9j E S1""1. One can show that the subspaces
CmJ(x)
=
C^2{x-63),
the Gegenbauer polynomials of degree m (Abramowitz and Stegun 1970)
NUMERICAL METHODS IN TOMOGRAPHY
129
are invariant subspaces of the iteration (4.3). This has been discovered by Hamaker and Solmon (1978). Thus it suffices to study the convergence on each subspace Cm separately. The speed of convergence depends drastically on UJ and - surprisingly - on the way the directions Oj are ordered. We summarize the findings of Hamaker and Solmon (1978) and Natterer (1986) for the 2D case where 6j = (cos ipj, sinipj). 1. Let the tpj be ordered consecutively, that is, ipj = jir/p, j = 0 , . . . ,p— 1. For u large (e.g., u> = 1) convergence on Cm is fast for m < p large and slow for m small. This means that the high-frequency parts of / (such as noise) are recovered first, while the overall features of / become visible only in the later iterations. For u small (e.g., u = 0.05) the opposite is the case. This explains why the first ART iterates for u = 1 look terrible and why surprisingly small relaxation factors (e.g. u = 0.05) are used in tomography. 2. Let { p are irrelevant since they describe those details in / that cannot be recovered from p projections because they are below the resolution limit. This is a result of the resolution analysis in Natterer (1986).
4-2. EM (expectation maximization) The EM algorithm for solving the linear system Af = g reads k
>0
(4 4)
Multiplications and divisions in this formula are understood componentwise. It is derived from a statistical model of image reconstruction: see Shepp and Vardi (1982). The purpose is to compute a minimizer of the log likelihood function
t(f) = J>* MAf); - (Af)i).
(4.5)
130
F. NATTERER
The convergence of (4.4) to a minimizer of (4.5) follows from the general EM theory in Dempster, Laird and Rubin (1977). Note that (4.4) preserves positivity if an > 0. The pure EM method (4.4) produces unpleasant images which contain too much detail. Several remedies have been suggested. An obvious one is to stop the iteration early, typically after 12 steps. One can also perform a smoothing step after each iteration (EMS algorithm of Silverman, Jones, Nychka and Wilson (1990)). A theoretically more satisfying method is to add a penalty term —B(f) to (4.5), that is, to minimize *(f)-B(f),
(4.6)
—B(f) may be interpreted either in a Bayesian setting or simply as a smoothing term. Typically,
= (f-7fB(f-J) where B is a positive definite matrix and / is a reference picture. Unfortunately, minimizing (4.6) is more difficult than minimizing (4.5) and cannot be done with a simple iteration such as (4.4). For partial solutions to this problem see Levitan and Herman (1987), Green (1990), Setzepfandt (1992). As in ART, a judicious arrangement of the equations can speed up the convergence significantly. The directions have to be arranged in 'ordered subsets': see Hudson, Hutton and Larkin (1992).
4-3. MART (multiplicative
algebraic reconstruction
technique)
While ART converges in the consistent case to a minimal norm solution of (4.1), MART is designed to converge to a solution of (4.1) which minimizes the entropy M
A log A-
(4.7)
For this to make sense we assume that (4.1) has a positive solution, and we seek the minimizer of (4.7) among those / that have only positive components. This is reasonable in many tomographic problems. The step fk -> fk+1 of the MART algorithm for (4.1) is as follows:
fk'°
= fk, aTfk,i-l
fk+1
_
fk,M
MART is an example of a multiplicative algorithm (see Pierro (1990)); another example is the EM algorithm.
NUMERICAL METHODS IN TOMOGRAPHY
131
5. Circular harmonic algorithms Circular harmonic algorithms can be derived from the inversion formula of Cormack (1963). For the 2D problem Rf = g it is obtained by Fourier expansions
f(x) = g(9,s)
= ^gt(s)e^,
0 = (cos ^, sir
I
One can show that oo 1
fjr\
r
/
,
(a2
—
jf.\ ) — — / \
s
r
r^\~l2T,
~
)
J
I
S N
\n'la\Aa
|£| I - )5^v s J c l s -
(£,!}
I53-1;
r
Tt is the Chebyshev polynomial of the first kind of order L In principle this defines an inversion formula for R: the Fourier coefficients gn of g — Rf determine the Fourier coefficients /^ of / via (5.1), and hence / is determined by g. The formula (5.1) is useless for practical calculations since Te increases exponentially with £ outside [—1, +1]. Cormack (1964) also derived a stable version of his inversion formula. It reads
-m
where Ug is the Chebyshev polynomial of the second kind of order £. This formula does not suffer from exponential increase. It is the starting point of the circular harmonic reconstruction algorithms of Hansen (1981), Hawkins and Barrett (1986) and Chapman and Cary (1986). We take a different route and start out from (2.1) again. We consider only the case n = 2. Putting x — x^ = Si9((fk), 0(ip) = (cos<£>,sin?)T, in (2.4) we obtain
{V*f)(xik) =
^2 5Zvn(sjCos(^_fc)
Pq
-se)g(0j,st).
e=-qj=o
The j sum is a convolution. In order to make this convolution cyclic we extend g(9j,S() by putting g(9j+p,se) = g(@j,—se), in accordance with the evenness property of the Radon transform. Then, {V*f){xik)
=^ ^ pq
j=o
vn(sico&(
132
F. NATTERER
Defining 2p-l
huk
=
- } P
vn(sicos{
j
3=0
£ = -q,...,q,
i = O,...,q,
we have
k = 0 , . . . , 2p - 1,
g
P V^
q hm
"~ h ' This defines the circular harmonic algorithm.
Algorithm 4 Circular harmonic algorithm for standard parallel geometry Data: The values {gjtt = g(9j, S() : j = 0 , . . . ,p — 1, £ = —q,..., q}, where g is the 2D Radon transform of / . Step 1: Precompute the number V£tij = VQ(S{ cos(ipj) — S£j and extend g^£ to all j = 0 , . . . , 2p — 1 by gj+p,£ = gj,-e-
Step 2: For i = 0 , . . . , q, £ = —q,..., q carry out the discrete cyclic convolutions 2p-l 7T ^ - - \
P '^"^
''
Step 3: For i = 0 , . . . , q and k = 0 , . . . , 2p — 1, compute x
P
Result: fcH(%ik) is a n approximation to
f(xik).
Step 2 of the algorithm has to be done with a fast Fourier transform (FFT) in order to make the algorithm competitive with filtered backprojection. In that case Step 2 requires O(q2p log p) operations. This is slightly more (by the factor logp) than what is needed in the filtered backprojection algorithm. Step 3 needs Apq2 additions. Algorithm 4 can be used almost without any changes for the interlaced parallel geometry, that is, for c/^ with £ + j odd missing (p even). One simply puts gjj = 0 for j + £ odd and doubles hgn- in Step 2. Circular harmonic algorithms are also available for standard fan beam data. Setting x = Xjfc = £i#(/3fc), U = iAt, At = p/q in (2.9) gives q
(V*f)(xik) ~rAaA/? ^
p-l
]Pvn{Ucos(/3k_j-ae)-rsinae)g{i3j,ae)cosae,
NUMERICAL METHODS IN TOMOGRAPHY
133
where g is now the fan beam data function from (2.8).
Algorithm 5 Circular harmonic algorithm for standard fan beam geometry Data: The values {gjte = g((3j, at) : j = 0 , . . . , p - 1, £ = -q,..., given by (2.8).
q}, g being
Step 1: Precompute the numbers V£tij = vn(ti cos((3j — at) —r sinai) cosa^. Step 2: For i — 0 , . . . , q, £ = —q,..., q carry out the discrete cyclic convolutions p-l j=0
Step 3: For i = 0 , . . . , q and k = 0 , . . . ,p — 1 compute the sums q
fcft(xik) = rAa ^2 l=-q
Result: fcHfaik) is an approximation to The complexity of Algorithm 5 is again A few remarks are in order.
f(xik). O(q2p\ogp).
1. Circular harmonic algorithms compute the reconstruction on a grid in polar coordinates. Interpolation to a Cartesian grid (for instance for the purpose of display) is not critical and can be done by linear interpolation. 2. The resolution of the circular harmonic algorithms is the same as for the corresponding filtered backprojection algorithms in Section 2.1. 3. Even though circular harmonic algorithms are asymptotically a little slower (by a factor of logp) than filtered backprojection, they usually run faster due to their simplicity. This is true in particular for fan beam data because in that case the backprojection is quite time-consuming. 4. Circular harmonic algorithms tend to be more accurate than filtered backprojection because no additional approximations, such as interpolations or homogeneity approximations (in the fan beam case), are used. 5. The disadvantage of circular harmonic algorithms lies in the fact that they start with angular convolutions. This is considered impractical in radiological applications.
134
F. NATTERER
6. Fourier reconstruction We have already made use of the relation for the Radon transform in R n in Section 2.1, and of the corresponding formula for the n-dimensional ray transform
in Section 3.4. In this section we use these formulas to derive reconstruction algorithms. To fix ideas, we consider the case of the 2D Radon transform, sampled as in the standard parallel geometry. This means that g = Rf is g i v e n f o r 0 = 8j = (cos ipj, s i n ipj)T, ifj = irj/p, j = 0, . . . , p — 1 a n d s = s^ = £p/q, £ = — q,..., q, as in Section 2.1. Here, / is assumed to vanish outside |x| < p. The idea of Fourier reconstruction is very simple: do a ID Fourier transform on g with respect to the second variable for each 6. According to (6.1) this yields / in all of R 2 . Do a 2D inverse Fourier transform to obtain / . Even though this seems fairly obvious, the numerical implementation in a discrete setting is quite intricate. In fact, good Fourier algorithms have been found only quite recently. To begin with we describe the simplest possible implementation. We warn the reader that this algorithm is quite useless since it is not sufficiently accurate.
Algorithm 6 Standard Fourier reconstruction Data: The numbers {gj^ — g(Oj, S() : j = 0 , . . . ,p— 1, £ = —q,..., q}, where g is the 2D Radon transform of / . Step 1: For j = 0 , . . . ,p — 1 carry out the discrete Fourier transform
gjtr = ( 2 7 r ) V ^ J2 einr£/%,t, q e=-q
r=-q,...,q.
Step 2: For each k G Z 2 , \k\ < q, find (j,r) such that r6j is as close as possible to k and put fk = (27T)- 1 / 2 ^, r . Step 3: Do the 2D discrete inverse Fourier transform
|fc|<9
Result: fm is an approximation to
NUMERICAL METHODS IN TOMOGRAPHY
135
The algorithm is designed to reconstruct a function / with support in |re| < p which is essentially Jl-band-limited. Inequalities (2.6), (2.7) have to be satisfied. We stress again that the algorithm as it stands is not to be recommended because of poor accuracy. Better versions are described below. A few comments are in order. In Step 1 we compute an approximation 9j,r to g
s) ds,
j e^g^,
^
Under assumption (2.6) this approximation is reliable since Fourier transforms are evaluated exactly by the trapezoidal rule if the Nyquist condition, in our case (2.6), is satisfied. According to (6.1), Step 1 provides us with the values
In Step 2 we compute / on the Cartesian grid interpolation: 7T , \
f^-k)~fk,
;
,
-2
keZz,
(TT/P)Z2
by nearest neighbour
\k\
Since / vanishes outside \x\ < p, f has bandwidth p. Thus sampling of / on a 2D grid with step-size ir/p is adequate by the sampling theorem. Step 3 is the trapezoidal rule for the 2D inverse Fourier transform, properly discretized and complying with the Nyquist condition. Hence fm is an approximation to f(pm/q). Steps 1 and 3 of Algorithm 6 are justified by the sampling theorem. Thus the failure of the algorithm must be caused by the interpolation in Step 2. This is in fact the case. Of course we can replace the interpolation by a more accurate one, such as linear interpolation. However, this does not help much. In spite of its poor accuracy, Fourier reconstruction is attractive because of its favourable complexity, which is due to the fast Fourier transform (FFT). We have used FFT in the circular harmonic algorithm already, but FFT is so essential for Fourier reconstruction that we say a few words here; for a thorough treatment we refer to Nussbaumer (1982). The discrete Fourier transform of length q is defined to be q-1
Any algorithm that computes yo,
jjq-i from yo,
, yq-\ in less then
136
F. NATTERER
typically O(qlogq), operations is a called an FFT. In the circular harmonic algorithm we have used FFT just for the evaluation of (6.3). In Fourier reconstruction we employ FFT for the evaluation of Fourier integrals
for the functions / in R1 with support in (—p, p). Sampling theory tells us that / has to be discretized with step-size ir/p (/ has bandwidth p). With h — p/q the step-size for / , the trapezoidal rule provides the approximation k = -q,...,q-l.
(6.4)
The range of k is in agreement with the sampling theorem: the step-size h = p/q corresponds to the bandwidth Q = n/h = (ir/p)q; hence |fc| < q in (6.4) suffices. Of course (6.4) is a discrete Fourier transform of length 2q. Sometimes one wants to adjust the step-sizes of / and / differently. Then one has to evaluate 9-1
yk = J2e~iC'k/qyt'
k= 0,...,q-l
(6.5)
£=0
with an arbitrary real parameter c. This can be done by the chirp-zalgorithm (see Nussbaumer (1982)), again using typically O(q\ogq) operations. Assuming that we have a fast Fourier transform (FFT) algorithm that does a discrete Fourier transform of length q with O(q log q) operations (this may restrict q to 'FFT-friendly numbers'), the complexity of Algorithm 6 is as follows. Step 1 does p Fourier transforms of length 2q, requiring O(pqlogq) operations. Assuming that the interpolation in Step 2 can be done in 0(1) operations per point we get 0(q2) as the complexity of Step 2. The 2D Fourier transform in Step 3 can be done with 0(q2 log q) operations. Hence the complexity of Algorithm 6 is O((pq + q2) logq). This is much better than the filtered backprojection algorithm (Algorithm 1), which needs O(q2p) operations for a reconstruction on a q x q grid. Presently there exist two Fourier methods with satisfactory accuracy and favourable complexity. 1. The linogram algorithm (Edholm and Herman 1987) Here, interpolation in Fourier space is avoided altogether by a clever choice of the directions
NUMERICAL METHODS IN TOMOGRAPHY
137
where j , £ = —q,..., q. Doing a ID Fourier transform on g^e results in
q
e=-Q
where
we get from (6.1)
e=-q Note that this can be done efficiently by the chirp-z-algorithm. The key observation is that the points
k-K
Q 1
__ kir ( 1 \ _ k-K ( 1 ~ p \cot tpj) ~ p \j/q
form a grid lying on vertical lines with distance ir/p, being evenly spaced within each vertical line (though with different step-sizes in different lines). On such a grid we can do a ID FFT in the horizontal direction in the usual way. In the horizontal direction the step-size is not what we need for a direct application of the FFT, but the chirp-z-algorithm is still applicable. This takes care of the 2D inverse Fourier transform in | ^ | > |£i|- For |£i| < l&l w e proceed analogously with the data gj^, evaluating f((T0j) for a = kir/p cos ipj. We remark that the linogram data in Edholm and Herman (1987) is a little different from ours, namely S£ = hisimpj, sg = hi cos
2. The gridding algorithm (O'Sullivan 1985, Kaveh and Soumekh 1987, Schomberg and Timmer 1995) This algorithm works on the standard parallel data used in Algorithm 6. It does the interpolation in Step 2 of Algorithm 6 in the following way. Let w be a smooth function in R2 with w = 1 on \x\ < p which is decaying exponentially at infinity. Put fw = wf. Then,
oo
1
= (27T)" fa 0
Iw(Z-a9)f(a6)deda S
1
oo
= (2vr)-3/2 fafwfc-
aO)g(O, a) d0 da
138
F. NATTERER
by (6.1). Using a quadrature rule with nodes {ar,9j} obtain the approximation p
fw,k =
3 2
(2TT)- /
^
q
\
a
Yl ^rW ( -k - ar03 J gjr
j=Qr=-q
to fw(-k).
/
and weights Oj>, we
^
(6.7)
'
The method relies on the following assumptions.
1. w is decaying at infinity so fast that only a few terms of the r sum in (6.7) have to be retained. 2. The dependence on the angle is not critical, so that it suffices to retain only a few terms in the j sum of (6.7). If these conditions are met then fw^ of (6.3) is a good approximation to fw{^k) which can be evaluated essentially in 0(1) operations for each k. This takes care of Step 2. Of course, when using (6.7) we have to divide / by w after Step 3 to make up for the previous multiplication with w. It is needless to say that our derivation of the gridding algorithm is purely heuristic. It seems that at present there exists no convincing theoretical analysis of the gridding algorithm. 7. Conclusions In the preceding sections we have given the fundamentals of the most widely used algorithms in tomography. In many ways these fundamentals are quite different from traditional numerical analysis, the main difference being the consistent use of sampling theory and Fourier analysis. The development of algorithms is still very lively, particularly in 3D and in Fourier-based algorithms. We have dealt only with the most simple problems and with standard situations. Practical problems deviate in many ways from the simple ones we considered. Often the data is incomplete (see Louis (1980)), leading to nonuniqueness and instability. Sometimes the integral equations to be solved are not completely specified, for instance the weight function (as in emission tomography (Welch, Clack, Natterer and Gullberg 1997)) or the directions (as in electron microscopy (Wuschke 1990, Gelfand and Goncharov 1990)) are unknown. In technical applications in particular, the number of data is often so small (see, for instance, Sielschott and Derichs (1995)) that full reconstruction is impossible and special algorithms have to be developed, usually tailored to the specific application. Sometimes only certain features of the object, such as boundaries between regions of different densities, are sought (Faridani, Finch, Ritman and Smith 1997, Ramm and Katsevich 1996), calling for special algorithms.
NUMERICAL METHODS IN TOMOGRAPHY
139
At present we have an adequate understanding of the fundamentals of tomographic reconstruction algorithms. However, new applications of tomography are arising almost daily, each presenting new challenges to the numerical analyst. So I guess that research in this field will go on for ever!
REFERENCES M. Abramowitz and I. A. Stegun, eds (1970), Handbook of Mathematical Functions, Dover. Y. Censor (1981), 'Row-action methods for huge and sparse systems and their applications', SIAM Review 23, 444-466. Y. Censor, P. B. Eggermont and D. Gordon (1983), 'Strong underrelaxation in Kaczmarz's method for inconsistent systems', Numer. Math. 41, 83-92. Y. Censor and S. A. Zenios (1997), Parallel Optimization, Oxford University Press. L. T. Chang and G. T. Herman (1980), 'A scientific study of filter selection for a fan-beam convolution algorithm', SIAM J. Appl. Math. 39, 83-105. C. H. Chapman and P. W. Cary (1986), 'The circular harmonic Radon transform', Inverse Problems 2, 23-49. J. G. Colsher (1980), 'Fully three-dimensional emission tomography', Phys. Med. Biol. 25, 103-115. A. M. Cormack (1963), 'Representation of a function by its line integrals, with some radiological applications I', J. Appl. Phys. 34, 2722-2727'. A. M. Cormack (1964), 'Representation of a function by its line integrals, with some radiological applications IF, J. Appl. Phys. 35, 195-207. S. R. Deans (1983), The Radon Transform and some of its Applications, Wiley. M. Defrise, D. W. Townsend and R. Clack (1989), 'Three-dimensional image reconstruction from complete projections', Phys. Med. Biol. 34, 573-587. M. Defrise and R. Clack (1995), 'A cone-beam reconstruction algorithm using shiftvariant filtering and cone-beam backprojection', IEEE Trans. Med. Irnag. 13, 186-195. A. P. Dempster, N. M. Laird and D. B. Rubin (1977), 'Maximum likelihood from incomplete data via the EM algorithm', J. R. Statist. Soc. B 39, 1-38. P. Edholm and G. T. Herman (1987), 'Linograms in image reconstruction from projections', IEEE Trans. Med. Imag. 6, 301-307. A. Faridani, D. V. Finch, E. L. Ritman and K. T. Smith (1997), 'Local tomography IF, SIAM J. Appl. Math. 57, 1095-1127. J. Frank, ed. (1992), Electron Tomography, Plenum Press. I. M. Gelfand and A. B. Goncharov (1987), 'Recovery of a compactly supported function starting from its integrals over lines intersecting a given set of points in space', Doklady 290 (1986); English Translation in Soviet Math. Dokl. 34, 373-376. I. M. Gelfand and A. B. Goncharov (1990), 'Spatial rotational alignment of identical particles given their projections: Theory and practice', Translation of Mathematical Monographs 81, 97-122. R. Gordon, R. Bender and G. T. Herman (1970), 'Algebra reconstruction techniques (ART) for three-dimensional electron microscopy and X-ray photography', J. Theor. Biol. 29, 471-481.
140
F. NATTERER
P. Grangeat (1991), 'Mathematical framework of cone-beam reconstruction via the first derivative of the Radon transform', in Mathematical Methods in Tomography, Vol. 1497 of Lecture Notes in Mathematics (G. T. Herman, A. K. Louis and F. Natterer, eds), Springer, pp. 66-97. P. J. Green (1990), 'Bayesian reconstruction from emission tomography data using a modified EM algorithm', IEEE Trans. Med. Imag. 9, 84-93. C. Hamaker and D. C. Solmon (1978), 'The angles between the null spaces of X-rays', J. Math. Anal. Appl. 62, 1-23. E. W. Hansen (1981), 'Circular harmonic image reconstruction', Applied Optics 20, 2266-2274. W. G. Hawkins and H. H. Barrett (1986), 'A numerically stable circular harmonic reconstruction algorithm', SIAM J. Numer. Anal. 23, 873-890. G. T. Herman (1980), Image Reconstruction from Projection: The Fundamentals of Computerized Tomography, Academic Press. G. T. Herman and L. Meyer (1993), 'Algebraic reconstruction techniques can be made computationally efficient', IEEE Trans. Med. Imag. 12, 600-609. H. M. Hudson, B. F. Hutton and R. Larkin (1992), 'Accelerated EM reconstruction using ordered subsets', J. Nucl. Med. 33, 960-968. A. J. Jerry (1977), 'The Shannon sampling theorem - its various extensions and applications: a tutorial review', Proc. IEEE 65, 1565-1596. S. Kaczmarz (1937), 'Angenaherte Auflosung von Systemen linearer Gleichungen', Bulletin de I'Academie Polonaise des Sciences et des Lettres A35, 355-357. A. C. Kak and M. Slaney (1987), Principles of Computerized Tomography Imaging, IEEE Press, New York. M. Kaveh and M. Soumekh (1987), 'Computer assisted diffraction tomography', in Image Recovery: Theory and Application (H. Stark, ed.), Academic Press, pp. 369-413. H. Kruse (1989), 'Resolution of reconstruction methods in computerized tomography', SIAM J. Sci. Statist. Comput. 10, 447-474. E. Levitan and G. T. Herman (1987), 'A maximum a posteriori probability expectation maximization algorithm for image reconstruction in emission tomography', IEEE Trans. Med. Imag. 6, 185-192. R. M. Lewitt (1992), 'Alternatives to voxels for image representations in iterative reconstruction algorithms', Phys. Med. Biol. 37, 705-716. A. K. Louis (1980), 'Picture reconstruction from projections in restricted range', Math. Meth. Appl. Sci. 2, 109-220. R. Marabini, G. T. Herman and J. M. Carazo (1998), 'Fully three-dimensional reconstruction in electron microscopy', in Computational Radiology and Imaging: Therapy and Diagnostics (C. Borgers and F. Natterer, eds), Vol. 110 of IMA Volumes in Mathematics and its Applications, Springer. R. B. Marr, C. N. Chen and P. C. Lauterbur (1981), 'On two approaches to 3D reconstruction in NMR zeugmatography', in Mathematical Aspects of Computerized Tomography (G. T. Herman and F. Natterer, eds), Proceedings, Oberwolfach 1980, Springer, pp. 225-240. F. Natterer (1986), The Mathematics of Computerized Tomography, Wiley and Teubner.
NUMERICAL METHODS IN TOMOGRAPHY
141
F. Natterer (1993), 'Sampling in fan beam tomography', SI AM J. Appl. Math. 53, 358-380. F. Natterer and A. Faridani (1990), 'Basic algorithms in tomography', in Signal Processing Part II: Control Theory and Applications (F. A. Griinbaum et al., eds), Springer, pp. 321-334. S. Nilsson (1997), 'Application of fast backprojection techniques for some inverse problems of integral geometry', Linkb'ping Studies in Science and Technology, Dissertation No. 499, Department of Mathematics, Linkoping University, Linkoping, Sweden. H. J. Nussbaumer (1982), Fast Fourier Transform and Convolution Algorithm, Springer. S. S. Orlov (1976), 'Theory of three dimensional reconstruction, II: The recovery operator', Sov. Phys. Crystallogr. 20, 429-433. J. D. O'Sullivan (1985), 'A fast sine function gridding algorithm for Fourier inversion in computer tomography', IEEE Trans. Med. Imag. 4, 200-207. A. R. De Pierro (1990), 'Multiplicative interative methods in computed tomography', in Mathematical Methods in Tomography (G. T. Herman, A. K. Louis and F. Natterer, eds), Springer, pp. 167-186. J. Radon (1917), 'Uber die Bestimmung von Funktionen durch ihre Integralwerte langs gewisser Mannigfaltigkeiten', Berichte Sdchsische Akademie der Wissenschaften, Math.-Phys. KL, 69, 262-267, Leipzig. A. Ramm and A. Katsevich (1996), The Radon Transform and Local Tomography, CRC Press. H. Schomberg and J. Timmer (1995), 'The gridding method for image reconstruction bx Fourier transformation', IEEE Trans. Med. Imag. 14, 596-607. L. A. Shepp and B. F. Logan (1974), 'The Fourier reconstruction of a head section', IEEE Trans. Trans. Nucl. Sci. NS-21, 21-43. L. A. Shepp and Y. Vardi (1982), 'Maximum likelihood reconstruction for emission tomography', IEEE Trans. Med. Imag. 1, 113-122. B. Setzepfandt (1992), 'ESNM: Ein rauschunterdriickendes EM-Verfahren fur die Emissionstomographie', Dissertation, Fachbereich Mathematik, Universitat Minister. H. Sielschott and W. Derichs (1995), 'Use of collocation methods under inclusion of a priori information in acoustic pyrometry', Proc. European Concerted Action on Process Tomography, Bergen, Norway, pp. 110-117. B. W. Silverman, M. C. Jones, D. W. Nychka and J. D. Wilson (1990), 'A smoothed EM approach to indirect estimation problems, with particular reference to stereology and emission tomography', J. R. Statist. Soc. B 52, 271-324. H. K. Tuy (1983), 'An inversion formula for cone-beam reconstruction', SIAM J. Appl. Math. 43, 546-552. A. Welch, R. Clack, F. Natterer and G. T. Gullberg (1997), 'Towards accurate attenuation correction in SPECT', IEEE Trans. Med. Imag. 16, 532-541. K. Wuschke (1990), 'Die Rekonstruktion von Orientierungen aus Projektionen', Diplomarbeit, Institut fur Numerische und Instrumentelle Mathematik, Universitat Miinster.
ActaNumerica (1999), pp. 143-195
© Cambridge University Press, 1999
Approximation theory of the MLP model in neural networks Allan Pinkus Department of Mathematics, Technion - Israel Institute of Technology, Haifa 32000, Israel E-mail: [email protected]
In this survey we discuss various approximation-theoretic problems that arise in the multilayer feedforward perceptron (MLP) model in neural networks. The MLP model is one of the more popular and practical of the many neural network models. Mathematically it is also one of the simpler models. Nonetheless the mathematics of this model is not well understood, and many of these problems are approximation-theoretic in character. Most of the research we will discuss is of very recent vintage. We will report on what has been done and on various unanswered questions. We will not be presenting practical (algorithmic) methods. We will, however, be exploring the capabilities and limitations of this model. In the first two sections we present a brief introduction and overview of neural networks and the multilayer feedforward perceptron model. In Section 3 we discuss in great detail the question of density. When does this model have the theoretical ability to approximate any reasonable function arbritrarily well? In Section 4 we present conditions for simultaneously approximating a function and its derivatives. Section 5 considers the interpolation capability of this model. In Section 6 we study upper and lower bounds on the order of approximation of this model. The material presented in Sections 3-6 treats the single hidden layer MLP model. In Section 7 we discuss some of the differences that arise when considering more than one hidden layer. The lengthy list of references includes many papers not cited in the text, but relevant to the subject matter of this survey.
144
A. PlNKUS
CONTENTS 1 On neural networks 2 The MLP model 3 Density 4 Derivative approximation 5 Interpolation 6 Degree of approximation 7 Two hidden layers References
144 146 150 162 165 167 182 187
1. On neural networks It will be assumed that most readers are pure and/or applied mathematicians who are less than conversant with the theory of neural networks. As such we begin this survey with a very brief, and thus inadequate, introduction. The question 'What is a neural network?' is ill-posed. From a quick glance through the literature one quickly realizes that there is no universally accepted definition of what the theory of neural networks is, or what it should be. It is generally agreed that neural network theory is a collection of models of computation very, very loosely based on biological motivations. According to Haykin (1994, p. 2): 'A neural network is a massively parallel distributed processor that has a natural propensity for storing experiential knowledge and making it available for use. It resembles the brain in two respects: 1. Knowledge is acquired by the network through a learning process. 2. Interneuron connection strengths known as synaptic weights are used to store the knowledge.' This is a highly nonmathematical formulation. Let us try to be a bit less heuristic. Neural network models have certain common characteristics. In all these models we are given a set of inputs x = {x\,..., xn) £ W1 and some process that results in a corresponding set of outputs y = ( y i , . . . , ym) £ M.m. The basic underlying assumption of our models is that the process is given by some mathematical function, that is, y = G(x) for some function G. The function G may be very complicated. More importantly, we cannot expect to be able to compute exactly the unknown G. What we do is choose our 'candidate' F (for G) from some parametrized set of functions using a given set of examples, that is, some inputs x and associated 'correct' outputs y = G(x), which we assume will help us to choose the parameters. This is a very general framework. In fact it is
APPROXIMATION THEORY OF THE MLP
MODEL IN NEURAL NETWORKS
145
still too general. Neural network models may be considered as particular choices of classes of functions F(x, w) where the w are the parameters, together with various rules and regulations as well as specific procedures for optimizing the choice of parameters. Most people would also agree that a neural network is an input/output system with many simple processors, each having a small amount of local memory. These units are connected by communication channels carrying data. Most neural network models have some sort of training rule, that is, they learn or are trained from a set of examples. There are many, many different models of neural network. (Sarle (1998) lists over 40 different recognized neural network models, and there are a plethora of additional candidates.) Neural networks have emerged, or are emerging, as a practical technology, that is, they are being successfully applied to real world problems. Many of their applications have to do with pattern recognition, pattern classification, or function approximation, which are all based on a large set of available examples (training set). According to Bishop (1995, p. 5): 'The importance of neural networks in this context is that they offer a very powerful and very general framework for representing non-linear mappings from several input variables to several output variables, where the form of the mapping is governed by a number of adjustable parameters.' The nonlinearity of the neural network models presents advantages and disadvantages. The price (and there always is a cost) is that the procedure for determining the values of the parameters is now a problem in nonlinear optimization which tends to be computationally intensive and complicated. The problem of finding efficient algorithms is of vital importance and the true utility of any model crucially depends upon its efficiency. (However, this is not an issue we will consider in this survey.) The theory of neural nets has become increasing popular in the fields of computer science, statistics, engineering (especially electrical engineering), physics, and many more directly applicable areas. There are now four major journals in the field, as well as numerous more minor journals. These leading journals are IEEE Transactions on Neural Networks, Neural Computation, Neural Networks and Neurocomputing. Similarly, there are now dozens of textbooks on the theory. In the references of this paper are listed only five books, namely Haykin (1994), Bishop (1995), Ripley (1996), Devroye, Gyorfi and Lugosi (1996), and Ellacott and Bos (1996), all of which have appeared in the last five years. The IEEE has generally sponsored (since 1987) two annual conferences on neural networks. Their proceedings run to over 2000 pages and each contains a few hundred articles and abstracts. A quick search of Mathematical Reviews (MathSciNet) turned up a mere 1800 entries when the phrase 'neural network' was entered (and you should realize that much of the neural network literature, including all the above-mentioned journals, is
146
A. PlNKUS
not written for or by mathematicians and is not reviewed by Mathematical Reviews). In other words, this is an explosively active research area and deserves the attention of the readership of Ada Numerica. Initially there was a definite lack of mathematical sophistication to the theory. It tended to be more a collection of ad hoc techniques with debatable justifications. To a pure mathematician, such as the author, reading through some of the early literature in the field was an alien experience. In recent years the professionals (especially statisticians) have established a more organized framework for the theory. The reader who would like to acquire a more balanced and enlarged view of the theory of neural networks is urged to peruse a few of the abovementioned texts. An additional excellent source of information about neural networks and its literature is the 'frequently asked questions' (FAQs) of the Usenet newsgroup comp.ai.neural-nets: see Sarle (1998). This survey is not about neural networks per se, but about the approximation theory of the multilayer feedforward perceptron (MLP) model in neural networks. We will consider certain mathematical, rather than computational or statistical, problems associated with this widely used neural net model. More explicitly, we shall concern ourselves with problems of density (when the models have at least the theoretical capability of providing good approximations), degree of approximation (the extent to which they can approximate, as a function of the number of parameters), interpolation, and related issues. Theoretical results, such as those we will survey, do not usually have direct applications. In fact they are often far removed from practical considerations. Rather they are meant to tell us what is possible and, sometimes equally importantly, what is not. They are also meant to explain why certain things can or cannot occur, by highlighting their salient characteristics, and this can be very useful. As such we have tried to provide proofs of many of the results surveyed. The 1994 issue of Ada Numerica contained a detailed survey: 'Aspects of the numerical analysis of neural networks' by S. W. Ellacott (1994). Only five years have since elapsed, but the editors have again opted to solicit a survey (this time albeit with a slightly altered emphasis) related to neural networks. This is not unwarranted. While almost half of that survey was devoted to approximation-theoretic results in neural networks, almost every one of those results has been superseded. It is to be hoped that the same will be said about this paper five years hence. 2. The MLP model One of the more conceptually attractive of the neural network models is the multilayer feedforward perceptron (MLP) model. In its most basic form this is a model consisting of a finite number of successive layers. Each layer
APPROXIMATION THEORY OF THE MLP MODEL IN NEURAL NETWORKS
147
consists of a finite number of units (often called neurons). Each unit of each layer is connected to each unit of the subsequent (and thus previous) layer. These connections are generally called links or synapses. Information flows from one layer to the subsequent layer (thus the term feedforward). The first layer, called the input layer, consists of the input. There are then intermediate layers, called hidden layers. The resulting output is obtained in the last layer, not surprisingly called the output layer. The rules and regulations governing this model are the following. 1. The input layer has as output of its jth unit the (input) value XQJ. 2. The kth unit of the ith layer receives the output Xij from each jth unit of the (i — l)st layer. The values x^ are then multiplied by some constants (called weights) w^ and these products are summed. 3. A shift 6ik (called a threshold or bias) and then a fixed mapping a (called an activation function) are applied to the above sum and the resulting value represents the output Xi+\^ of this kth. unit of the ith layer, that is,
A priori one typically fixes, for whatever reasons, the activation function, the number of layers and the number of units in each layer. The next step is to choose, in some way, the values of the weights w^ and thresholds Oik- These latter values are generally chosen so that the model behaves well on some given set of inputs and associated outputs. (These are called the training set.) The process of determining the weights and thresholds is called learning or training. In the multilayer feedforward perceptron model, the basic learning algorithm is called backpropagation. Backpropagation is a gradient descent method. It is extremely important in this model and in neural network theory. We shall not detail this algorithm nor the numerous numerical difficulties involved. We will classify multilayer feedforward perceptron models not by their number of layers, but by their number of hidden layers, that is, the number of layers excluding the input and output layer. As is evident, neural network theory has its own terminology. Unfortunately it is also true that this terminology is not always consistent or logical. For example, the term multilayer perceptron is generically applied to the above model with at least one hidden layer. On the other hand the word perceptron was coined by F. Rosenblatt for the no hidden layer model with the specific activation function given by the Heaviside function
^ ^ { ,
t
148
A. PlNKUS
Thus
(2.1)
for some choice of a, Wjk and 9k, j — 1, . , n, k = 1,..., m. This no hidden layer perceptron network is generally no longer used, except in problems of linear separation. There is a simple mathematical rationale for this. A function of the form (2.1) is constant along certain parallel hyperplanes and thus is limited in what it can do. For example, assume m = 1 (one output), n = 2, and a is any increasing function. If the input is x = {x\, x^) and the output is y, then y = a (wixi + W2X2 — 9).
Assume we are given four inputs x 1 , x 2 , x 3 and x 4 , no three of which lie on a straight line. Then, as is easily seen, there are output values which cannot be interpolated or approximated well. For example, assume x 1 and x 2 lie on opposite sides of the line through x 3 and x 4 . Set y\ = 2/2 — 1> 2/3 = 2/4 = 0. Then we cannot solve yt = a (w\x\ + ui2X2 - 9) ,
i = 1,..., 4,
for any choice of wi,W2 and 9. In fact the difference between at least one of the yi and the associated output will be at least 1/2. This is totally unacceptable if one wishes to build a network that can approximate well any reasonable function, or classify points according to different criteria. With the Heaviside activation function and no hidden layer, two sets of points can be separated {classified) by this model if and only if they are linearly separable. To do more, hidden layers are necessary. The problem of being able to arbitrarily separate iV generic points in R" into two sets by use of a one hidden layer perceptron model with Heaviside activation function (and one output) was considered by Baum (1988). He showed that the problem is solvable if one uses at least [N/n] units in the hidden layer. This model can be used with both continuously valued and discrete inputs. Baum considers the latter; we will consider the former. We will prove that hidden layers and nonlinearity (or, to be more precise, nonpolynomiality) of the activation function make for models that have the capability of approximating (and interpolating) arbitrarily well.
APPROXIMATION THEORY OF THE MLP
MODEL IN NEURAL NETWORKS
149
The model presented above permits generalization, and this can and often is done in a number of ways. The activation function may change from layer to layer (or from unit to unit). We can replace the simple linearity at each unit (i.e., ^2j WijkXij) by some more complicated function of the x,j. The architecture may be altered to allow for different iinks between units of different layers (and perhaps also of the same layer). These are just a few of the many, many possible generalizations. As the mathematical analysis of the multilayer perceptron model is far from being well understood, we will consider only this basic model, with minor modifications. For example, while it is usual in the multilayer perceptron model to apply the same activation function at each hidden layer, it is often the case, and we will follow this convention here, that there be no activation function or threshold applied at the output layer. There may be various reasons for this, from a practical point of view, depending on the problem considered. From a mathematical perspective, applying an activation function to the output layer, especially if the activation function is bounded, is unnecessarily restrictive. Another simplification we will make is to consider models with only one output (unless otherwise noted). This is no real restriction and will tremendously simplify our notation. With the above modifications (no activation function or threshold applied to the output layer and only one output), we write the output y of a single hidden layer perceptron model with r units in the hidden layer and input "5C — (7*1
"T*
J
flS
1=1
V 3=1
/
Here Wij is the weight between the jth unit of the input and the zth unit in the hidden layer, Q{ is the threshold at the ith unit of the hidden layer, and Ci is the weight between the ith unit of the hidden layer and the output. We will generally write this more succinctly as y =
where w x = X)?=i wj£j is the standard inner product. We can also express the output y of a two hidden layer perceptron model with r units in the first hidden layer, s units in the second hidden layer, and input x = (xi,..., xn). It is y = Y^ dk<* ( Yl cik°(™ik
x
" eik) " 7fc I
Jfc=l V i=l / T h a t is, we iterate t h e one hidden layer model. W e will n o t write o u t t h e exact formula for t h e o u t p u t of this model with more hidden layers.
150
A. PlNKUS
Some common choices for activation functions a (all may be found in the literature) are the following. 1. T h e Heaviside function mentioned above, t h a t is, a(t) — X [ o ) ) This is sometimes referred to in the neural network literature as the
threshold function. 2. The logistic sigmoid given by
3. a(t) — tanh(£/2), which is, up to a constant, just a shift of the logistic sigmoid. 4. The piecewise linear function of the form
f a(t) = I (t
ll, 5. T h e Gaussian
\
sigmoid given by
6. The arctan sigmoid given by a(t) = — arctan(t) + - . 7T
2
The logistic sigmoid is often used because it is well suited to the demands of backpropagation. It is a C2 function whose derivative is easily calculated. Note that all the above functions are bounded (generally increasing from 0 to 1). The term sigmoidal is used for the class of activation functions satisfying lim^-co a(t) = 0 and hmt_+oo cr(t) = 1. However, there is a certain lack of consistency in the terminology. Some authors also demand that a be continuous and/or monotonic (or even strictly monotonic) on all of R. Others make no such demands. We shall try to be explicit in what we mean when we use the term. 3. Density In this section we will consider density questions associated with the single hidden layer perceptron model. That is, we consider the set M(a) = span{cr(w x - 6) : « e i , w eM"}, and ask the following question. For which a is it true that, for any / 6 C(Rn), any compact subset K of Rn, and any e > 0, there exists age M{cr) such that
APPROXIMATION THEORY OF THE MLP MODEL IN NEURAL NETWORKS
151
In other words, when do we have density oi the linear space M{a) in the space C(R n ), in the topology of uniform convergence on compacta (compact sets)? In fact we shall also restrict the permissible set of weights w and thresholds 6. To set terminology, we shall say that a has the density property if M.(a) is dense in C(Rn) in the above topology. It should be noted that this norm is very strong. If /i is any nonnegative finite Borel measure, with support in some compact set K, then C(K) is dense in LJp{K,^i) for any 1 < p < oo. Thus the results of this section extend also to these spaces. In the renaissance of neural net theory that started in the mid-1980s, it was clearly understood that this density question, whether for the single hidden or any number of hidden layer perceptron model, was of fundamental importance to the theory. Density is the theoretical ability to approximate well. Density does not imply a good, efficient scheme for approximation. However, a lack of density means that it is impossible to approximate a large class of functions, and this effectively precludes any scheme based thereon from being in the least useful. This is what killed off the efficacy of the no hidden layer model. Nonetheless it should be understood that density does not imply that one can approximate well to every function from -Oi)
: Ci,6i 6 R , w ' 6
i=l
for some fixed r. On the contrary, there is generally a lower bound (for any reasonable set of functions) on the degree to which one can approximate using A4r(a), independent of the choice of a. (We consider this at some length in Section 6.) This is to be expected and is natural. It is, in a sense, similar to the situation with approximation by polynomials. Polynomials are dense in C[0,1] but polynomials of any fixed degree are rather sparse. (Note also that the sets Air(a) are not subspaces. However, they do have the important property that M.r(o~) + M.s(o~) = A4r+S(a).) Hecht-Nielsen (1987) was perhaps the first to consider the density problem for the single hidden layer perceptron model. He premised his observations on work based on the Kolmogorov Superposition Theorem (see Section 7). While many researchers subsequently questioned the exact relevance of this result to the above model, it is certainly true that this paper very much stimulated interest in this problem. In one of the first proceedings of the IEEE on