Next Article in Journal
Time to Critical Condition in Emergency Services
Next Article in Special Issue
Multi-Physics Inverse Homogenization for the Design of Innovative Cellular Materials: Application to Thermo-Elastic Problems
Previous Article in Journal
Modelling Forest Fires Using Complex Networks
Previous Article in Special Issue
Towards Building the OP-Mapped WENO Schemes: A General Methodology
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Modified Representations for the Close Evaluation Problem

Department of Applied Mathematics, University of California Merced, 5200 North Lake Road, Merced, CA 95343, USA
Math. Comput. Appl. 2021, 26(4), 69; https://doi.org/10.3390/mca26040069
Submission received: 28 June 2021 / Revised: 23 September 2021 / Accepted: 23 September 2021 / Published: 28 September 2021
(This article belongs to the Special Issue Computational Methods for Coupled Problems in Science and Engineering)

Abstract

:
When using boundary integral equation methods, we represent solutions of a linear partial differential equation as layer potentials. It is well-known that the approximation of layer potentials using quadrature rules suffer from poor resolution when evaluated closed to (but not on) the boundary. To address this challenge, we provide modified representations of the problem’s solution. Similar to Gauss’s law used to modify Laplace’s double-layer potential, we use modified representations of Laplace’s single-layer potential and Helmholtz layer potentials that avoid the close evaluation problem. Some techniques have been developed in the context of the representation formula or using interpolation techniques. We provide alternative modified representations of the layer potentials directly (or when only one density is at stake). Several numerical examples illustrate the efficiency of the technique in two and three dimensions.

1. Introduction

One can represent the solution of partial differential boundary-value problems using boundary integral equation methods, which involves integral operators defined on the domain’s boundary called layer potentials. Using layer potentials, the solution can be evaluated anywhere in the domain without restriction to a particular mesh. For that reason boundary integral equations have found broad applications, including in fluid mechanics, electromagnetics, and plasmonics [1,2,3,4,5,6,7,8].
The close evaluation problem refers to the nonuniform error produced by high-order quadrature rules used to discretize layer potentials. This phenomenon arises when computing the solution close to the boundary (i.e., at close evaluation points). It is well understood that this growth in error is due to the fact that the integrands of the layer potentials become increasingly peaked as the evaluation point approaches the boundary (nearly singular behavior), leading in limited cases to an O ( 1 ) error [9].
There exists a plethora of manners to address the close evaluation problem: using extraction methods based on Taylor series expansions [10], regularizing the nearly singular behavior of the integrand and adding corrections [11,12], compensating quadrature rules via interpolation [13], using Quadrature By Expansion related techniques (QBX) [9,14,15,16,17,18,19], using adaptive methods [20], using singularity subtraction techniques and interpolation [21,22,23], or using asymptotic approximations [24,25,26], to name a few. Most techniques rely on either providing corrections to the kernel (related to the fundamental solution of the PDE at stake), or to the density (solution of the boundary integral equation).
In the latter category, it is well-known that Laplace’s double-layer potential can be straightforwardly modified via a density subtraction technique based on Gauss’ law (e.g., [27]). This modification alleviates the close evaluation problem, and provides a better approximation for any given numerical method. However this identity technique is specific to Laplace’s double-potential. Other identities have been derived for other problems, such as for the elastostatic problem [28].
In this paper, we provide modified representations of layer potentials, and we give guidance to address the close evaluation problem in two and three dimensions. In particular, we modify Laplace’s single-layer potential (representing the solution of the exterior Neumann Laplace problem) and Helmholtz layer potentials (in the context of a sound-soft scattering problem). With some given quadrature rule, the resulted modified representations allow us to obtain better approximations compared to standard representations. The proposed modifications are based on subtracting specific solutions (or auxiliary functions) of the PDE at stake. The use of auxiliary functions have been developed in the context of Boundary Regularized Integral Equation Formulation (BRIEF) [29,30,31] to regularize the representation formula on the boundary, or in the context of density interpolation techniques [21,23,32] to regularize layer potentials (generalization of density subtractions). Those techniques commonly consider multiple auxiliary functions, and may require to solve additional problems to find such functions. The proposed work concentrates on regularizing nearly singular integrals using explicitly one analytic auxiliary function, and when representing the solution with layer potentials involving only one density (no representation formula). We provide several examples of auxiliary functions (and compare them), and provide guidelines to find them. The proposed modified representations are simple and easy to implement, and allow one to straightforwardly gain accuracy in evaluating the solution, especially when computational resources are limited. This work provides valuable insights into Laplace and Helmholtz layer potentials. Additionally this can also be applied to modify boundary integral equations to avoid weakly singular integrals.
The paper is organized as follows: Section 2 presents some context and motivation for the proposed modified representations. Section 3 establishes the modified representations and general guidelines to find appropriate auxiliary functions. Section 4 and Section 5 illustrate the efficiency of the modified representations for Laplace and Helmholtz in two and three dimensions, off and on boundary. Finally, Section 6 presents our concluding remarks, Appendices Appendix A and Appendix B provide a brief summary of the Nyström methods used in two and three dimensions, and Appendix C details some proofs for Section 3.

2. Motivation for Modified Representations

Consider a domain  D R d , d = 2 , 3 , that is a bounded simply connected open set with smooth boundary (of class C 2 ), and a linear elliptic partial differential equation of the form L u = 0 . It is common to represent the solution v of that PDE using the so-called representation formula (e.g., Theorem 6.5 in [33], Theorem 3.1 in [34]). In particular for v satisfying L v = 0 in D, we have the following identities:
D n y G ( x , y ) v ( y ) d σ y D G ( x , y ) n y v ( y ) d σ y = v ( x ) x D , 1 2 v ( x ) x D , 0 x E : = R d \ D ¯ ,
where G denotes the fundamental solution of considered PDE, n y is the unit outward normal of D at y, and d σ y is the integration surface element. For instance, (1) holds true for L : = Δ and L : = Δ + k 2 , the Laplace and the Helmholtz equation, respectively. The goal of this paper is to use (1) with well-chosen v to modify the representation of the solution of boundary value problems associated with L . Let us illustrate the strategy with, for example, the Exterior Neumann Laplace problem:
Find   u C 2 ( E ) C 1 ( E ¯ : = R d \ D ) such   that : Δ u = 0 in E , n u = g on D , lim | x | u ( x ) = o ( 1 ) ,
with some smooth data g (with null average). The solution of Problem (2) can be represented using Green’s formula [34,35]:
u ( x ) = D n y G ( x , y ) u ( y ) d σ y D G ( x , y ) n y u ( y ) d σ y , x E , = D n y G ( x , y ) u ( y ) d σ y D G ( x , y ) g ( y ) d σ y , x E ,
where
G ( x , y ) = 1 2 π log | x y | for   d = 2 , 1 4 π 1 | x y | for   d = 3 ,
and the trace on the boundary satisfies the boundary integral equation of the second kind:
1 2 u ( x * ) D n y G ( x * , y ) u ( y ) d σ y = D G ( x * , y ) g ( y ) d σ y , x * D .
The fundamental solution G is singular when y = x * . For x R d \ D , assume we can write x = x * ± n x * with n x * the unit outward normal at x * , and > 0 the distance from the boundary. Then G is nearly singular at y = x * when | x y | = 1 (i.e., when x is close to the boundary). A layer potential is said to be a weakly singular integral (resp. a nearly singular integral) when its kernel (G or n G in the cases above) is singular at y = x * (resp. nearly singular at y = x * ). There exist high-order quadrature rules to approximate weakly singular integrals with very high accuracy (e.g., [36,37,38,39]). However, high accuracy is lost for nearly singular integrals: this is the so-called close evaluation problem. Assuming we have solved (5), we can modify (3) using (1) to address the close evaluation problem. Taking the difference we obtain
u ( x ) = D n y G ( x , y ) [ u ( y ) v ( y ) ] d σ y D G ( x , y ) [ g ( y ) n y v ( y ) ] d σ y , x E .
If one finds v such that v ( x * ) = u ( x * ) and n x * v ( x * ) = g ( x * ) , where x * D denotes the closest boundary point of the evaluation point x ( x = x * + n x * ), then (6) does not suffer from the close evaluation problem.
Similarly, one can represent the solution of Problem (2) using a single-density representation given by the single-layer potential:
u ( x ) = D G ( x , y ) ρ ( y ) d σ y , x D ,
with ρ a continuous density solution of the boundary integral equation of the second-kind:
1 2 ρ ( x * ) + D n x * G ( x * , y ) ρ ( y ) d σ y = g ( x * ) , x * D .
Assuming we have solved (8) for ρ , subtracting (1) from (7) we obtain
u ( x ) = D G ( x , y ) [ ρ ( y ) n y v ( y ) ] d σ y + D n y G ( x , y ) v ( y ) d σ y , x E .
If one finds v such that v ( x * ) = 0 and n x * v ( x * ) = ρ ( x * ) , then (9) does not suffer from the close evaluation problem.
Representations (6) and (9) are attractive representations, and several works have provided guidelines on how to build appropriate solutions v . For (6) one can use Taylor-like functions v ( x ) = u ( x * ) g ˜ ( x ) + n x * u ( x * ) f ˜ ( x ) , with g ˜ and f ˜ solutions of some Laplace boundary value problems [29,30,31]. This technique has been first developed in the context of Boundary Regularized Integral Equation Formulation (BRIEF) (namely to solve (5) using the same subtraction technique on boundary) and applied to evaluate the solution near the boundary. For (9) one can use density interpolation methods [21,23,32]: v = v ( x * , y ) = j = 0 J c j ( y ) H j ( x * y ) where ( H j ) j satisfy the PDE (in the above case ( H j ) j are harmonic functions). In both methods the chosen auxiliary functions v necessarily depend on the trace u (and/or normal trace n u ), or the density ρ at the closest evaluation point. Furthermore they require to satisfy at least two conditions (two boundary value problems or two boundary conditions).
In this paper, we provide another construction of modified representations for single-density representations of Laplace and Helmholtz boundary value problems. The construction relies on auxiliary functions v that are independent of the density (solution of the boundary integral equation), and requires fewer constraints in the context of (7). As a consequence, our approach provides more freedom in choosing v . The proposed modified representations are also simple to implement and do not add significant computational costs. In what follows we provide modified representations for Laplace and Helmholtz in 2D and 3D, and provide several examples to illustrate the efficiency of the method.

3. Modified Representations

We present modified representations for single-density representations of Laplace and Helmholtz boundary value problems. In particular, we consider the interior Dirichlet Laplace problem (where one can represent the solution using the double-layer potential), the exterior Neuman Laplace problem (2) (using the single-layer potential (7)), and the sound-soft scattering problem.

3.1. Modified Representation for the Laplace Double-Layer Potential

The interior Dirichlet problem for Laplace consists of finding u C 2 ( D ) C 1 ( D ¯ ) such that
Δ u = 0 in D , u = f on D ,
with some smooth data f. The solution of Problem (10) can be represented as a double-layer potential [34,35]:
u ( x ) = D n y G ( x , y ) μ ( y ) d σ y , x D ,
with G defined in (4), and μ a continuous density solution of the boundary integral equation:
1 2 μ ( x * ) + D n y G ( x * , y ) μ ( y ) d σ y = f ( x * ) , x * D .
We now make use of (1) to modify (11). One can show the following (see Appendix C.1 for details):
Proposition 1.
Given x = x * n x * D with x * D , let v be a solution of Laplace’s equation in D R d , d = 2 , 3 , such that
v ( x * ) = 1 , n x * v ( x * ) = 0 .
The solution of the exterior Dirichlet Laplace problem (11) admits the modified representation:
u ( x ) = D n y G ( x , y ) μ ( y ) 1 v ( y ) d σ y + D n y G ( x , y ) μ ( y ) μ ( x * ) v ( y ) d σ y μ ( x * ) v ( x * ) + μ ( x * ) D G ( x , y ) n y v ( y ) n x * v ( x * ) d σ y μ ( x * ) n x * v ( x * ) , x D .
The modified representation (14) has smoother integrands than (11), and it addresses the close evaluation problem, in the sense that nearly singular terms vanish as y x * .
From Proposition 1 we can now build auxiliary functions v independent of μ , and there exist plenty of candidates: constant, linear, based on Green’s function ( v ( y ) = G ( y , x 0 ) with x 0 E ), quadratic ( v ( y 1 , y 2 ) = 1 + ( y 1 x 1 * ) ( y 2 x 2 * ) , v ( y 1 , y 2 ) = 1 + ( y 1 x 1 * ) 2 ( y 2 x 2 * ) 2 ), v ( y 1 , y 2 , y 3 ) = e y 3 ( sin y 1 + sin y 2 ) , etc. The solution v 1 naturally satisfies the conditions (13), and the modified representation (14) boils down to
u ( x ) = D n y G ( x , y ) [ μ ( y ) μ ( x * ) ] d σ y μ ( x * ) , x D .
The modified representation (15) is well-known and widely used (e.g., [9,25,27]), it is the simplest representation that naturally addresses the close evaluation problem. Thus, we do not provide numerical results for this case. Rather, we concentrate on other layer potentials.

3.2. Modified Representation for the Laplace Single-Layer Potential

Going back to Problem (2), one can show the following (see Appendix C.2 for details):
Proposition 2.
Given x = x * + n x * E with x * D , let v be a solution of Laplace’s equation in D R d , d = 2 , 3 , such that
n x * v ( x * ) = 1 .
The solution of the exterior Neumann Laplace problem (2) admits the modified representation:
u ( x ) = D G ( x , y ) ρ ( y ) 1 n y v ( y ) d σ y + D G ( x , y ) ρ ( y ) ρ ( x * ) n y v ( y ) d σ y + ρ ( x * ) D n y G ( x , y ) ρ ( y ) v ( y ) v ( x * ) d σ y , x E .
The modified representation (17) has smoother integrands than (7).
Contrary to auxiliary functions provided in Taylor-like methods and density interpolation methods (discussed in Section 2), auxiliary functions v do not depend on ρ and rely on only one constraint (16). Therefore, there is a lot of freedom in choosing v : given u a solution of Laplace’s equation, then one chooses v : = u n x * u ( x * ) (as long as n x * u ( x * ) 0 ). Candidates may then include:
  • The linear function v ( y ) = n x * · y ;
  • The function v ( y ) = 2 d 1 π G ( y , x * + n x * ) based on Green’s function;
  • The quadratic product function v ( y ) = ( y 1 x 0 , 1 ) ( y 2 x 0 , 2 ) n x * , 1 ( x 2 * x 0 , 2 ) + n x * , 2 ( x 1 * x 0 , 1 ) , x 0 D ;
  • The quadratic difference function v ( y ) = 1 2 ( y 1 x 0 , 1 ) 2 ( y 2 x 0 , 2 ) 2 n x * , 1 ( x 1 * x 0 , 1 ) n x * , 2 ( x 2 * x 0 , 2 ) , x 0 D .
Note that the above candidates are valid in R d , one can also consider any of the quadratic functions above in R 3 as a function of ( y i , y j ) , i , j = 1 , 2 , 3 , j i . In Section 4, we will test (17) using several candidates v and make comparisons. The modified representation (17) adds two terms to compute compared to (7), it is the price to pay to gain accuracy at close evaluation points. We will make comparative tests to quantify this aspect.

3.3. Modified Representation for the Helmholtz Double- and Single-Layer Potentials

We consider in this case the sound-soft scattering problem:
Find u C 2 ( E ) C 1 ( E ¯ ) such that : Δ u + k 2 u = 0 in E , u = f on D , lim R | y | = R | n u i k u | 2 d σ y = 0 ,
with some smooth data f associated with the wavenumber k. Above, the last condition represents the Sommerfeld radiation condition. The solution of Problem (18) can be represented as a combination of double- and single-layer potentials [40]:
u ( x ) = D n y G H ( x , y ) i k G H ( x , y ) μ ( y ) d σ y , x E ,
with G H defined by
G H ( x , y ) = i 4 H 0 ( 1 ) ( k | x y | ) , for   d = 2 , 1 4 π e i k | x y | | x y | , for   d = 3 ,
with H 0 ( 1 ) ( · ) the Hankel function of the first kind, and μ a continuous density satisfying:
1 2 μ ( x * ) + D n y G H ( x * , y ) i k G H ( x * , y ) μ ( y ) d σ y = f ( x * ) , x * D .
One obtain the following:
Proposition 3.
Given x = x * + n x * E with x * D , let v be a solution of Helmholtz equation in D R d , d = 2 , 3 , such that
v ( x * ) = 1 , n x * v ( x * ) = i k .
Then the solution of the sound-soft scattering problem (18) admits the modified representation:
u ( x ) = D n y G H ( x , y ) n y v ( y ) G H ( x , y ) μ ( y ) μ ( x * ) d σ y + D G H ( x , y ) n y v ( y ) i k μ ( y ) d σ y + μ ( x * ) D n y G H ( x , y ) 1 v ( y ) d σ y , x E .
The modified representation (23) has smoother integrands than (19).
The proof can be found in see Appendix C.3. One can check in particular that plane waves v ( y ) = e i k n x * · ( y x * ) do satisfy (22), whereas Green-based functions like v ( y ) = G H ( y , x * + n x * ) (up to some constant) cannot. We will use (23) with plane waves for the numerical examples.

4. Numerical Examples

The accuracy in approximating (11)–(15), (7)–(17), (19)–(23), respectively, relies on the resolution of the boundary integral Equations (12), (8) and (21), respectively. In what follows we assume that the boundary integral equations are sufficiently resolved. Given the density’s resolution, we compare the representations and their modified ones through several examples. All the codes can be found in [41].

4.1. Exterior Neumann Laplace Problem

4.1.1. Example 1: Exterior Laplace in Two Dimensions

Since D is a closed smooth boundary, we use the Periodic Trapezoid Rule (PTR) to approximate (7) and (17), where we will use several v according to Proposition 2. We consider an exact solution of Problem (2):
u exact ( x ) = u exact ( x 1 , x 2 ) = x 1 x 0 , 1 | x x 0 | 2 , x 0 = ( x 0 , 1 , x 0 , 2 ) D ,
which consists of choosing g ( x * ) = n x * u exact ( x * ) , for any x * D .
All simulations are done outside of a kite-shaped domain using the Periodic Trapezoid Rule with N = 128 quadrature points for the following representations:
  • V0: standard representation (7);
  • V1: modified representation (17) with the linear function v 1 ( y ) = n x * · y ;
  • V2: modified representation (17) with the Green’s function v 2 ( y ) = 2 π G ( y , x * + n * ) ;
  • V3: modified representation (17) with the quadratic function v 3 ( y ) = 1 2 y 1 2 y 2 2 n x * , 1 x 1 * n x * , 2 x 2 * ;
  • V4: modified representation (17) with the quadratic function
    v 4 ( y ) = ( y 1 5 ) ( y 2 5 ) n x * , 1 ( x 2 * 5 ) + n x * , 2 ( x 1 * 5 ) .
We solved (8) using the Nyström method based on the Periodic Trapezoid Rule (using Matlab classic backslash). The accuracy of all methods is limited by the accuracy of the resolution for ρ (in particular when considering moderate N). This can be assessed by looking the density’s Fourier coefficients decay: in this case the coefficients decay is bounded by 10 5 for N = 128 . The results in Figure 1 and Figure 2 show that given ρ resolved, the approximation of the modified representations provide better results overall. Far from the boundary, all methods approximate well the solution. As the evaluation point gets closer to the boundary ( 0 ), V0 approximated by PTR suffers from the close evaluation problem and the error increases (see [9]). Note that the single-layer potential commonly suffers less from this phenomenon than the double-layer potential (e.g., [24]). Using the modified representations (V1–V4) allows to reduce the error by a couple of orders of magnitude for the close evaluation problem. All modified representations provide a satisfactory correction overall. We use a naïve (straightforward) implementation of (7) and (17) in Matlab, computed on a Mac mini SSD 512Go. We provide run times in Table 1 for various number of quadrature points. Run times do not count the time to compute the boundary integral equation for ρ (being the same for all methods).
Representation V0 is obviously cheaper (less terms to compute) than V1–V4, and V1 is cheaper than V2–V4 due to simpler terms: there are less operations to conduct to compute v 1 ( y ) than the other provided auxiliary functions.
To better compare the methods, Figure 3 represents log plots of the maximum error with respect to the number of quadrature points N and for various distances from point A (indicated in Figure 1). The results show that modified representations allow to gain a couple of order of magnitude even for moderate N ( N < 100 ). Additionally, the error using V0 decreases linearly with the number of quadrature points whereas it is cubic using modified representations. While there is no significant difference between the considered modified representations V1–V4, one may consider run times (and simplicity of auxiliary function v ) to discuss competitiveness. Based on the above results, overall representation V1 seems to be the best choice for the best computational cost-accuracy trade-off. Let us emphasize that the focus of this paper is to highlight the efficacy and simplicity of the proposed modified representations, given a quadrature rule. Our results show that modified representations allow to naturally gain a couple of orders of magnitude in the error, addressing the close evaluation problem even for moderate computational resources. Additionally, the proposed auxiliary functions are independent of the density ρ . In the next section we investigate the efficacy of (17) in three dimensions.

4.1.2. Example 2: Exterior Laplace in Three Dimensions

Given a domain  D R 3 with smooth boundary, we assume D to be an analytic, closed, and oriented surface that can be parameterized by y = y ( s , t ) for s [ 0 , π ] and t [ π , π ] . Then one can write (7) as
u ( x ) = π π 0 π G ( x , y ( s , t ) ) J ( s , t ) ρ ( y ( s , t ) ) sin ( s ) d s d t ,
with J ( s , t ) = | y s ( s , t ) × y t ( s , t ) | / sin ( s ) the Jacobian. We now work with a surface integral defined on a sphere, and we use a three-step method (see [26] for details) to approximate (7) and (17). This method corresponds to a modification of the product Gaussian quadrature rule (PGQ) [42], and it has been shown to be very effective for computing layer potentials in three dimensions at close evaluation points compared to other quadrature methods for nearly singular integrals [26]. It relies on (i) rotating the local coordinate system so that x * corresponds to the north pole, (ii) use Periodic Trapezoid Rule with 2 N quadrature points to approximate the integral with respect to t, (iii) use Gauss–Legendre with N quadrature points mapped to ( 0 , π ) (and not ( 1 , 1 ) ) to approximate the integral with respect to s. This leads to the approximation:
u ( x ) π 2 2 N i = 1 N j = 1 2 N w i sin ( s i ) F ( s i , t j ) ,
with F ( s i , t j ) = G ( x , y ( s i , t j ) ) J ( s i , t j ) ρ ( y ( s i , t j ) ) , t j = π + π ( j 1 ) / N , j = 1 , , 2 N , s i = π ( z i + 1 ) / 2 , i = 1 , , N with z i ( 1 , 1 ) the N-point Gauss–Legendre quadrature rule abscissas with corresponding weights w i for i = 1 , , N . One proceeds similarly for (17). We consider an exact solution of Problem (2):
u exact ( x ) = 1 | x x 0 | , x 0 D ,
which consists of choosing g ( x * ) = n x * u exact ( x * ) , for any x * D . The efficacy of the three-step method for various geometries (including effects of curvature) is presented in [26]. Naively implementing this method has the same computational cost as the PGQ method. We do not focus in this paper on fast implementations but do believe that it is possible to speed up this method using ideas that have been previously developed including the fast multipole method [20]. Then for simplicity, results will be computed on a sphere where the resolution of ρ does not require a lot of quadrature points. One can apply the technique for arbitrary closed smooth surfaces, but might be limited by the resolution of (8). All simulations are done outside of a sphere of radius 2 using the three-step method with N = 16 for the following representations:
  • V0: standard representation (7);
  • V1: modified representation (17) with the linear function v 1 ( y ) = n x * · y ;
  • V2: modified representation (17) with the Green’s function v 2 ( y ) = 4 π G ( y , x * + n * ) ;
  • V3: modified representation (17) with the quadratic function v 3 ( y ) = 1 2 y 1 2 y 2 2 n x * , 1 x 1 * n x * , 2 x 2 * ;
  • V4: modified representation (17) with the quadratic product function
    v 4 ( y ) = ( y 1 5 ) ( y 2 5 ) n x * , 1 ( x 2 * 5 ) + n x * , 2 ( x 1 * 5 ) .
Note that there are other quadratic polynomials v (as a function of 2 variables instead of 3, see [22] where those polynomials serve as basis for interpolation method). We make here the choice to test using similar functions as in Section 4.1.1. We solve (8) using a Galerkin method and the product Gaussian quadrature rule [36,42,43,44,45] (see Appendix B for details).The accuracy in approximating V0–V4 is limited by the accuracy of the resolution for ρ . This can be assessed by looking at the coefficients’ decay of the density spherical harmonic expansion. In this case the coefficients’ decay has reached 10 15 . The results in Figure 4 show that given ρ resolved, the approximation of the modified representations provide better results overall, except for V2 where the error plateaus around 10 7 for small (providing less accurate results compared to standard representation V0). Note that the single-layer potential commonly suffers less from the close evaluation than the double-layer potential, and the chosen method provides already a good approximation. This is the reason why the error when considering V0 decays as decreases [26]. The modified representations allow to make it even better. To better assess the efficacy of the modified representations in three dimensions, Figure 5 represents log plots of the maximum error with respect to N { 8 , 16 , 24 , 32 } (the method uses 2 N × N quadrature points) and for various distances from point B. The results show that as 0 , V1–V4 allow to gain a couple of orders of magnitude in the error, even for a small N. Note that the error produced by three-step method does not seem to depend on N, and in this case there are more variations with respect to the choice of auxiliary function v than in two dimensions. Here, V1 (the linear function) is the best representation, producing the smallest errors (and the fastest to compute as indicated in Table 2). Again, the three-step method has been designed to treat nearly-singular integrals. It is the reason why the method provides already satisfactory results (given the resolution of ρ ). The modified representations allow to significantly gain even more accuracy in this case, even with limited computational resources.

4.2. Scattering Problem

Using Proposition 3, we compare (19) with the modified representation (23) obtained with v ( y ) = e i k n x * · ( y x * ) :
u ( x ) = D n y G H ( x , y ) i k ( n y · n x * ) e i k ( n x * · ( y x * ) ) G H ( x , y ) μ ( y ) μ ( x * ) d σ y + i k D [ ( n y · n x * ) e i k ( n x * · ( y x * ) ) 1 ] G H ( x , y ) μ ( y ) d σ y + μ ( x * ) D n y G H ( x , y ) [ 1 e i k ( n x * · ( y x * ) ) ] d σ y , x R d \ D ¯ .

4.2.1. Example 3: Scattering in Two Dimensions

We consider an exact solution of Problem (18):
u exact ( x ) = i 4 H 0 ( 1 ) ( k | x x 0 | ) , x 0 D ,
which consists of choosing f ( x * ) = u exact ( x * ) , for any x * D . All simulations are done outside of a star-shaped domain using the Periodic Trapezoid Rule with N = 256 quadrature points and k = 15 for the following representations:
  • V0: standard representation (19);
  • V1: modified representation (25) (i.e., (23) with the plane wave function v 1 ( y ) = e i k n x * · ( y x * ) ).
We solved (21) using Kress product quadrature rule [40] (see Appendix A). The quadrature rule is well adapted to approximate kernels with a logarithmic singularity. The accuracy of both methods is limited by the resolution for μ (the Fourier coefficients’ decay of the density is bounded by 10 6 for N = 256 and k = 15 ). The results in Figure 6 and Figure 7 show that given μ resolved, the approximation of the modified representation provides better results overall. Similarly to Laplace’s examples, both methods approximate well the solution far from the boundary. As the evaluation point gets closer to the boundary ( 0 ), V0 approximated with PTR suffers from the close evaluation problem leading to large errors (see [9]). Using the modified representation V1 allows to reduce the error by a couple of order of magnitude for the close evaluation problem.
Figure 8 represents log plots of the maximum error with respect to the number of quadrature points N 50 , 3000 and for various distances from point A (indicated in Figure 6). The results show that for any number of quadrature points, the error when considering V0 explodes as we approach the boundary (error larger than 10 5 ) while the error with V1 remains bounded (of the order of 10 2 in the case presented above). In this case standard rerpresentation V0 strongly suffers from the close evaluation problem, however the modified representation V1 significantly reduces the error. Even when standard quadrature rules fail to compute the standard representation, the proposed modified one regularizes the solution and provides satisfactory results without significant additional computational time (as shown in Table 3).

4.2.2. Example 4: Scattering in Three Dimensions

We consider an exact solution of (10):
u exact ( x ) = 1 4 π e i k | x x 0 | | x x 0 | , x 0 D ,
which consists of choosing f ( x * ) = u exact ( x * ) , for any x * D .
All simulations are done outside of an ellipsoid parameterized by y ( s , t ) = ( 2 cos ( t ) sin ( s ) , sin ( t ) sin ( s ) , 2 cos ( s ) ) , ( s , t ) [ 0 , π ] × [ π , π ] , and using the three-step method with various N. This is in order to investigate the technique in the context of limited resolution, namely the coefficients’ decay of the density spherical harmonic expansion does not reach machine precision. We consider k = 5 and the following representations:
  • V0: standard representation (19);
  • V1: modified representation (25).
We solved (21) using Galerkin method and the product Gaussian quadrature rule (see Appendix B for details). The accuracy of both methods is limited by the accuracy of the resolution for μ . This limitation can be checked for instance by looking at the density spherical harmonics coefficients’ decay: for k = 5 , the resolution will be capped around 10 2 for N = 16 , 10 4 for N = 24 , and 10 7 for N = 32 . The results in Figure 9 show that given μ resolved, standard representation incurs bigger errors at close evaluation points while the modified representation provides better results overall. Here, the resolution of the boundary integral equation was fairly limited. Figure 10 represents log plots of the maximum error with respect to N 8 , 32 (the method uses 2 N × N quadrature points) and for various distances from the boundary from point A. While the three-step method has been designed to treat nearly-singular integrals and provided satisfactory results for Laplace’s problems, the method here requires more quadrature points to achieve accuracy due to the wavenumber (see Section 4.2.3 for more details). The standard representation V0 suffers from both the close evaluation problem and the poor density resolution. The modified representation V1 allows to gain accuracy even with limited resolution (without significant additional computational time as indicated in Table 4).

4.2.3. High Frequency Behavior

It is well-known that for a fixed number of quadrature points N, accuracy is lost for larger wavenumbers k. Figure 11 and Figure 12 represent the high frequency behavior for the Examples 3 and 4, for various k and N. We consider the same quadrature rules, exact solution u exact , boundary shapes, as in Section 4.2.1 and Section 4.2.2, but we vary k and/or N. The modified representation annihilates some oscillatory behavior by subtracting plane waves along the normal of the evaluation points. It then allows a better approximation for a wider range of wavenumbers (until the number of quadrature points is not enough), and results in a greater wavenumber stability. The results in Figure 11 and Figure 12 confirm this phenomenon.

5. Modified Boundary Integral Equations

We have used (1) to modify the representation of solution of boundary value problems close to (but not on) the boundary. One could also use (1) to avoid weakly singular integrals in the boundary integral equation as done in BRIEF [31]. In the section we present a modified representation of (21).
Proposition 4.
Given x * D , let v be a solution of Helmholtz equation in D R d , d = 2 , 3 , satisfying conditions (22). Then the boundary integral Equation (21) admits the modified representation:
D n y G H ( x * , y ) n y v ( y ) G H ( x * , y ) μ ( y ) μ ( x * ) d σ y + D G H ( x * , y ) n y v ( y ) i k μ ( y ) d σ y + μ ( x * ) D n y G H ( x * , y ) 1 v ( y ) d σ y = f ( x * ) , x * D .
The modified representation (26) has smoother integrands than (21).
The proof can be found in Appendix C.3. Using again v ( y ) = e i k n x * · ( y x * ) , Proposition 4 gives us the modified boundary integral equation:
D n y G H ( x * , y ) i k ( n y · n x * ) e i k n x * · ( y x * ) G H ( x * , y ) μ ( y ) μ ( x * ) d σ y + i k D G H ( x * , y ) ( n y · n x * ) e i k n x * · ( y x * ) 1 μ ( y ) d σ y + μ ( x * ) D n y G H ( x * , y ) 1 e i k n x * · ( y x * ) d σ y = f ( x * ) , x * D .
Equation (27) has no singular integrals (in the sense its integrands have vanishing singularities), in particular it could be approximated using standard quadrature rules such as PTR in two dimensions. Going back to Examples 3 and 4 presented in Section 4.2.1 and Section 4.2.2, we now compare the approximation of the representations (19)–(25) where the density μ has been computed via (21)–(27). We then have four representations:
  • V0: standard representation (19) with previous approximation of (21);
  • V1: modified representation (25) with previous approximation of (21);
  • V2: standard representation (19), approximation of (27) using PTR as Nyström method (2D), using product Gaussian quadrature rule (3D);
  • V3: modified representation (25), approximation of (27) using PTR as Nyström method (2D), using product Gaussian quadrature rule (3D).
Figure 13 represents the results in two dimensions and illustrates how the resolution of μ limits the approximation of the solution of (18). Far from the boundary the error made using V2–V3 cannot be better than order 10 6 . This limitation is due to the poor resolution of μ using Nyström method based on PTR to approximate (25). This can be assessed by looking at the density Fourier coefficients’ decay, which caps at 10 6 for N = 256 . However, as the evaluation point gets closer to the boundary ( 0 ), V3 yields competitive (sometimes better) results. Additionally, the use of Nyström PTR allows to reduce CPU times as indicated in Table 5. The modified boundary integral Equation (27) can be approximated using standard quadrature rules such as Periodic Trapezoid Rule (note that Nyström PTR was not possible to use to solve for (21) due to singular integrals). Its resolution may be limited but it offers interesting corrections for the close evaluation problem using simple quadrature rules as well as faster solvers.
The results in Figure 14 show that the resolution of the solution using both methods yields the same accuracy in three dimensions. The product Gaussian quadrature rule is an open quadrature at the singular point y = x * (see Appendix B). Thus, the modification introduced in (25) does not affect the approximation. The product Gaussian quadrature rule is a well-used, efficient, easy to implement method, but one could consider a closed quadrature rule to study the effect of (27) more closely.

6. Conclusions

In this paper, we have provided modified representations for Laplace and Helmholtz layer potentials to address the close evaluation problem in several boundary value problems. Similar to Gauss’ law, we take advantage of one auxiliary function, satisfying the partial differential equation at stake. A similar technique has been used in the context of BRIEF and density interpolation. Our approach provides guidelines on how to develop them independently of the density, and valuable insights into the layer potentials inherent nearly singular behavior. Several examples in two and three dimensions have been presented and demonstrated the efficiency of the modified representations. Given a quadrature rule, the modified representation of the solution provides a better approximation by several orders of magnitude even with limited computational resources. This assumes that the density, solution of the boundary integral equation, is sufficiently well-resolved. The modified boundary integral equation has no singular behaviors anymore, and allows us to use standard quadrature rules that do not treat singularities.
We have provided general modified representations, one can use them with any solution of their choice as long as they follow the provided guidelines to address the close evaluation. One can use this technique to modify any other wave problems, including sound-hard, penetrable obstacles. Future work includes applying those techniques to plasmonic scattering problems [46,47], deriving an asymptotic analysis to quantify the limit behavior of the error as the evaluation point approaches the boundary, as well as extensions to other partial differential equations such as Stokes problems and others.

Funding

This research was funded by the NSF grant number DMS 1819052.

Acknowledgments

The author would like to thank Shilpa Khatri, Arnold D. Kim, Marc Bonnet, Zoïs Moitier, and the reviewers for fruitful discussions and feedback.

Conflicts of Interest

The author declares no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

Appendix A. Kress Product Quadrature

In this section, we provide a brief summary about the Kress product quadrature rule [40] used to compute the density μ , solution of (21), in two dimensions. Denoting the parameterization of D as y ( t ) , t ( 0 , 2 π ) , and denoting x * = y ( t * ) , we compactly rewrite (21)
1 2 μ ( t * ) + 0 2 π K ( t , t * ) μ ( t ) d t = f ( t * ) ,
with the abuse of notation K ( t , t * ) = n y G H ( x * , y ( t ) ) i k G H ( x * , y ( t ) ) | y ( t ) | , μ ( t ) = μ ( y ( t ) ) , and f ( t ) = f ( y ( t ) ) . The Kress product quadrature rule is well adapted for weakly singular integrals involving kernel with a logarithmic singularity. To that aim one rewrites:
K ( t , t * ) = K 1 ( t , t * ) log 4 sin 2 t * t 2 + K 2 ( t , t * ) ,
with smooth functions K 1 , K 2 (the expression of K 1 , K 2 can be found in [40]). Then one discretizes the integral using N = 2 n quadrature points as follows:
0 2 π K ( t , t * ) μ ( t ) d t k = 0 2 n 1 R k ( n ) ( t * ) K 1 ( t * , t k ) + π n K 2 ( t * , t k ) μ ( t k ) ,
with t k = π k n , k = 0 , , 2 n 1 , and R k ( n ) ( t * ) the weights
R k ( n ) ( t * ) = 2 π n j = 1 n 1 1 j cos ( j ( t * t k ) ) π n 2 cos n ( t * t k ) , k = 0 , , 2 n 1 .

Appendix B. Galerkin Approximation

In this section, we provide a brief summary about the Galerkin approximation used to compute the solutions of (8), (12), (21) and (27) in three dimensions. First, we compactly write (8), (12), (21) and (27) as
K [ ψ ] = F ,
with ψ denoting the density (i.e., μ , ρ ), and F denoting the Dirichlet or Neumann data. We introduce the approximation for ψ
ψ ( y ( θ , φ ) ) n = 0 N 1 m = n n Y n m ( θ , φ ) ψ ^ n m ,
with y ( θ , φ ) , θ ( 0 , π ) , φ ( π , π ) a parameterization of the boundary D , { Y n m ( θ , φ ) } n , m the orthonormal set of spherical harmonics. For x * D , we write x * = y ( θ , φ ) . Note that N in (A3) corresponds also to the same order of the quadrature rule used to approximate (8), (12), (21) and (27). Substituting (A3) into (A2) and taking the inner product with Y n m ( θ , φ ) , we obtain the Galerkin equations
n = 0 N 1 m = n n Y n m , K [ Y n m ] ψ ^ n m = Y n m , F .
We construct the N 2 × N 2 linear system for the unknown coefficients, ψ ^ n m resulting from (A4) evaluated for n = 0 , , N 1 with corresponding values of m . To compute the inner products, Y n m , K [ Y n m ] and Y n m , F , we use the product Gaussian quadrature rule for spherical integrals [42]. This corresponds to approximate the integral with respect to φ using N Gauss–Legendre quadrature points, and the integral with respect to θ using a 2 N Periodic Trapezoid Rule points. One can proceed as in the three-step method (see Section 4.1.2, and [26] for more details), by adding a rotation of the local coordinate system so that x * corresponds to the north pole, and by using the N Gauss–Legendre quadrature points mapped to ( 0 , π ) and not ( 1 , 1 ) .
For (12) we have
K [ Y n m ] ( θ , φ ) = 1 2 Y n m ( θ , φ ) + π π 0 π n y G L ( θ , φ , θ , φ ) J ( θ , φ ) sin ( θ ) Y n m ( θ , φ ) d θ d φ .
For (8) we make use of the adjoint K of K . Using Gauss’ law we write
n = 0 N 1 m = n n K [ Y n m ] , Y n m ψ ^ n m = Y n m , F with
K [ Y n m ] ( θ , φ ) = π π 0 π n x * G L ( θ , φ , θ , φ ) J ( θ , φ ) sin ( θ ) [ Y n m ( θ , φ ) Y n m ( θ , φ ) ] d θ d φ .
For (21) we have
K [ Y n m ] ( θ , φ ) = 1 2 Y n m ( θ , φ ) + π π 0 π n y G H ( θ , φ , θ , φ ) i k G H ( θ , φ , θ , φ ) J ( θ , φ ) sin ( θ ) Y n m ( θ , φ ) d θ d φ ,
and for (27) we have
K m [ Y n m ] ( θ , φ ) = π π 0 π n y G H ( θ , φ , θ , φ ) i k ( n y · n x * ) e i k ( n x * · ( y ( θ , φ ) y ( θ , φ ) ) G H ( θ , φ , θ , φ ) J ( θ , φ ) sin ( θ ) Y n m ( θ , φ ) Y n m ( θ , φ ) d θ d φ + i k π π 0 π [ ( n y · n x * ) e i k ( n x * · ( y ( θ , φ ) y ( θ , φ ) ) 1 ] G H ( θ φ , θ , φ ) J ( θ , φ ) sin ( θ ) Y n m ( θ , φ ) d θ d φ + Y n m ( θ , φ ) π π 0 π [ 1 e i k ( n x * · ( y ( θ , φ ) y ( θ , φ ) ) ] n y G H ( θ φ , θ , φ ) J ( θ , φ ) sin ( θ ) d θ d φ .

Appendix C. Proof of Modified Representations

Appendix C.1. Modified Double-Layer Potential (14)

Given v solution of Laplace’s equation in D R d , d = 2 , 3 , and for x D we write x = x * n x * , with x * D . Then we write (11) as:
u ( x ) = D n y G ( x , y ) μ ( y ) 1 v ( y ) d σ y + D n y G ( x , y ) μ ( y ) v ( y ) d σ y = D n y G ( x , y ) μ ( y ) 1 v ( y ) d σ y + D n y G ( x , y ) [ μ ( y ) μ ( x * ) ] v ( y ) d σ y + μ ( x * ) D n y G ( x , y ) v ( y ) G ( x , y ) n y v ( y ) d σ y + μ ( x * ) D G ( x , y ) n y v ( y ) d σ y
Using (1) the third term becomes μ ( x * ) v ( x * ) . Then
u ( x ) = D n y G ( x , y ) μ ( y ) 1 v ( y ) d σ y + D n y G ( x , y ) [ μ ( y ) μ ( x * ) ] v ( y ) d σ y μ ( x * ) v ( x * ) + μ ( x * ) D G ( x , y ) [ n y v ( y ) n x * v ( x * ) ] d σ y + μ ( x * ) n x * v ( x * ) D G ( x , y ) d σ y
which is (14), after using (1) for the last term.

Appendix C.2. Proof of Proposition 2

In this section, we derive (17). Given v solution of Laplace’s equation in D R d , d = 2 , 3 , and for x E we write x = x * + n x * , with x * D . Then we write (7) as:
u ( x ) = D G ( x , y ) ρ ( y ) 1 n y v ( y ) d σ y + D G ( x , y ) ρ ( y ) n y v ( y ) d σ y = D G ( x , y ) ρ ( y ) 1 n y v ( y ) d σ y + D G ( x , y ) [ ρ ( y ) ρ ( x * ) ] n y v ( y ) d σ y + ρ ( x * ) D G ( x , y ) n y v ( y ) n y G ( x , y ) v ( y ) d σ y + ρ ( x * ) D n y G ( x , y ) v ( y ) d σ y
Using (1), the third term vanishes. Then
u ( x ) = D G ( x , y ) ρ ( y ) 1 n y v ( y ) d σ y + D G ( x , y ) [ ρ ( y ) ρ ( x * ) ] n y v ( y ) d σ y + ρ ( x * ) D n y G ( x , y ) [ v ( y ) v ( x * ) ] d σ y + ρ ( x * ) v ( x * ) D n y G ( x , y ) d σ y
The last term vanishes using (1) then one obtains (17).

Appendix C.3. Proof of Propositions 3, 4

In this section, we derive (23), (26). Given v solution of the Helmholtz equation in D R d , d = 2 , 3 , and for x E we write x = x * + n x * , with x * D . Then we write (19) as:
u ( x ) = D n y G H ( x , y ) n y v ( y ) G H ( x , y ) μ ( y ) d σ y + D n y v ( y ) i k G H ( x , y ) μ ( y ) d σ y = D n y G H ( x , y ) n y v ( y ) G H ( x , y ) [ μ ( y ) μ ( x * ) ] d σ y + μ ( x * ) D n y G H ( x , y ) v ( y ) G H ( x , y ) n y v ( y ) d σ y + D n y v ( y ) i k G H ( x , y ) μ ( y ) d σ y + μ ( x * ) D n y G H ( x , y ) ( 1 v ( y ) d σ y
Using (1), the third term vanishes, then one obtains (23). One proceeds similarly starting with (21): one can show that the layer potentials in (21) correspond to (A5) for x = x * D . Finally, (1) gives that the third term boils down to 1 2 μ ( x * ) v ( x * ) , which finishes the proof.

References

  1. Akselrod, G.M.; Argyropoulos, C.; Hoang, T.B.; Ciracì, C.; Fang, C.; Huang, J.; Smith, D.R.; Mikkelsen, M.H. Probing the mechanisms of large Purcell enhancement in plasmonic nanoantennas. Nat. Photonics 2014, 8, 835–840. [Google Scholar] [CrossRef] [Green Version]
  2. Barnett, A.H.; Wu, B.; Veerapaneni, S. Spectrally accurate quadratures for evaluation of layer potentials close to the boundary for the 2D Stokes and Laplace equations. SIAM J. Sci. Comput. 2015, 37, B519–B542. [Google Scholar] [CrossRef] [Green Version]
  3. Keaveny, E.E.; Shelley, M.J. Applying a second-kind boundary integral equation for surface tractions in Stokes flow. J. Comput. Phys. 2011, 230, 2141–2159. [Google Scholar] [CrossRef]
  4. Marple, G.R.; Barnett, A.; Gillman, A.; Veerapaneni, S. A fast algorithm for simulating multiphase flows through periodic geometries of arbitrary shape. SIAM J. Sci. Comput. 2016, 38, B740–B772. [Google Scholar] [CrossRef] [Green Version]
  5. Mayer, K.M.; Lee, S.; Liao, H.; Rostro, B.C.; Fuentes, A.; Scully, P.T.; Nehl, C.L.; Hafner, J.H. A label-free immunoassay based upon localized surface plasmon resonance of gold nanorods. ACS Nano 2008, 2, 687–692. [Google Scholar] [CrossRef]
  6. Novotny, L.; Van Hulst, N. Antennas for light. Nat. Photonics 2011, 5, 83–90. [Google Scholar] [CrossRef]
  7. Sannomiya, T.; Hafner, C.; Voros, J. In situ sensing of single binding events by localized surface plasmon resonance. Nano Lett. 2008, 8, 3450–3455. [Google Scholar] [CrossRef]
  8. Smith, D.J. A boundary element regularized Stokeslet method applied to cilia-and flagella-driven flow. Proc. R. Soc. Lond. A 2009, 465, 3605–3626. [Google Scholar] [CrossRef] [Green Version]
  9. Barnett, A.H. Evaluation of layer potentials close to the boundary for Laplace and Helmholtz problems on analytic planar domains. SIAM J. Sci. Comput. 2014, 36, A427–A451. [Google Scholar] [CrossRef] [Green Version]
  10. Schwab, C.; Wendland, W. On the extraction technique in boundary integral equations. Math. Comput. 1999, 68, 91–122. [Google Scholar] [CrossRef] [Green Version]
  11. Beale, J.T.; Lai, M.C. A method for computing nearly singular integrals. SIAM J. Numer. Anal. 2001, 38, 1902–1925. [Google Scholar] [CrossRef] [Green Version]
  12. Beale, J.T.; Ying, W.; Wilson, J.R. A simple method for computing singular or nearly singular integrals on closed surfaces. Commun. Comput. Phys. 2016, 20, 733–753. [Google Scholar] [CrossRef] [Green Version]
  13. Helsing, J.; Ojala, R. On the evaluation of layer potentials close to their sources. J. Comput. Phys. 2008, 227, 2899–2921. [Google Scholar] [CrossRef] [Green Version]
  14. Af Klinteberg, L.; Tornberg, A.-K. A fast integral equation method for solid particles in viscous flow using quadrature by expansion. J. Comput. Phys. 2016, 326, 420–445. [Google Scholar] [CrossRef] [Green Version]
  15. Af Klinteberg, L.; Tornberg, A.-K. Error estimation for quadrature by expansion in layer potential evaluation. Adv. Comput. Math. 2017, 43, 195–234. [Google Scholar] [CrossRef] [Green Version]
  16. Epstein, C.L.; Greengard, L.; Klöckner, A.K. On the convergence of local expansions of layer potentials. SIAM J. Numer. Anal. 2013, 51, 2660–2679. [Google Scholar] [CrossRef] [Green Version]
  17. Klöckner, A.; Barnett, A.; Greengard, L.; O’Neil, M. Quadrature by expansion: A new method for the evaluation of layer potentials. J. Comput. Phys. 2013, 252, 332–349. [Google Scholar] [CrossRef] [Green Version]
  18. Rachh, M.; Klöckner, A.; O’Neil, M. Fast Algorithms for Quadrature by Expansion I: Globally Valid Expansions. J. Comput. Phys. 2017, 345, 706–731. [Google Scholar] [CrossRef] [Green Version]
  19. Wala, M.; Klöckner, A. A Fast Algorithm for Quadrature by Expansion in Three Dimensions. J. Comput. Phys. 2019, 388, 655–689. [Google Scholar] [CrossRef] [Green Version]
  20. Greengard, L.; O’Neil, M.; Rachh, M.; Vico, F. Fast multipole methods for the evaluation of layer potentials with locally-corrected quadratures. J. Comput. Phys. X 2021, 10, 100092. [Google Scholar]
  21. Pérez-Arancibia, C. A plane-wave singularity subtraction technique for the classical Dirichlet and Neumann combined field integral equations. Appl. Numer. Math. 2018, 123, 221–240. [Google Scholar] [CrossRef]
  22. Pérez-Arancibia, C.; Faria, L.; Turc, C. Harmonic density interpolation methods for high-order evaluation of Laplace layer potentials in 2D and 3D. J. Comput. Phys. 2019, 376, 411–434. [Google Scholar] [CrossRef] [Green Version]
  23. Pérez-Arancibia, C.; Turc, C.; Faria, L. Planewave density interpolation methods for 3D Helmholtz boundary integral equations. SIAM J. Sci. Comput. 2019, 41, A2088–A2116. [Google Scholar] [CrossRef] [Green Version]
  24. Carvalho, C.; Khatri, S.; Kim, A.D. Asymptotic analysis for close evaluation of layer potentials. J. Comput. Phys. 2018, 355, 327–341. [Google Scholar] [CrossRef] [Green Version]
  25. Carvalho, C.; Khatri, S.; Kim, A.D. Asymptotic approximation for the close evaluation of double-layer potentials. SIAM J. Sci. Comput. 2020, 42, A504–A533. [Google Scholar] [CrossRef] [Green Version]
  26. Khatri, S.; Kim, A.D.; Cortes, R.; Carvalho, C. Close evaluation of layer potentials in three dimensions. J. Comput. Phys. 2020, 423, 109798. [Google Scholar] [CrossRef]
  27. Hwang, W.S. A regularized boundary integral method in potential theory. Comput. Methods Appl. Mech. Eng. 2013, 259, 9. [Google Scholar] [CrossRef]
  28. Liu, Y.J.; Rudolphi, T.J. New identities for fundamental solutions and their applications to non-singular boundary element formulations. Comput. Mech. 1999, 24, 286–292. [Google Scholar] [CrossRef]
  29. Klaseboer, E.; Sun, Q.; Chan, D.Y. Non-singular boundary integral methods for fluid mechanics applications. J. Fluid Mech. 2012, 696, 78. [Google Scholar] [CrossRef]
  30. Sun, Q.; Klaseboer, E.; Khoo, B.C.; Chan, D.Y. A robust and non-singular formulation of the boundary integral method for the potential problem. Eng. Anal. Bound. Elem. 2014, 1, 117–123. [Google Scholar] [CrossRef]
  31. Sun, Q.; Klaseboer, E.; Khoo, B.-C.; Chan, D.Y. Boundary regularized integral equation formulation of the Helmholtz equation in acoustics. R. Soc. Open Sci. 2015, 2, 140520. [Google Scholar] [CrossRef] [PubMed]
  32. Faria, L.M.; Pérez-Arancibia, C.; Bonnet, M. General-purpose kernel regularization of boundary integral equations via density interpolation. Comput. Methods Appl. Mech. Eng. 2021, 378, 113703. [Google Scholar] [CrossRef]
  33. Kress, R. Linear Integral Equations; Springer: New York, NY, USA, 1989. [Google Scholar]
  34. Colton, D.; Kress, R. Integral Equation Methods in Scattering Theory; SIAM: Philadelphia, PA, USA, 2013. [Google Scholar]
  35. Guenther, R.B.; Lee, J.W. Partial Differential Equations of Mathematical Physics and Integral Equations; Dover Publications: New York, NY, USA, 1996. [Google Scholar]
  36. Atkinson, K.E. The Numerical Solution of Integral Equations of the Second Kind; Cambridge University Press: Cambridge, UK, 1997. [Google Scholar]
  37. Bremer, J.; Gimbutas, Z.; Rokhlin, V. A nonlinear optimization procedure for generalized gaussian quadratures. SIAM J. Sci. Comput. 2010, 32, 1761–1788. [Google Scholar] [CrossRef] [Green Version]
  38. Bruno, O.P.; Kunyansky, L.A. A fast, high-order algorithm for the solution of surface scattering problems: Basic implementation, tests, and applications. J. Comput. Phys. 2001, 169, 80–110. [Google Scholar] [CrossRef] [Green Version]
  39. Ganesh, M.; Graham, I. A high-order algorithm for obstacle scattering in three dimensions. J. Comput. Phys. 2004, 198, 211–242. [Google Scholar] [CrossRef]
  40. Kress, R. Boundary integral equations in time-harmonic acoustic scattering. Math. Comput. Model. 1991, 15, 229–243. [Google Scholar] [CrossRef]
  41. Carvalho, C. Subtraction-Techniques Codes. Available online: https://doi.org/10.5281/zenodo.5523373 (accessed on 25 September 2021).
  42. Atkinson, K.E. Numerical integration on the sphere. ANZIAM J. 1982, 23, 332–347. [Google Scholar] [CrossRef] [Green Version]
  43. Atkinson, K.E. The numerical solution Laplace’s equation in three dimensions. SIAM J. Numer. Anal. 1982, 19, 263–274. [Google Scholar] [CrossRef]
  44. Atkinson, K.E. Algorithm 629: An integral equation program for Laplace’s equation in three dimensions. ACM Trans. Math. Softw. 1985, 11, 85–96. [Google Scholar] [CrossRef]
  45. Atkinson, K.E. A survey of boundary integral equation methods for the numerical solution of Laplace’s equation in three dimensions. In Numerical Solution of Integral Equations; Springer: Boston, MA, USA, 1990; pp. 1–34. [Google Scholar]
  46. Ammari, H.; Millien, P.; Ruiz, M.; Zhang, H. Mathematical analysis of plasmonic nanoparticles: The scalar case. Arch. Ration. Mech. Anal. 2017, 2, 597–658. [Google Scholar] [CrossRef] [Green Version]
  47. Helsing, J.; Karlsson, A. An extended charge-current formulation of the electromagnetic transmission problem. SIAM J. Appl. Math. 2020, 80, 951–976. [Google Scholar] [CrossRef]
Figure 1. Laplace 2D single-layer. Plots of log 10 of the error for the evaluation of the solution of (2) out of the kite domain defined by the boundary y ( t ) = ( cos t + 0.65 cos ( 2 t ) 0.65 , 1.5 sin t ) , t [ 0 , 2 π ] , for the Neumann data, g = n u exact with x 0 = ( 0.1 , 0.4 ) , for representations V0, V1, V2, V3, V4 computed using PTR with N = 128 . Computations are made on a boddy-fitted grid with N × 200 grid points.
Figure 1. Laplace 2D single-layer. Plots of log 10 of the error for the evaluation of the solution of (2) out of the kite domain defined by the boundary y ( t ) = ( cos t + 0.65 cos ( 2 t ) 0.65 , 1.5 sin t ) , t [ 0 , 2 π ] , for the Neumann data, g = n u exact with x 0 = ( 0.1 , 0.4 ) , for representations V0, V1, V2, V3, V4 computed using PTR with N = 128 . Computations are made on a boddy-fitted grid with N × 200 grid points.
Mca 26 00069 g001
Figure 2. Laplace 2D single-layer. Log-log plots of the errors with respect to made in computing the solution (as described in Figure 1) along the normal of the three points A, B, C, plotted as black ×’s in Figure 1.
Figure 2. Laplace 2D single-layer. Log-log plots of the errors with respect to made in computing the solution (as described in Figure 1) along the normal of the three points A, B, C, plotted as black ×’s in Figure 1.
Mca 26 00069 g002
Figure 3. Laplace 2D single-layer. Log-log plots of the errors with respect to N made in computing the solution at some distance along the normal from point A plotted as black ×’s in Figure 1.
Figure 3. Laplace 2D single-layer. Log-log plots of the errors with respect to N made in computing the solution at some distance along the normal from point A plotted as black ×’s in Figure 1.
Mca 26 00069 g003
Figure 4. Laplace 3D single-layer. Log-log plots of the errors with respect to made in computing the solution of (2) for the Neumann data, g ( x * ) = n x * · ( x * x 0 ) | x * x 0 | 3 with x 0 = ( 0 , 0 , 0 ) , outside of a sphere a radius 2, along the normal of point A = ( 0.0065 , 0.0327 , 1.9997 ) (left), of point B = ( 0.3526 , 1.7728 , 0.8561 ) (right).
Figure 4. Laplace 3D single-layer. Log-log plots of the errors with respect to made in computing the solution of (2) for the Neumann data, g ( x * ) = n x * · ( x * x 0 ) | x * x 0 | 3 with x 0 = ( 0 , 0 , 0 ) , outside of a sphere a radius 2, along the normal of point A = ( 0.0065 , 0.0327 , 1.9997 ) (left), of point B = ( 0.3526 , 1.7728 , 0.8561 ) (right).
Mca 26 00069 g004
Figure 5. Laplace 3D single-layer. Log-log plots of the errors with respect to N made in computing the solution (as described in Figure 4) at some distance along the normal from point B = ( 0.3526 , 1.7728 , 0.8561 ) .
Figure 5. Laplace 3D single-layer. Log-log plots of the errors with respect to N made in computing the solution (as described in Figure 4) at some distance along the normal from point B = ( 0.3526 , 1.7728 , 0.8561 ) .
Mca 26 00069 g005
Figure 6. Helmholtz 2D. Plots of log 10 of the error for the evaluation of the solution of (18) out of the star domain defined by the boundary y ( t ) = ( 1 + 0.3 cos 5 t ) * ( cos t , sin t ) , t [ 0 , 2 π ] , for the Dirichlet data, f ( x * ) = i 4 H 0 ( 1 ) ( 15 | x * x 0 | ) with x 0 = ( 0.2 , 0.8 ) , for representations V0, V1, computed using PTR with N = 256 .
Figure 6. Helmholtz 2D. Plots of log 10 of the error for the evaluation of the solution of (18) out of the star domain defined by the boundary y ( t ) = ( 1 + 0.3 cos 5 t ) * ( cos t , sin t ) , t [ 0 , 2 π ] , for the Dirichlet data, f ( x * ) = i 4 H 0 ( 1 ) ( 15 | x * x 0 | ) with x 0 = ( 0.2 , 0.8 ) , for representations V0, V1, computed using PTR with N = 256 .
Mca 26 00069 g006
Figure 7. Helmholtz 2D. Log-log plots of the errors made in computing the solution along the normal of the three points A, B, C, plotted as black ×’s in Figure 6.
Figure 7. Helmholtz 2D. Log-log plots of the errors made in computing the solution along the normal of the three points A, B, C, plotted as black ×’s in Figure 6.
Mca 26 00069 g007
Figure 8. Helmholtz 2D. Log-log plots of the errors with respect to N made in computing the solution at some distance along the normal from point A plotted as black ×’s in Figure 6.
Figure 8. Helmholtz 2D. Log-log plots of the errors with respect to N made in computing the solution at some distance along the normal from point A plotted as black ×’s in Figure 6.
Mca 26 00069 g008
Figure 9. Helmholtz 3D. Log-Log of the error along the normal for the evaluation of the solution of (18) out of the ellipsoid parameterized by y ( s , t ) = ( 2 cos ( t ) sin ( s ) , sin ( t ) sin ( s ) , 2 cos ( s ) ) , ( s , t ) [ 0 , π ] × [ π , π ] , for the Dirichlet data f ( x * ) = 1 4 e i 5 | z x 0 | | x x 0 | with x 0 = ( 0.1 , 0.2 , 0.3 ) : at point A = ( 0.7664 , 0.0607 , 1.8433 ) (top row), at point B = ( 0.0098 , 0.0096 , 1.9999 ) (bottom row), for various N.
Figure 9. Helmholtz 3D. Log-Log of the error along the normal for the evaluation of the solution of (18) out of the ellipsoid parameterized by y ( s , t ) = ( 2 cos ( t ) sin ( s ) , sin ( t ) sin ( s ) , 2 cos ( s ) ) , ( s , t ) [ 0 , π ] × [ π , π ] , for the Dirichlet data f ( x * ) = 1 4 e i 5 | z x 0 | | x x 0 | with x 0 = ( 0.1 , 0.2 , 0.3 ) : at point A = ( 0.7664 , 0.0607 , 1.8433 ) (top row), at point B = ( 0.0098 , 0.0096 , 1.9999 ) (bottom row), for various N.
Mca 26 00069 g009
Figure 10. Helmholtz 3D. Log-plot of the maximum error for computing the solution as described in Figure 9 with D being the ellipsoid parameterized by y ( s , t ) = ( 2 cos ( t ) sin ( s ) , sin ( t ) sin ( s ) , 2 cos ( s ) ) , ( s , t ) [ 0 , π ] × [ π , π ] , at some distance along the normal from point A= ( 0.7664 , 0.0607 , 1.8433 ) .
Figure 10. Helmholtz 3D. Log-plot of the maximum error for computing the solution as described in Figure 9 with D being the ellipsoid parameterized by y ( s , t ) = ( 2 cos ( t ) sin ( s ) , sin ( t ) sin ( s ) , 2 cos ( s ) ) , ( s , t ) [ 0 , π ] × [ π , π ] , at some distance along the normal from point A= ( 0.7664 , 0.0607 , 1.8433 ) .
Mca 26 00069 g010
Figure 11. Helmholtz 2D. Log-Log of the maximum error in computing the solution of Problem (18) as described in Section 4.2.1, with respect to the wavenumber k, for various number of quadrature points N.
Figure 11. Helmholtz 2D. Log-Log of the maximum error in computing the solution of Problem (18) as described in Section 4.2.1, with respect to the wavenumber k, for various number of quadrature points N.
Mca 26 00069 g011
Figure 12. Helmholtz 3D. Log-Log of the maximum error in computing the solution of Problem (18) as described in Section 4.2.2, with respect to the wavenumber k, for various number of quadrature points N.
Figure 12. Helmholtz 3D. Log-Log of the maximum error in computing the solution of Problem (18) as described in Section 4.2.2, with respect to the wavenumber k, for various number of quadrature points N.
Mca 26 00069 g012
Figure 13. Helmholtz 2D. Log-Log plot of the error along the normal for the solution of (18) out of the star domain defined by the boundary y ( t ) = ( 1.55 + 0.4 cos 5 t ) * ( cos t , sin t ) , t [ 0 , 2 π ] , for the Dirichlet data, f ( x * ) = i 4 H 0 ( 1 ) ( 15 | x * x 0 | ) with x 0 = ( 0.2 , 0.8 ) , at the three points A, B, C plotted as black ×’s in Figure 6.
Figure 13. Helmholtz 2D. Log-Log plot of the error along the normal for the solution of (18) out of the star domain defined by the boundary y ( t ) = ( 1.55 + 0.4 cos 5 t ) * ( cos t , sin t ) , t [ 0 , 2 π ] , for the Dirichlet data, f ( x * ) = i 4 H 0 ( 1 ) ( 15 | x * x 0 | ) with x 0 = ( 0.2 , 0.8 ) , at the three points A, B, C plotted as black ×’s in Figure 6.
Mca 26 00069 g013
Figure 14. Helmholtz 3D. Log-Log plot of the error for the problem described in Figure 9 using N = 32 , and for the four representations (standard or modified, off and on boundary).
Figure 14. Helmholtz 3D. Log-Log plot of the error for the problem described in Figure 9 using N = 32 , and for the four representations (standard or modified, off and on boundary).
Mca 26 00069 g014
Table 1. Laplace 2D single-layer. CPU times (in seconds) for various number of quadrature points and representations. Times account for computing the solution at N × 12 grid points ( = 10 k , k = 0 , 11 ) on a body-fitted grid.
Table 1. Laplace 2D single-layer. CPU times (in seconds) for various number of quadrature points and representations. Times account for computing the solution at N × 12 grid points ( = 10 k , k = 0 , 11 ) on a body-fitted grid.
MethodV0V1V2V3V4
N = 128 0.0140.0440.0550.0450.05
N = 256 0.0560.070.1120.080.081
N = 512 0.120.1920.2630.20.19
Table 2. Laplace 3D single-layer. CPU times (in seconds) for various number of quadrature points and representations for computing the solution (as described in Figure 4) from points A and B, for = 10 k , k = 0 , 11 .
Table 2. Laplace 3D single-layer. CPU times (in seconds) for various number of quadrature points and representations for computing the solution (as described in Figure 4) from points A and B, for = 10 k , k = 0 , 11 .
MethodV0V1V2V3V4
N = 80.0280.0290.0320.0310.046
N = 160.1430.1460.1480.1500.142
N = 240.3520.3440.3460.350.356
Table 3. Helmholtz 2D. CPU times (in seconds) for various number of quadrature points and representations. Times account for computing the solution for N × 12 grid points (for = 10 k , k = 0 , 11 ) on a body-fitted grid.
Table 3. Helmholtz 2D. CPU times (in seconds) for various number of quadrature points and representations. Times account for computing the solution for N × 12 grid points (for = 10 k , k = 0 , 11 ) on a body-fitted grid.
Method N = 128 N = 256 N = 512
V00.180.270.71
V10.210.330.89
Table 4. Helmholtz 3D. CPU times (in seconds) for various number of quadrature points and representations. Times account for computing the solution from points A and B, for = 10 k , k = 0 , 11 .
Table 4. Helmholtz 3D. CPU times (in seconds) for various number of quadrature points and representations. Times account for computing the solution from points A and B, for = 10 k , k = 0 , 11 .
Method N = 8 N = 16 N = 20
V00.0270.150.313
V10.030.150.314
Table 5. Helmholtz 2D. CPU times (in seconds) for various number of quadrature points to compute the solution of the boundary integral equation.
Table 5. Helmholtz 2D. CPU times (in seconds) for various number of quadrature points to compute the solution of the boundary integral equation.
Method N = 128 N = 256 N = 512
(21) with Kress product rule0.120.451.70
(27) with PTR0.090.3021.16
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Carvalho, C. Modified Representations for the Close Evaluation Problem. Math. Comput. Appl. 2021, 26, 69. https://doi.org/10.3390/mca26040069

AMA Style

Carvalho C. Modified Representations for the Close Evaluation Problem. Mathematical and Computational Applications. 2021; 26(4):69. https://doi.org/10.3390/mca26040069

Chicago/Turabian Style

Carvalho, Camille. 2021. "Modified Representations for the Close Evaluation Problem" Mathematical and Computational Applications 26, no. 4: 69. https://doi.org/10.3390/mca26040069

APA Style

Carvalho, C. (2021). Modified Representations for the Close Evaluation Problem. Mathematical and Computational Applications, 26(4), 69. https://doi.org/10.3390/mca26040069

Article Metrics

Back to TopTop