校园网页 · 学校官网
Efficient Spectral-Galerkin Method and Analysis for Elliptic PDEs with Non-local Boundary Conditions
J Sci Comput DOI 10.1007/s10915-015-0145-x Efficient Spectral-Galerkin Method and Analysis for Elliptic PDEs with Non-local Boundary Conditions Lina Hu1 · Lina Ma2 · Jie Shen3,4 Received: 25 October 2015 / Revised: 17 November 2015 / Accepted: 23 November 2015 © Springer Science+Business Media New Y ork 2015 Abstract We present an efficient Legendre–Galerkin method and its error analysis for a class of PDEs with non-local boundary conditions. We also present several numerical exper- iments, including the scattering problem from an open cavity, to demonstrate the accuracy and efficiency of the proposed method. Keywords Non-local boundary conditions · Spectral-Galerkin method · Legendre polynomial · Error analysis Mathematics Subject Classification 65N35 · 65N22 · 65F05 · 35J05 · 35J25 1 Introduction PDEs with non-local boundary conditions appear in many scientific and engineering applica- tions, cf. for instance [ 2,7,9,10] and the references therein. However, most of the numerical The work of J.S. is partially supported by NFSC grants 11371298 and 11421110001. B Jie Shen shen@math.purdue.edu Lina Hu linahu@math.tamu.edu Lina Ma linama@psu.edu 1 Department of Mathematics, Texas A&M University, College Station, TX 77843-3368, USA 2 Department of Mathematics, Pennsylvania State University, University Park, State College, PA 16802, USA 3 School of Mathematical Sciences and Fujian Provincial Key Laboratory on Mathematical Modeling and High Performance Computing, Xiamen University, Xiamen 361005, China 4 Department of Mathematics, Purdue University, West Lafayette, IN 47907, USA 123 J Sci Comput methods proposed for PDEs with local boundary conditions can not be directly applied, or the cost increases significantly when applied, to PDEs with non-local boundary conditions. V arious numerical approaches have been developed for problems with non-local boundary conditions, e.g., finite difference methods [ 8,12,15,24–27,30–32] and finite element meth- ods [4,16,28]. A summary of the progress on this topic can be found in [ 11]. Compared to finite difference method and finite element method, spectral methods are capable of providing superior accuracy with fewer unknowns if the solutions are sufficiently smooth [6,19,34,35], and can be especially attractive to deal with problems with non-local features. However, there are only a few efforts on using spectral methods for problems with non-local boundary condi- tions, e.g., Chebyshev spectral collocation method [17] and pseudospectral Legendre method [13], and particularly not much is available on how to efficiently solve the resulting linear systems and its error analysis. The main purposes of this paper are (i) to develop an efficient Spectral-Galerkin method for PDEs with non-local boundary conditions, and (ii) to carry out a rigorous error analysis for the proposed method. We shall also present numerical results to validate the algorithm and its error estimates. The main idea for the efficient algorithm is to recognize the fact that linear systems from problems with non-local boundary conditions can be considered as low-rank perturbations of those from problems with local boundary conditions. Since the problems with local boundary conditions can be solved efficiently by the matrix diagonalization method (see for instance [33,35]), we can then solve the problems with non-local boundary conditions by using the well-known Sherman-Morrison-Woodbury formula. As for the error analysis, we first show that the problems with non-local boundary conditions under consideration are well-posed with suitable conditions on the kernel functions, and then use the coercivity of the bilinear form and polynomial approximation theory to derive optimal error estimates. The paper is organized as follows. Section 2 is devoted to the one-dimensional elliptic equation with non-local boundary conditions: we prove the well-posedness of the problem, develop an efficient Spectral-Galerkin method, and carry out an error analysis. In Sect. 3,w e extend the algorithm and analysis of Sect. 2 to the two dimensional case, in particular we develop an efficient algorithm, by using the Sherman-Morrison-Woodbury formula, which has the same computational complexity as the spectral algorithm for the same problem but with all local boundary conditions. Several extensions are discussed in Sect. 4, including in particular the case where the non-local operator is defined through Fourier transform. Numerical experiments are presented in Sect. 5 to verify the accuracy and efficiency of the method, and as an application, we used the proposed method to solve the difficult scattering problem from an open cavity. Some concluding remarks are given in the last section. 2 One Dimensional Case To fix the idea, we consider the following second order elliptic equation with non-local boundary conditions: αu − u ′′ = f, in I = (− 1, 1), (2.1) u′ + ∫ I A±(x)u(x)dx = 0, at x =± 1, (2.2) where α> 0. The weak formulation for problem ( 2.1)–(2.2)i s :fi n du ∈ H 1(I) such that for any v ∈ H 1(I), 123 J Sci Comput α(u,v) + (u′,v ′) + v(1) ∫ I A+(x)u(x)dx − v(− 1) ∫ I A− (x)u(x)dx = ( f,v) , (2.3) where (u,v) = ∫ I uvdx is the inner product in L2(I), on which the norm is denoted by∥·∥ 0, and H 1(I) is the usual Sobolev space with the norm ∥·∥ 1. 2.1 Wellposedness To study the wellposedness of the above weak formulation, we first recall the following inequality max x∈[−1,1] |u(x)|≤ c0∥u∥1. (2.4) Define a bilinear form on H 1(I) by a(u,v) = α(u,v) + (u′,v ′) + v(1) ∫ I A+(x)u(x)dx − v(− 1) ∫ I A− (x)u(x)dx . (2.5) One can derive from ( 2.4) and Cauchy-Schwarz inequality that ⏐⏐a(u,v) ⏐⏐ ≤ α∥u∥0∥v∥0 +∥ u′∥0∥v′∥0 + c0∥v∥1∥A+∥0∥u∥0 + c0∥v∥1∥A− ∥0∥u∥0 ≲ ∥u∥1∥v∥1. Here and after, A ≲ B means that A ≤ CB for some generic constant C. On the other hand, a(v, v) ≥ α(v,v) + (v′,v ′) − ⏐⏐ ⏐ ⏐v(1) ∫ I A+(x)v(x)dx − v(− 1) ∫ I A− (x)v(x)dx ⏐⏐ ⏐ ⏐ ≥ γ∥v∥ 2 1 − c0∥A+∥0∥v∥2 1 − c0∥A− ∥0∥v∥2 1 ≥ ( γ − c0∥A+∥0 − c0∥A− ∥0 ) ∥v∥2 1, where γ = min(α,1). Hence, an application of the Lax-Milgram lemma to ( 2.3) leads to the following: Theorem 2.1 Assuming C A := min(α,1) − c0(∥A+∥0 +∥ A− ∥0)> 0, (2.6) then (2.3) admits a unique solution satisfying ∥u∥1 ≲ ∥ f ∥0. 2.2 Spectral-Galerkin Approximation Let Ln(x) be the Legendre polynomial of degree n,a n d PN be the space of polynomials of degree less than or equal to N . Let us denote ϕk(x) = 1√ 4k + 6 (Lk(x) − Lk+2(x)), 0 ≤ k ≤ N − 2, ϕN− 1(x) = 1 2(L0(x) + L1(x)), ϕ N (x) = 1 2(L0(x) − L1(x)). (2.7) It is easy to see that PN = span {ϕk(x) : 0 ≤ k ≤ N}. 123 J Sci Comput The Legendre–Galerkin approximation of ( 2.1)–(2.2)i s :F i n du N ∈ PN such that α(u N ,v N ) + (u′ N ,v ′ N ) + vN (1) ∫ I A+(x)u N (x)dx − vN (− 1) ∫ I A− (x)u N (x)dx = (IN f,v N ), ∀vN ∈ PN , (2.8) where IN f is the interpolation polynomial of f with respect to the Legendre-Gauss-Lobatto points {xn}N n=0. Denote u N (x) = ∑N k=0 ukϕk(x), and take in ( 2.8) vN = ϕj , 0 ≤ j ≤ N , (2.8) is reduced to the following linear system: (αM + S + ˜B+ − ˜B− )u = f, (2.9) where u = (u0, u1,..., u N )T , f = ( f0, f1,..., fN )T , f j = ∫ I IN f (x)ϕj (x)dx , M = (m jk )0≤ j,k≤ N , m jk = ∫ I ϕk(x)ϕj (x)dx , S = (s jk )0≤ j,k≤ N , s jk = ∫ I ϕ′ k(x)ϕ′ j (x)dx , ˜B± = (˜b± jk )0≤ j,k≤ N , ˜b± jk = ϕj (±1)a± k , a± k = ∫ I A±(x)ϕk(x)dx . Thanks to the orthogonal properties of Legendre polynomials, we can easily determine the values of the matrix entries in ( 2.9). Namely, M is a symmetric matrix of the form: M = ⎡ ⎢⎢ ⎢⎢⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢⎣ 1√ 6 1√ 6 1 3 √ 10 − 1 3 √ 10 ˜M 00 .. . .. . 00 1√ 6 1 3 √ 10 0 ··· 0 2 3 1 3 1√ 6 − 1 3 √ 10 0 ··· 0 1 3 2 3 ⎤ ⎥⎥ ⎥⎥⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥⎦ , (2.10) where the non-zero elements of ˜M are ˜m jk =˜mkj = ⎧ ⎨ ⎩ 1 4k+6 ( 2 2k+1 + 2 2k+5 ) , j = k, − 1√ 4k+6 1√ 4(k+2)+6 2 2k+5, j = k + 2, 0 ≤ j, k ≤ N − 2. S is a symmetric matrix of the form: S = ⎡ ⎢⎢ ⎢ ⎢ ⎢ ⎢⎣ 00 ˜S ... ... 00 0 ··· 0 1 2 − 1 2 0 ··· 0 − 1 2 1 2 ⎤ ⎥⎥ ⎥ ⎥ ⎥ ⎥⎦ , (2.11) 123 J Sci Comput in which ˜S is a diagonal matrix with ˜skk = 1, 0 ≤ k ≤ N − 2. The matrices ˜B+ and ˜B− are as follows: ˜B+ = ⎡ ⎢⎢ ⎢ ⎢ ⎢ ⎢⎣ 0 ··· 00 0 .. . ... .. . .. . .. . 0 ··· 00 0 a + 0 ··· a+ N− 2 a+ N− 1 a+ N 0 ··· 00 0 ⎤ ⎥⎥ ⎥ ⎥ ⎥ ⎥⎦ , ˜B − = ⎡ ⎢⎢ ⎢ ⎢ ⎢⎣ 0 ··· 00 0 ... ... ... ... ... 0 ··· 00 0 0 ··· 00 0 a − 0 ··· a− N− 2 a− N− 1 a− N ⎤ ⎥⎥ ⎥ ⎥ ⎥⎦ . Since ˜S is diagonal and ˜M is penta-diagonal (with only three non-zero diagonals), the linear system (2.9) can be easily solved in O(N) operations. Remark 2.1 It is clear that the approach presented above applies to the problem with more general boundary conditions of the kind a ±u(±1) + b±u′(±1) + c± ∫ I K±(x)u(x)dx = d±, with given constants a±, b±, c±, d±. 2.3 Error Estimates For elliptic problems with local boundary conditions, the error behaviors of spectral approxi- mations have been well studied (cf. for instance [6,35] and the references therein). However, not much is available for error analysis of spectral approximations to elliptic problems with non-local boundary conditions. Hence, we provide below a rigorous error analysis in the one-dimensional case. We first introduce the non-uniformly Jacobi-weighted Sobolev space: B m α,β(I) := {u : ∂k x u ∈ L2 ωα+k,β+k (I), 0 ≤ k ≤ m}, m ∈ N, (u,v) Bm α,β = m∑ k=0 (∂k x u,∂k x v)ωα+k,β+k , ∥u∥Bm α,β = (u, u)1/2 Bm α,β , |u|Bm α,β =∥ ∂m x u∥ωα+m,β+m , where ωa,b(x) = (1 − x)a(1 + x)b, a, b > − 1, is the Jacobi weight function. Note that ∥u∥2 ωa,b := ∫ I u2ωa,bdx while we still use ∥·∥ k to denote the usual norm in H k . Let π1 N : H 1(I) → PN be defined by ( π1 N u − u,v N ) + ( ∂x(π1 N u − u), ∂1 x vN ) = 0,v N ∈ PN . We recall below the error estimate for π1 N [35, Theorem 3.36 and Theorem 3.37]. Lemma 2.1 ([35]) If u ∈ H 1(I) and ∂x u ∈ Bm− 1 0,0 (I) with 1 ≤ m,t h e nw eh a v e ∥π1 N u − u∥μ ≲ Nμ− m∥∂m x u∥ωm− 1,m− 1 ,μ = 0, 1. 123 J Sci Comput Now we present the main theorem in this section. Theorem 2.2 Let u and u N be the solutions of (2.3) and (2.8), respectively. Then, under the condition (2.6),w eh a v ef o rm≥ 1 and k > 1, ∥u − u N ∥1 ≲ N 1− m∥∂m x u∥ωm− 1,m− 1 + N− k∥∂k x f ∥ωk,k . Proof Using (2.3)a n d( 2.8) leads to the error equation a(u − u N ,v N ) = ( f − IN f,v N ), v N ∈ PN , (2.12) where a(u − u N ,v N ) =α(u − u N ,v N ) + (u′ − u′ N ,v ′ N ) + vN (1) ∫ I A+(x)(u − u N (x))dx − vN (− 1) ∫ I A− (x)(u − u N (x))dx . Denote ˆeN = π1 N u − u N and ˜eN = π1 N u − u.T a k i n gvN =ˆeN ∈ PN in the error equation (2.12), we obtain α∥ˆeN ∥2 0 +∥ˆe′ N ∥2 0 =α ( ˜eN , ˆeN ) + ( ˜e′ N , ˆe′ N ) −ˆeN (1) ∫ I A+(x)(ˆeN −˜eN )dx +ˆeN (− 1) ∫ I A− (x) ( ˆeN −˜eN ) dx + ( f − IN f, ˆeN ) . For α> 0w eh a v e α∥ˆeN ∥2 0 +∥ˆe′ N ∥2 0 ≥ γ∥ˆeN ∥2 1,γ := min(α,1). On the other hand, it follows from ( 2.4)t h a t ˆeN (±1) ∫ I A±(x)(ˆeN −˜eN )dx ≤ c0∥ˆeN ∥1∥A±∥0(∥ˆeN ∥1 +∥˜eN ∥0). We then derive from above (γ − c0∥A+∥0 − c0∥A− ∥0)∥ˆeN ∥2 1 ≤ α∥˜eN ∥1∥ˆeN ∥1 +∥˜eN ∥1∥ˆeN ∥1 + c0∥A+∥0∥ˆeN ∥1∥˜eN ∥0 + c0∥A− ∥0∥ˆeN ∥1∥˜eN ∥0 +∥ f − IN f ∥0∥ˆeN ∥1, which implies that, under the condition γ − c0∥A+∥0 − c0∥A− ∥0 > 0, we have ∥ˆeN ∥1 ≲ ∥˜eN ∥1 +∥ f − IN f ∥0. Therefore, we have ∥u − u N ∥1 ≤∥ ˆeN ∥1 +∥˜eN ∥1 ≲ ∥˜eN ∥1 +∥ f − IN f ∥0. We recall from Theorem 3.43 in [ 35]t h a t ∥IN f − f ∥0 ≤ cN − m∥∂m x f ∥ωm,m ∀ f ∈ Bm 0,0(I). (2.13) The desired result follows from the above and Lemma 2.1. ⊓⊔ 123 J Sci Comput 3 Two Dimensional Case Consider the following second order elliptic equation with non-local boundary conditions in both x and y directions: αu − Δ u = f, in Ω = (− 1, 1)2, (3.1) ∂x u(±1, y) + ∫ I K± 1 (ξ,y)u(±1,ξ)dξ= 0, y ∈ I = (− 1, 1), (3.2) ∂y u(x,±1) + ∫ I K± 2 (x,ξ)u(ξ,±1)dξ= 0, x ∈ I = (− 1, 1). (3.3) The variational formulation for ( 3.1)–(3.3)i s :fi n du ∈ H 1(Ω) such that , a(u,v) = ( f,v) , ∀v ∈ H 1(Ω), (3.4) where (u,v) = ∫ I ∫ I uvdxdy and a(u,v) := α(u,v) + (∇ u,∇v) + ( ∫ I K+ 1 (ξ,y)u(1,ξ)dξ,v(1, y) ) y∈I − ( ∫ I K− 1 (ξ,y)u(− 1,ξ)dξ,v(− 1, y) ) y∈I + ( ∫ I K+ 2 (x,ξ)u(ξ,1)dξ,v(x, 1) ) x∈I − ( ∫ I K− 2 (x,ξ)u(ξ,− 1)dξ,v(x,− 1) ) x∈I . 3.1 Wellposedness As in the one-dimensional case, ∥·∥ μ with μ ≥ 0 will denote the norm in Hμ(Ω) .L e tu s first show the following: Lemma 3.1 F or any u,v ∈ H 1(Ω) and K (x,ξ) such that K (·,ξ) ∈ L2(I) for all ξ ∈ I and K (x,·) ∈ L2(I) for all x ∈ I , we have ⏐⏐ ⏐ ⏐ ∫ I ∫ I K(x,ξ)u(ξ,b)v(x, b)dξdx ⏐⏐ ⏐ ⏐ ≤ c 2 0∥K∥0∥u∥1∥v∥1, b =± 1, ⏐⏐ ⏐ ⏐ ∫ I ∫ I K(ξ,y)u(a,ξ) v(a, y)dξdy ⏐⏐ ⏐ ⏐ ≤ c 2 0∥K∥0∥u∥1∥v∥1, a =± 1, where c0 is the constant in (2.4). Proof We only need to show the first inequality with b = 1, the other cases can be shown by the same approach. Denote g(x) := ∫ I K(x,ξ)u(ξ,1)dξ.T h e n ⏐⏐ ⏐ ⏐ ∫ I ∫ I K(x,ξ)u(ξ,1)v(x, 1)dξdx ⏐⏐ ⏐ ⏐ ≤ ( ∫ I (g(x))2dx ) 1 2 ( ∫ I (v(x, 1))2dx ) 1 2 . Thanks to (2.4), |v(x, 1)|2 ≤ c2 0 ( ∫ I (v(x, y))2dy + ∫ I (vy(x, y))2dy ) . 123 J Sci Comput Hence, ∫ I |v(x, 1)|2dx ≤c2 0 ∫ I ( ∫ I (v(x, y))2dy + ∫ I (vy(x, y))2dy ) dx ≤ c2 0∥v∥2 1. On the other hand, we derive from Cauchy-Schwarz inequality and the above result that |g(x)|≤ ( ∫ I (K(x,ξ) )2dξ ) 1 2 ( ∫ I (u(ξ,1))2dξ ) 1 2 ≤ ( ∫ I (K(x,ξ) )2dξ ) 1 2 · c0∥u∥1. Hence ∫ I (g(x))2dx ≤ ∫ I ∫ I (K(x,ξ) )2dξdx · c2 0∥u∥2 1 = c2 0∥K∥2 0∥u∥2 1, from which the conclusion follows. ⊓⊔ We can then derive from the above lemma that the bilinear form a(·,·) is continuous. On the other hand, we derive from the above lemma that a(u, u) ≥ α∥u∥2 0 +∥ ∇u∥2 0 − c2 0(∥K+ 1 ∥0 +∥ K− 1 ∥0 +∥ K+ 2 ∥0 +∥ K− 2 ∥0)∥u∥2 1 ≥ ( min(α,1) − c2 0(∥K+ 1 ∥0 +∥ K− 1 ∥0 +∥ K+ 2 ∥0 +∥ K− 2 ∥0) ) ∥u∥2 1. Hence, a(·,·) is coercive in H 1(Ω) × H 1(Ω) if CK := min(α,1) − c2 0(∥K+ 1 ∥0 +∥ K− 1 ∥0 +∥ K+ 2 ∥0 +∥ K− 2 ∥0)> 0. (3.5) Therefore, applying the Lax-Milgram lemma to ( 3.4) leads to Theorem 3.1 Under the condition (3.5), the problem (3.4) has a unique solution satisfying ∥u∥1 ≲ ∥ f ∥0. 3.2 Spectral-Galerkin Approximation Let {ϕk} be the basis functions defined in ( 2.7), and denote X N = span { ϕk(x)ϕj (y) : 0 ≤ k, j ≤ N } . The Legendre–Spectral-Galerkin approximation to ( 3.4)i s :F i n du N ∈ X N such that a(u N ,v N ) = (IN f,v N ) ∀vN ∈ X N , (3.6) where IN : C(Ω) → X N is the Legendre-Gauss-Lobatto interpolation operator. It is clear that the above problem admits a unique solution, as its continuous counter part ( 3.4). 123 J Sci Comput Setting u N (x, y) = N∑ k, j=0 ukj ϕk(x)ϕj (y), U = (ukj )0≤k, j≤ N , F = ( f pq )0≤ p,q≤ N , f pq = ( IN f,ϕ p(x)ϕq(y) ) , Mx = ( (mx)pk ) 0≤ p,k≤ N ,( mx)pk = ∫ I ϕk(x)ϕp(x)dx , My = ( (m y)qj ) 0≤q, j≤ N ,( m y)qj = ∫ I ϕj (y)ϕq(y)dy, Sx = ( (sx)pk ) 0≤ p,k≤ N ,( sx)pk = ∫ I ϕ′ k(x)ϕ′ p(x)dx , Sy = ( (sy)qj ) 0≤q, j≤ N ,( sy)qj = ∫ I ϕ′ j (y)ϕ′ q(y)dy, ˜B± x = ( ( ˜b± x ) pk ) 0≤ p,k≤ N , ( ˜b± x ) pk = ∫ I ∫ I K± 2 (x,ξ) ϕk(ξ)dξϕp(x)dx , ˜B± y = ( ( ˜b± y ) qj ) 0≤q, j≤ N , ( ˜b± y ) qj = ∫ I ∫ I K± 1 (ξ,y)ϕj (ξ)dξϕq(y)dy, T+ = ( t+ qj ) 0≤q, j≤ N , t+ (N− 1)(N− 1) = 1, t+ qj = 0e l s e w h e r e, T− = ( t− qj ) 0≤q, j≤ N , t− NN = 1, t− qj = 0e l s e w h e r e, by taking vN = ϕp(x)ϕq(y) in (3.6)f o ra l l0 ≤ p, q ≤ N ,w efi n dt h a t(3.6) is reduced to the following matrix equation: αMx UM T y + Sx UM T y + Mx US T y + T+U( ˜B+ y )T − T− U( ˜B− y )T + ˜B+ x UT + − ˜B− x UT − = F. (3.7) We note that Mx = My = M given by (2.10), and Sx = Sy = S given by (2.11). Unlike for the problem with local boundary condition [33], the matrix system (3.7) can not be solved directly by the matrix diagonalization method. However, since the only difference between the problems with local and non-local boundary conditions is at the boundary, it is not hard to realize that the matrix in ( 3.7) is simply a low-rank perturbation of a correspond- ing matrix with local boundary conditions. Since the matrix system with local boundary conditions can be solved efficiently by using the matrix diagonalization method [ 33], we can use the Sherman-Morrison-Woodbury formula (cf. for instance [ 18]) (A + ˜U ˜V T )− 1 = A− 1 − A− 1 ˜U(I + ˜V T A− 1 ˜U)− 1 ˜V T A− 1, (3.8) where A is a n × n matrix, U and V are n × k matrix, and I is the k × k identity matrix. We note that if k ≪ n and A can be inverted efficiently, the Sherman-Morrison-Woodbury formula provides an efficient algorithm to invert the perturbed matrix A + ˜U ˜V T . We proceed with the detailed approach below. First we denote A = αMy ⊗ Mx + My ⊗ Sx + Sy ⊗ Mx. (3.9) Then, (3.7) can be rewritten in the form ( A + ˜B+ y ⊗ T+ − ˜B− y ⊗ T− + T+ ⊗ ˜B+ x − T− ⊗ ˜B− x ) u = f, (3.10) 123 J Sci Comput where f and u are the vectors of length M := (N + 1)2 formed by the columns of U and F, i.e., f = ( f00, f10,..., fN 0; f01, f11,..., fN 1; f0N , f1N ,..., fNN )T . According to the Sherman-Morrison-Woodbury formula (3.8), we need to find matrices ˜U, ˜V of order M × K with K ≪ M such that ˜U ˜V T = ˜B+ y ⊗ T+ − ˜B− y ⊗ T− + T+ ⊗ ˜B+ x − T− ⊗ ˜B− x . (3.11) By a careful examination, we find a pair of ˜U, ˜V of order M × K with (M, K) = ((N + 1)2, 4(N + 1)) as follows. ˜U = ⎡ ⎢⎢ ⎢ ⎢ ⎢ ⎢ ⎢⎣ ( ˜B + y ) 0 − ( ˜B− y ) 0 00 ... ... ... ...( ˜B+ y ) N− 2 − ( ˜B− y ) N− 2 00( ˜B+ y ) N− 1 − ( ˜B− y ) N− 1 I N+1 0( ˜B+ y ) N − ( ˜B− y ) N 0 I N+1 ⎤ ⎥⎥ ⎥ ⎥ ⎥ ⎥ ⎥⎦ , where I N+1 denotes the(N +1)×(N +1) identity matrix and 0 the zero matrix with the same dimension, while ( ˜B+ y ) j is the (N + 1) × (N + 1) matrix whose N -th row is the ( j + 1)-th row of the matrix ˜B+ y and 0 otherwise, i.e., ( ˜B+ y ) j = ⎡ ⎢⎢ ⎢ ⎢ ⎢⎣ 00 ··· 00 ... ... ... ... ...( ˜b + y ) j0 ( ˜b+ y ) j1 ··· ( ˜b+ y ) j(N− 1) ( ˜b+ y ) j N 00 ··· 00 ⎤ ⎥⎥ ⎥ ⎥ ⎥⎦ , 0 ≤ j ≤ N, and ( ˜B − y ) j is the (N + 1) × (N + 1) matrix whose (N + 1)-th row is the ( j + 1)-th row of the matrix ˜B− y and 0 otherwise, i.e., ( ˜B− y ) j = ⎡ ⎢⎢ ⎢⎣ 00 ··· 00 .. . .. . ... .. . .. . 00 ··· 00 (˜b − y ) j0 (˜b− y ) j1 ··· (˜b− y ) j(N− 1) (˜b− y ) j N ⎤ ⎥⎥ ⎥⎦ , 0 ≤ j ≤ N. ˜V T = ⎡ ⎢⎢ ⎢⎣ E 0(N− 1) ··· E(N− 2)(N− 1) E(N− 1)(N− 1) EN(N− 1) E0N ··· E(N− 2)N E(N− 1)N ENN 0 ··· 0 ˜B+ x 0 0 ··· 00 − ˜B− x ⎤ ⎥⎥ ⎥⎦ , where E ij is the(N +1)×(N +1) matrix whose only non-zero entry is Eij (i +1, j +1) = 1. Thanks to (3.8), we can express the solution u of ( 3.10)b y u = A− 1f − A− 1 ˜U(I + ˜V T A− 1 ˜U)− 1 ˜V T A− 1f. (3.12) We recall that the linear system Av = f can be solved by using the matrix diagonalization method in a small multiple of N 3 operations (cf. [ 33] and Appendix). Our algorithm for computing (3.12)i s : 123 J Sci Comput 1. Precompute the capacitance matrix I + ˜V T A− 1 ˜U and its LU factorization. The dom- inating cost of this step is to compute A− 1 ˜U . A direct approach would require O(N 4) operations, but the cost can be reduced to O(N 3) by using a similar procedure as in the construction of the capacitance matrix for solving the biharmonic equation. We refer to [5,33] for more detail in this regard. 2. Compute u by (3.12). The cost of this step is O(N 3) for each righthand side f. 3.3 Error Estimates The error analysis for the two-dimensional case can be carries out using a similar procedure as in the one-dimensional case. Theorem 3.2 Let u and u N be the solutions of (3.4) and (3.6), respectively. Then, under the condition (3.5),w eh a v e ∥u − u N ∥1 ≲ N 1− m∥u∥m + N− k∥ f ∥k. Proof We first recall that there exists an operator Π 1 N : H 1(Ω) → PN × PN such that [ 3, Theorem 7.3] ∥u − Π 1 N u∥1 ≲ N 1− m∥u∥m, m ≥ 1. (3.13) We also recall that [ 3, Theorem 13.4] ∥IN f − f ∥μ ≲ Nμ− k∥ f ∥k, 0 ≤ μ ≤ 1, k > 1, (3.14) where IN : C(Ω) → PN × PN is the interpolation operator based on the Legendre-Gauss- Lobatto points. Using (3.4)a n d( 3.6) leads to the error equation a(u − u N ,v N ) = ( f − IN f,v N ), v N ∈ PN × PN , (3.15) where a(u − u N ,v N ) = α(u − u N ,v N ) + (∇(u − u N ),∇vN ) + ( ∫ I K+ 1 (ξ,y)(u(1,ξ) − u N (1,ξ) )dξ,vN (1, y) ) y∈I − ( ∫ I K− 1 (ξ,y)(u(− 1,ξ) − u N (− 1,ξ) )dξ,vN (− 1, y) ) y∈I + ( ∫ I K+ 2 (x,ξ) (u(ξ,1) − u N (ξ,1))dξ,vN (x, 1) ) x∈I − ( ∫ I K− 2 (x,ξ) (u(ξ,− 1) − u N (ξ,− 1))dξ,vN (x,− 1) ) x∈I . (3.16) To estimate the error, we denote ˆeN = Π 1 N u − u N and ˜eN = Π 1 N u − u,a n dt a k evN = ˆeN ∈ PN × PN in the error equation ( 3.15). We need to bound the last four terms involving integrals. Since the treatment for the four terms are essentially the same, we will only bound the last term. Thanks to Lemma 3.1⏐⏐ ⏐ ⏐ ( ∫ I K− 2 (x,ξ) (u(ξ,− 1) − u N (ξ,− 1))dξ,ˆeN (x,− 1) ) x∈I ⏐⏐ ⏐ ⏐ ≤ c 2 0∥K− 2 ∥0∥u − u N ∥1∥ˆeN ∥1 ≤ c2 0∥K− 2 ∥0(∥ˆeN ∥1 +∥˜eN ∥1)∥ˆeN ∥1. (3.17) 123 J Sci Comput We then derive from ( 3.16) with vN =ˆeN and (3.17)t h a t α∥ˆeN ∥2 0 +∥ ∇ˆeN ∥2 0 ≤ α(˜eN , ˆeN ) + (∇˜eN ,∇ˆeN ) + c2 0(∥K+ 1 ∥0 +∥ K− 1 ∥0 +∥ K+ 2 ∥0 +∥ K− 2 ∥0)(∥ˆeN ∥1 +∥˜eN ∥1)∥ˆeN ∥1. Therefore, under the condition ( 3.5), we have CK ∥ˆeN ∥1 ≲ ∥˜eN ∥1 +∥ f − IN f ∥0. Therefore, we have ∥u − u N ∥1 ≤∥ ˆeN ∥1 +∥˜eN ∥1 ≲ ∥˜eN ∥1 +∥ f − IN f ∥0. The desired result follows from the above, ( 3.13)a n d( 3.14). ⊓⊔ 4 Some Extensions In this section we consider some immediate extensions to related problems that can be treated by a similar approach. 4.1 Problems with Local and Non-local Boundary Conditions The problem we considered in the last section is with non-local boundary conditions at all four boundaries. The same approach can be easily extended to the case where we only have non-local boundary conditions at part of the boundaries. Consider, as an example, the following second order elliptic equation with non-local boundary conditions only in the y-direction: αu − Δ u = f, in Ω = (− 1, 1) 2,α > 0, (4.1) u(±1, y) = 0, y ∈ I = (− 1, 1), (4.2) ∂y u(x,±1) + ∫ I K±(x,ξ)u(ξ,±1)dξ= 0, x ∈ I = (− 1, 1). (4.3) Define the approximation space ˜X N = { u ∈ PN × PN : u(±1, y) = 0, y ∈ (− 1, 1) } , we have ˜X N = span { ϕk(x)ϕj (y) : 0 ≤ k ≤ N − 2; 0 ≤ j ≤ N } ,w h e r e{ϕk} are the basis functions defined in ( 2.7). Then, the Legendre–Galerkin method for ( 4.1)–(4.3)i st ofi n d u N ∈ ˜X N such that ˜a(u N ,v N ) = (IN f,v N ) ∀vN ∈ ˜X N , (4.4) where ˜a(u,v) := α(u,v) + (∇ u,∇v) + ( ∫ I K+(x,ξ)u(ξ,1)dξ,v(x, 1) ) x∈I − ( ∫ I K− (x,ξ)u(ξ,− 1)dξ,v(x,− 1) ) x∈I . Expanding the approximate solution as u N (x, y) = N− 2∑ k=0 N∑ j=0 ukj ϕk(x)ϕj (y), 123 J Sci Comput and using similar notations as before, we find that (4.4) can be reduced to the matrix equation αMx UM T y + Sx UM T y + Mx US T y + ˜B+ x UT + − ˜B− x UT − = F. (4.5) Hence, we can still apply the Sherman-Morrison-Woodbury formula (3.8) to solve the above equation efficiently with a capacitance matrix of the size 2 (N − 1). 4.2 Problems with Other Type of Non-local Boundary Conditions In some applications, e.g., the scattering problem from an open cavity, the non-local boundary conditions can take different forms. Consider, for example, the problem ( 4.1) with (4.2)a n d the following non-local boundary conditions ∂y u(x,±1) + T ±(u(x,±1)) = 0, x ∈ I = (− 1, 1), (4.6) where the nonlocal operator T ± is defined by T ±(u(x)) = ∫ R iβ±(ξ)ˆu(ξ)eiξx dξ, (4.7) with given functions β±(ξ) and ˆu(ξ) being the Fourier transform of u(x), i.e., ˆu(ξ)= 1√ 2π ∫ R u(x)e− iξx dx . Once again, expanding the approximate solution as u N (x, y) = N− 2∑ k=0 N∑ j=0 ukj ϕk(x)ϕj (y), we still find that the coefficient matrix U = (ukj ) satisfies the matrix equation ( 4.5) except that the matrices ˜B± x now are defined by ( ˜B± x )kj = (T ±ϕj ,ϕk)L2(I), 0 ≤ k, j ≤ N − 2. (4.8) Note that T ±u involve an integral over unbounded domain which is not easy to deal with. Different approaches have been proposed for computing (4.7), e.g. by Green’s function method or the method of Fourier transform [1,20], or with Hadamard finite-part integral [14]. We describe below an elegant and accurate algorithm to compute ( 4.8). The key is the following formula for the Fourier transform of Legendre polynomials (cf. Formula 18.17.19 in [ 29]) ˆLn(ξ)= 1√ 2π ∫ 1 − 1 Ln(x)e− iξx dx = in √ 2π ξ Jn+ 1 2 (ξ), (4.9) where i = √ − 1a n d Jν(ξ) is the Bessel function of order ν.T h u s ,w eh a v e ˆϕj (ξ) = ˆLk(ξ)− ˆLk+2(ξ), and by definition, ( ˜B± x )kj = (T ±φj ,φk)L2(I) = ∫ I ( ∫ R iβ±(ξ)ˆφj (ξ)eiξx dξ ) φk(x)dx = ∫ R iβ±(ξ)ˆφj (ξ) ( ∫ I φk(x)eiξx dx ) dξ= ∫ R iβ±(ξ)ˆφj (ξ)ˆφk(−ξ)dξ. (4.10) We can compute the above integral accurately by using Hermite-Gauss quadrature, or by splitting the whole lineR = (−∞ ,− L)∪[− L, L]∪(L,∞ ) (with a suitable L > 0) and using 123 J Sci Comput Legendre-Gauss-Lobatto quadrature on [− L, L] and Laguerre-Gauss-Radau quadrature on (−∞ ,− L) and (L,∞ ). 4.3 Three-Dimensional Problems The approach presented above can also be extended to three-dimensional problems with non-local boundary conditions. Consider, as an example, the following problem: αu − Δ u = f, in Ω = (− 1, 1)3,α > 0, (4.11) u(±1, y, z) = 0, y, z ∈ I = (− 1, 1), (4.12) u(x,±1, z) = 0, x, z ∈ I = (− 1, 1), (4.13) ∂z u(x, y,±1) + ∫ I ∫ I K±(x, y;˜x, ˜y)u(˜x, ˜y,±1)d ˜xd ˜y = 0, x, y ∈ I. (4.14) If the non-local boundary conditions in the above is replaced by local boundary conditions, an efficient Legendre-spectral Galerkin method based on matrix diagonalization is described in detail in [33]. To solve (4.11)–(4.14) with a Legendre–Galerkin method, we can first diag- onalize in z-direction to reduce the approximate problem in 3-D to a sequence of approximate problems in 2-D with non-local boundary conditions that can be solved by using the approach presented above. 4.4 Parabolic Equations The algorithm we presented above for elliptic problems are well-suited for parabolic prob- lems. Consider, as an example, the following 2-D parabolic problem: u t − Δ u = f, in Ω × (0, T], (4.15) u(±1, y, t) = 0, y ∈ (− 1, 1), t ∈ (0, T], (4.16) u y(x,±1, t) + ∫ I K±(x,ξ)u(ξ,±1, t)dξ= 0, x ∈ (− 1, 1), t ∈ (0, T], (4.17) u(x, y, 0) = u0(x, y), ( x, y) ∈ ¯Ω, (4.18) where Ω = (− 1, 1)2. Using the same notations as in Sect. 4.1, the Legendre–Galerkin method for ( 4.15)–(4.18) leads to the following system of ODEs: Mx U′(t)M T y + Sx U(t)M T y + Mx U(t)ST y + ˜B+ x U(t)T+ − ˜B− x U(t)T− = F(t). Applying the second-order backward difference method in time leads to Mx 3U n+1 − 4U n + U n− 1 2Δ t M T y + Sx U n+1 M T y + Mx U n+1 ST y + ˜B+ x U n+1T+ − ˜B− x U n+1T− = Fn+1, which can be rewritten as 3Mx U n+1 M T y + 2Δ tS x U n+1 M T y + 2Δ tM x U n+1 ST y + 2Δ t ˜B+ x U n+1T+ − 2Δ t ˜B− x U n+1T− = Mx(4U n − U n− 1)M T y + 2Δ tF n+1. (4.19) Note that the above system is exactly the same as the system ( 4.5) so it can be efficiently solved using the Sherman-Morrison-Woodbury formula ( 3.8). Furthermore, the capacitance 123 J Sci Comput Fig. 1 Example 5.1: errors versus N in semi-log scale 15 20 25 30 3510 −15 10 −10 10 −5 10 0 Polynomial degree N Error H1 error L2 error L∞ error matrix I + ˜V T A− 1 ˜U will be the same at each time step so it only has to be precomputed once. 5 Numerical Validations and Applications 5.1 Numerical Validations We present below several numerical experiments using the efficient Spectral-Galerkin method developed in previous sections. Here the integral terms on the boundary conditions are com- puted by using Legendre-Gauss-Lobatto quadrature. All computations are performed with MA TLAB on a personal computer. Example 5.1 Two dimensional problem with non-local boundary conditions in the y- direction: u− Δ u = sin(4πx) ( ( 1+16π 2)( 1 3π sin(3πy)+ 9 8 y ) +3π sin(3πy) ) , in Ω = (− 1, 1)2, u(±1, y) = 0, y ∈ (− 1, 1), ∂y u(x,±1) + ∫ I ( ∓ 1 9 ) sin(4πx) sin(4πξ)u(ξ,±1)dξ= 0, x ∈ (− 1, 1). The exact solution is u(x, y) = sin(4πx)( 1 3π sin(3πy) + 9 8 y). In Fig. 1,w ep l o tt h ee r r o r∥u − u N ∥ in the H 1, L2, L∞ norms as a function of the polynomial degree N in semi-log scale. One can observe that the approximate solutions converge exponentially to the exact solution. Example 5.2 Two dimensional problem with non-local boundary conditions in both x and y directions: 123 J Sci Comput Fig. 2 Example 5.2: errors versus N in semi-log scale 15 20 25 30 3510 −15 10 −10 10 −5 10 0 Polynomial degree N Error H1 error L2 error L∞ error u − Δ u = ( 1 + (aπ)2 + (bπ)2) sin(aπx) sin(bπy), in Ω = (− 1, 1)2, ∂x u(±1, y) + ∫ I ∓ c1 sin(aπξ)sin(bπy)u(±1,ξ)dξ= 0, y ∈ (− 1, 1), ∂y u(x,±1) + ∫ I ∓ c2 sin(aπx) sin(bπξ)u(ξ,±1)dξ= 0, x ∈ (− 1, 1), where c1 = 2a2π2 cot(aπ) 2aπ− sin(2aπ) , c2 = 2b2π2 cot(bπ) 2bπ− sin(2bπ) , and the exact solution is u(x, y) = sin(aπx) sin(bπy), a = b = 4.499. We plot in Fig. 2 the error ∥u − u N ∥ in H 1, L2, L∞ norms. Numerical results show that the errors decay exponentially, and verify the error estimate established in Theorem 3.2. Example 5.3 Two-dimensional parabolic equation with non-local boundary conditions. ut − Δ u = cos(πt) sin(4πx) ( 16π2( 1 3π sin(3πy) + 9 8 y ) + 3π sin(3πy) ) − π sin(πt) sin(4πx) ( 1 3π sin(3πy) + 9 8 y ) , in Ω × (0, T], u(±1, y, t) = 0, y ∈ (− 1, 1), t ∈ (0, T], u y(x,±1, t) + ∫ I ( ∓ 1 9 ) sin(πx) sin(πξ)u(ξ,±1, t)dξ= 0, x ∈ I, t ∈ (0, T], u(x, y, 0) = sin(4πx) ( 1 3π sin(3πy) + 9 8 y ) ,( x, y) ∈ ¯Ω. The exact solution is u(x, y, t) = cos(πt) sin(4πx)( 1 3π sin(3πy) + 9 8 y). We first fix Δ t = 10− 4 so that the time discretization error is negligible compared to the spatial error, and plot in Fig. 3 the errors vs N in semi-log scale. Since the solution is smooth, we observe as usual the exponential convergence until the errors are dominated by the time discretization. Then, we fix N = 32 so the spatial error is negligible compared with time e r r o r ,a n dp l o ti nF i g .4 the errors in log-log scale. As expected we observe second-order accuracy in time. 123 J Sci Comput Fig. 3 Example 5.3: Δ t = 10− 4, T = 1 15 20 25 3010 −12 10 −10 10 −8 10 −6 10 −4 10 −2 10 0 Polynomial degree N Error H1 error L2 error L∞ error Fig. 4 Example 5.3: N = 32, T = 1 10 −4 10 −3 10 −2 10 −110 −12 10 −10 10 −8 10 −6 10 −4 10 −2 Time step Error H1 error L2 error L∞ error slope=2 Fig. 5 Geometry of open cavity S c Ω ΓΓ Γc 5.2 Application to the Scattering Problem from an Open Cavity The scattering problem from open cavities has important applications and is notorious difficult to compute, especially at high wave numbers (cf. [ 2,21,22] and the references therein). The geometry of the open cavity Ω = (a, b) × (c, d),e n c l o s e db yt h ea p e r t u r eΓ and the wall S with perfect conductivity, is shown in Fig. 5. Above the flat surface Γ ∪ Γ c,t h e medium is homogeneous with positive dielectric permittivity ε0 and magnetic permeability μ0; while inside the cavity, the medium has dielectric permittvity ε.L e t ω be the angular frequency of the incident wave, the wave numbers above the ground and in the cavity are κ 0 = ω√ ε0μ0,κ = ω√ εμ0, respectively. 123 J Sci Comput The scattered wave satisfies the following Helmholtz equation Δ u + κ2u = 0, in Ω, u = 0, on S, ∂n u = T u + g, on Γ, (5.1) where the nonlocal (Dirichlet-to-Neumann) operator T is defined by the Fourier transform of u: T (u(x, d)) = ∫ R iβ(ξ)ˆu(ξ,d)eiξx dξ, (5.2) where ˆu(ξ,d) is the Fourier transform of u(x, d), i.e., ˆu(ξ,d) = 1√ 2π ∫ R u(x, d)e− iξx dx , and β(ξ)defined as β(ξ)= { (κ2 0 − ξ2)1/2, for |ξ| <κ 0, i(ξ2 − κ2 0 )1/2, for |ξ| >κ 0, and g(x) =− 2iκ0 cos θeiκ0 x sin θ resulting from the incident field. Readers can refer to [2,23] for more detail. Note that the non-local operator is of the type considered in Sect. 4.2,s ow eo n l yh a v et o compute the matrix Bkj = (T φj,φk)L2(I) = ∫ I ( ∫ R iβ(ξ)ˆφj (ξ)eiξx dξ ) φk(x)dx = ∫ R iβ(ξ)ˆφj (ξ)ˆφk(−ξ)dξ. (5.3) It is clear from the odd-even property of the Legendre polynomials that ˆφn(−ξ)= (− 1)n ˆφn(ξ). (5.4) Therefore, when j + k is odd, we have Bkj = 0, and when j + k is even, Bkj = 2(− 1)k i ∫ R+ β(ξ) ˆφk(ξ) ˆφj(ξ)dξ. (5.5) We approximate the above integral as follows: First we split R+ =[ 0, L]∪ (L,∞ ) (with a suitable L > 0) and using Legendre-Gauss-Lobatto quadrature on [0, L] and Laguerre- Gauss-Radau quadrature on (L,∞ ). We present below some numerical experiments by taking Ω as a box with coordinates: [− 0.5, 0.5]×[ − 0.25, 0]. In order to compare our results to those in the literature [ 2,14], we take κ0 = κ = 32π and the angle of the incident wave θ = 0. The magnitude of the scattered wave on Γ is plotted in Fig. 6. It matches well with existing results in [ 2,14]. To determine the order of convergence, we took the approximate solution with N = 300 as the reference solution, and plotted the error vs N in Fig. 7. We observe a second-order convergence. Note that we can not expect spectral accuracy due to the singularities at the corners of the cavity. We recall that only first-order convergence result was reported in [ 2] using the finite-difference method. It is well-known that for problems with corner singularities, spectral methods will double the convergence rate of FEM or FD methods with uniform meshes, thanks to the clustering of Legendre-Gauss points near the corners. 123 J Sci Comput Fig. 6 Magnitude of scattered wave, κ = 32π −0.5 0 0.5 0 0.2 0.4 0.6 0.8 1 1.2 1.4 x magnitude Fig. 7 log-log plot for cavity problem, compare with u 300,κ = 32π 1.75 1.8 1.85 1.9 1.95 2 −3 −2.5 −2 −1.5 −1 log10 N log10(Error) L2 Error L∞ Error slope=−2 6 Concluding Remarks We developed an efficient Spectral-Galerkin method for elliptic equations with non-local boundary conditions. The method makes essential use of the Sherman-Morrison-Woodbury formula, which allows us to solve problems with non-local boundary conditions with the same computational complexity as required for problems with local boundary conditions. We also carried out a rigorous error analysis, and derived optimal error estimates for the proposed algorithms. Several numerical tests are provided to validate the algorithms and our error analysis. As an application, we used the proposed method to solve the scattering problem from an open cavity. Appendix: Matrix Diagonalization Method In this section we briefly recall the matrix diagonalization method in [33] for solving the linear system Au = f where A is the matrix defined in ( 3.9). We can rewrite it as the following matrix equation: 123 J Sci Comput αMx UM T y + Sx UM T y + Mx US T y = F. (6.1) We diagonalize in x-direction and reduce the problem to N + 1 one-dimension equations (in y-direction) following the steps below: 1. Consider the generalized eigenvalue problem: Mx ¯x = λSx ¯x. (6.2) Mx and Sx are symmetric positive definite matrices. Let Λ be the diagonal matrix whose diagonal entries λp are the eigenvalues of ( 6.2), and let E be the matrix whose columns are the eigenvectors of ( 6.2). We have Mx E = Sx EΛ, E− 1 = E T . (6.3) 2. Let U = EV , thanks to ( 6.3), the equation ( 6.1) becomes αSx EΛ VM T y + Sx EV M T y + Sx EΛ VS T y = F. Multiplying E T S− 1 x to both sides of the above equation yields αΛ VM T y + VM T y + Λ VS T y = E T S− 1 x F := G. (6.4) 3. Let vp = (vp0,v p1,...,v pN )T and gp = (gp0, gp1,..., gpN )T , 0 ≤ p ≤ N . Then the p-th row of the equation ( 6.4) can be written as ((αλp + 1)My + λp Sy)vp = gp. (6.5) Since My and Sy are sparse, we can solve ( 6.5)i n O(N) operations for each p. Hence, the main cost of solving ( 6.1) is the two matrix-matrix multiplications which cost a small multiple of N 3 operations. References 1. Ammari, H., Bao, G., Wood, A.W.: Analysis of the electromagnetic scattering from a cavity. Jpn. J. Ind. Appl. Math. 19, 301–310 (2002) 2. Bao, G., Sun, W.: A fast algorithm for the electromagnetic scattering from a large cavity. SIAM J. Sci. Comput. 27, 553–574 (2005) 3. Bernardi, C., Maday, Y .: Spectral methods. In: Ciarlet, P . G., Lions, L. L. (eds.) Handbook of Numerical Analysis, vol. V , pp. 209–485. North-Holland, Amsterdam (1997) 4. Boutayeb, A., Chetouani, A.: A numerical comparison of different methods applied to the solution of problems with non local boundary conditions. Appl. Math. Sci. (Ruse) 1, 2173–2185 (2007) 5. Buzbee, B.L., Dorr, F.W.: The direct solution of the biharmonic equation on rectangular regions and the Poisson equation on irregular regions. SIAM J. Numer. Anal. 11, 753–763 (1974) 6. Canuto, C., Hussaini, M.Y ., Quarteroni, A., Zang, T.A.: Spectral Methods: Fundamentals in Single Domains. Scientific Computation. Springer, Berlin (2006) 7. Capasso, V ., Kunisch, K.: A reaction-diffusion system arising in modelling man-environment diseases. Q. Appl. Math. 46, 431–450 (1988) 8. ˇCiegis, R., Tumanova, N.: Numerical solution of parabolic problems with nonlocal boundary conditions. Numer. Funct. Anal. Optim. 31, 1318–1329 (2010) 9. Day, W.A.: Extensions of a property of the heat equation to linear thermoelasticity and other theories. Q. Appl. Math. 40, 319–330 (1982) 10. Day, W.A.: Heat Conduction within Linear Thermoelasticity. Springer, New Y ork (1985) 11. Dehghan, M.: Efficient techniques for the second-order parabolic equation subject to nonlocal specifica- tions. Appl. Numer. Math. 52, 39–62 (2005) 12. Dehghan, M.: Numerical approximations for solving a time-dependent partial differential equation with non-classical specification on four boundaries. Appl. Math. Comput. 167, 28–45 (2005) 123 J Sci Comput 13. Dehghan, M., Shamsi, M.: Numerical solution of two-dimensional parabolic equation subject to nonstan- dard boundary specifications using the pseudospectral legendre method. Numer. Methods Partial Differ. Equ. 22, 1255–1266 (2006) 14. Du, K., Sun, W., Zhang, X.: Arbitrary high-order c 0 tensor product galerkin finite element methods for the electromagnetic scattering from a large cavity. J. Comput. Phys. 242, 181–195 (2013) 15. Ekolin, G.: Finite difference methods for a nonlocal boundary value problem for the heat equation. BIT 31, 245–261 (1991) 16. Fairweather, G., López-Marcos, J.C.: Galerkin methods for a semilinear parabolic problem with nonlocal boundary conditions. Adv. Comput. Math. 6, 243–262 (1996) 17. Golbabai, A., Javidi, M.: A numerical solution for non-classical parabolic problem based on chebyshev spectral collocation method. Appl. Math. Comput. 190, 179–185 (2007) 18. Golub, G., V an Loan, C.: Matrix Computations. Johns Hopkins Studies in the Mathematical Sciences, 3rd edn. Johns Hopkins University Press, Baltimore, MD (1996) 19. Gottlieb, D., Orszag, S.A.: Numerical Analysis of Spectral Methods: Theory and Applications. No. 26 in CBMS-NSF Regional Conference Series in Applied Mathematics. Society for Industrial and Applied Mathematics, Philadelphia, PA (1977) 20. Jin, J.M.: The Finite Element Method in Electromagnetics, 2nd edn. Wiley, New Y ork (2002) 21. Lai, J., Ambikasaran, S., Greengard, L.F.: A fast direct solver for high frequency scattering from a large cavity in two dimensions. SIAM J. Sci. Comput. 36, B887–B903 (2014) 22. Li, P ., Wang, L.L., Wood, A.: Analysis of transient electromagentic scattering from a three-dimensional open cavity. SIAM J. Appl. Math. 75, 1675–1699 (2015) 23. Li, P ., Wood, A.: A two-dimensional helmhotlz equation solution for the multiple cavity scattering prob- lem. J. Comput. Phys. 240, 100–120 (2013) 24. Liu, Y .: Numerical solution of the heat equation with nonlocal boundary conditions. J. Comput. Appl. Math. 110, 115–127 (1999) 25. Martín-V aquero, J.: Two-level fourth-order explicit schemes for diffusion equations subject to boundary integral specifications. Chaos Solitons Fractals 42, 2364–2372 (2009) 26. Martín-V aquero, J., Vigo-Aguiar, J.: On the numerical solution of the heat conduction equations subject to nonlocal conditions. Appl. Numer. Math. 59, 2507–2514 (2009) 27. Martín-V aquero, J., Wade, B.A.: On efficient numerical methods for an initial-boundary value problem with nonlocal boundary conditions. Appl. Math. Model. 36, 3411–3418 (2012) 28. Nie, C., Y u, H.: Some error estimates on the finite element approximation for two-dimensional elliptic problem with nonlocal boundary. Appl. Numer. Math. 68, 31–38 (2013) 29. Olver, F.W.: NIST Handbook of Mathematical Functions. Cambridge University Press, Cambridge (2010) 30. Pao, C.V .: Numerical solutions of reaction-diffusion equations with nonlocal boundary conditions. J. Comput. Appl. Math. 136, 227–243 (2001) 31. Sapagovas, M., Štikonas, A., Štikonien˙ e, O.: Alternating direction method for the poisson equation with variable weight coefficients in an integral condition. Differ. Uravn. 47, 1163–1174 (2011). Translation in Differ. Equ. 47, 1176–1187 (2011) 32. Sapagovas, M.P .: A difference method of increased order of accuracy for the poisson equation with nonlocal conditions. Differ. Uravn. 44, 988–998 (2008). Translation in Differ. Equ. 44, 1018–1028 (2008) 33. Shen, J.: Efficient spectral-galerkin method i. direct solvers of second-and fourth-order equations using legendre polynomials. SIAM J. Sci. Comput. 15, 1489–1505 (1994) 34. Shen, J., Tang, T.: Spectral and High-Order Method with Application. Science Press, Beijing (2006) 35. Shen, J., Tang, T., Wang, L.L.: Spectral Methods: Algorithms, Analysis and Applications. Springer, Berlin (2011) 123
采集于
查看校方原文 ↗