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 experiments, including the scattering problem from an open cavity, to demonstrate the accuracy and efficiency of the proposed method.







Similar content being viewed by others
References
Ammari, H., Bao, G., Wood, A.W.: Analysis of the electromagnetic scattering from a cavity. Jpn. J. Ind. Appl. Math. 19, 301–310 (2002)
Bao, G., Sun, W.: A fast algorithm for the electromagnetic scattering from a large cavity. SIAM J. Sci. Comput. 27, 553–574 (2005)
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)
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)
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)
Canuto, C., Hussaini, M.Y., Quarteroni, A., Zang, T.A.: Spectral Methods: Fundamentals in Single Domains. Scientific Computation. Springer, Berlin (2006)
Capasso, V., Kunisch, K.: A reaction-diffusion system arising in modelling man-environment diseases. Q. Appl. Math. 46, 431–450 (1988)
Čiegis, R., Tumanova, N.: Numerical solution of parabolic problems with nonlocal boundary conditions. Numer. Funct. Anal. Optim. 31, 1318–1329 (2010)
Day, W.A.: Extensions of a property of the heat equation to linear thermoelasticity and other theories. Q. Appl. Math. 40, 319–330 (1982)
Day, W.A.: Heat Conduction within Linear Thermoelasticity. Springer, New York (1985)
Dehghan, M.: Efficient techniques for the second-order parabolic equation subject to nonlocal specifications. Appl. Numer. Math. 52, 39–62 (2005)
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)
Dehghan, M., Shamsi, M.: Numerical solution of two-dimensional parabolic equation subject to nonstandard boundary specifications using the pseudospectral legendre method. Numer. Methods Partial Differ. Equ. 22, 1255–1266 (2006)
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)
Ekolin, G.: Finite difference methods for a nonlocal boundary value problem for the heat equation. BIT 31, 245–261 (1991)
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)
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)
Golub, G., Van Loan, C.: Matrix Computations. Johns Hopkins Studies in the Mathematical Sciences, 3rd edn. Johns Hopkins University Press, Baltimore, MD (1996)
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)
Jin, J.M.: The Finite Element Method in Electromagnetics, 2nd edn. Wiley, New York (2002)
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)
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)
Li, P., Wood, A.: A two-dimensional helmhotlz equation solution for the multiple cavity scattering problem. J. Comput. Phys. 240, 100–120 (2013)
Liu, Y.: Numerical solution of the heat equation with nonlocal boundary conditions. J. Comput. Appl. Math. 110, 115–127 (1999)
Martín-Vaquero, J.: Two-level fourth-order explicit schemes for diffusion equations subject to boundary integral specifications. Chaos Solitons Fractals 42, 2364–2372 (2009)
Martín-Vaquero, J., Vigo-Aguiar, J.: On the numerical solution of the heat conduction equations subject to nonlocal conditions. Appl. Numer. Math. 59, 2507–2514 (2009)
Martín-Vaquero, 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)
Nie, C., Yu, H.: Some error estimates on the finite element approximation for two-dimensional elliptic problem with nonlocal boundary. Appl. Numer. Math. 68, 31–38 (2013)
Olver, F.W.: NIST Handbook of Mathematical Functions. Cambridge University Press, Cambridge (2010)
Pao, C.V.: Numerical solutions of reaction-diffusion equations with nonlocal boundary conditions. J. Comput. Appl. Math. 136, 227–243 (2001)
Sapagovas, M., Štikonas, A., Štikonienė, 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)
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)
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)
Shen, J., Tang, T.: Spectral and High-Order Method with Application. Science Press, Beijing (2006)
Shen, J., Tang, T., Wang, L.L.: Spectral Methods: Algorithms, Analysis and Applications. Springer, Berlin (2011)
Author information
Authors and Affiliations
Corresponding author
Additional information
The work of J.S. is partially supported by NFSC grants 11371298 and 11421110001.
Appendix: Matrix Diagonalization Method
Appendix: Matrix Diagonalization Method
In this section we briefly recall the matrix diagonalization method in [33] for solving the linear system \(A\mathbf {u}=\mathbf {f}\) where A is the matrix defined in (3.9). We can rewrite it as the following matrix equation:
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:
$$\begin{aligned} M_x \bar{x} = \lambda S_x \bar{x}. \end{aligned}$$(6.2)\(M_x\) and \(S_x\) are symmetric positive definite matrices. Let \(\varLambda \) be the diagonal matrix whose diagonal entries \(\lambda _p\) are the eigenvalues of (6.2), and let E be the matrix whose columns are the eigenvectors of (6.2). We have
$$\begin{aligned} M_x E = S_x E \varLambda ,\quad E^{-1}=E^T. \end{aligned}$$(6.3) -
2.
Let \(U=EV\), thanks to (6.3), the equation (6.1) becomes
$$\begin{aligned} \alpha S_x E \varLambda V M_y^{T} + S_x EV M_y^{T} + S_x E \varLambda V S_y^{T} = F. \end{aligned}$$Multiplying \(E^{T}S_x^{-1}\) to both sides of the above equation yields
$$\begin{aligned} \alpha \varLambda V M_y^{T} + V M_y^{T} + \varLambda V S_y^{T} = E^{T}S_x^{-1}F:=G. \end{aligned}$$(6.4) -
3.
Let \(\mathbf {v}_p = (v_{p0},v_{p1},\ldots ,v_{p\scriptscriptstyle {N}})^{T}\) and \(\mathbf {g}_p = (g_{p0},g_{p1},\ldots , g_{p\scriptscriptstyle {N}})^{T}, 0\le p\le N\). Then the p-th row of the equation (6.4) can be written as
$$\begin{aligned} ((\alpha \lambda _p +1) M_y + \lambda _p S_y) \mathbf {v}_p = \mathbf {g}_p. \end{aligned}$$(6.5)
Since \(M_y\) and \(S_y\) are sparse, we can solve (6.5) in 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.
Rights and permissions
About this article
Cite this article
Hu, L., Ma, L. & Shen, J. Efficient Spectral-Galerkin Method and Analysis for Elliptic PDEs with Non-local Boundary Conditions. J Sci Comput 68, 417–437 (2016). https://doi.org/10.1007/s10915-015-0145-x
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10915-015-0145-x