A FAST SOLVER FOR ELLIPTIC EQUATIONS WITH HARMONIC COEFFICIENT APPROXIMATIONS

Similar documents
An Accurate Fourier-Spectral Solver for Variable Coefficient Elliptic Equations

A HIERARCHICAL 3-D DIRECT HELMHOLTZ SOLVER BY DOMAIN DECOMPOSITION AND MODIFIED FOURIER METHOD

Solving Poisson s Equations Using Buffered Fourier Spectral Method

Solution of Parabolic Partial Differential Equations

Least-Squares Spectral Collocation with the Overlapping Schwarz Method for the Incompressible Navier Stokes Equations

Fast Structured Spectral Methods

The Conjugate Gradient Method

A Comparison between Solving Two Dimensional Integral Equations by the Traditional Collocation Method and Radial Basis Functions

HIGH-ORDER ACCURATE METHODS BASED ON DIFFERENCE POTENTIALS FOR 2D PARABOLIC INTERFACE MODELS

A fast adaptive numerical solver for nonseparable elliptic partial differential equations

Numerical Solution of Two-Dimensional Volterra Integral Equations by Spectral Galerkin Method

PART IV Spectral Methods

A Wavelet-based Method for Overcoming the Gibbs Phenomenon

HIGH-ORDER ACCURATE METHODS BASED ON DIFFERENCE POTENTIALS FOR 2D PARABOLIC INTERFACE MODELS

Local discontinuous Galerkin methods for elliptic problems

u(0) = u 0, u(1) = u 1. To prove what we want we introduce a new function, where c = sup x [0,1] a(x) and ɛ 0:

Lecture 9 Approximations of Laplace s Equation, Finite Element Method. Mathématiques appliquées (MATH0504-1) B. Dewals, C.

Separation of Variables in Linear PDE: One-Dimensional Problems

Non-Conforming Finite Element Methods for Nonmatching Grids in Three Dimensions

Course Outline. Date Lecture Topic Reading

PDEs, part 1: Introduction and elliptic PDEs

Multilevel Preconditioning of Graph-Laplacians: Polynomial Approximation of the Pivot Blocks Inverses

256 Summary. D n f(x j ) = f j+n f j n 2n x. j n=1. α m n = 2( 1) n (m!) 2 (m n)!(m + n)!. PPW = 2π k x 2 N + 1. i=0?d i,j. N/2} N + 1-dim.

Advection Diffusion Problems with Pure Advection Approximation in Subregions

Chapter 5 HIGH ACCURACY CUBIC SPLINE APPROXIMATION FOR TWO DIMENSIONAL QUASI-LINEAR ELLIPTIC BOUNDARY VALUE PROBLEMS

Aspects of Multigrid

A new class of highly accurate differentiation schemes based on the prolate spheroidal wave functions

Equations Introduction

Institute for Computational Mathematics Hong Kong Baptist University

Image Analysis and Approximation via Generalized Polyharmonic Local Trigonometric Transforms

Final Exam May 4, 2016

A Spectral Method for Nonlinear Elliptic Equations

Numerical Methods for PDEs

Introduction to Multigrid Methods

Computing the effective diffusivity using a spectral method

A Simple Compact Fourth-Order Poisson Solver on Polar Geometry

Generating Equidistributed Meshes in 2D via Domain Decomposition

A fast and well-conditioned spectral method: The US method

RBF Collocation Methods and Pseudospectral Methods

Preconditioned inverse iteration and shift-invert Arnoldi method

and finally, any second order divergence form elliptic operator

Beyond Wiener Askey Expansions: Handling Arbitrary PDFs

Preliminary Examination, Numerical Analysis, August 2016

ON SPECTRAL METHODS FOR VOLTERRA INTEGRAL EQUATIONS AND THE CONVERGENCE ANALYSIS * 1. Introduction

On uniqueness in the inverse conductivity problem with local data

The Pole Condition: A Padé Approximation of the Dirichlet to Neumann Operator

Lucio Demeio Dipartimento di Ingegneria Industriale e delle Scienze Matematiche

Numerical tensor methods and their applications

COURSE Numerical integration of functions (continuation) 3.3. The Romberg s iterative generation method

1. Introduction. We consider the model problem that seeks an unknown function u = u(x) satisfying

Hilbert Spaces. Hilbert space is a vector space with some extra structure. We start with formal (axiomatic) definition of a vector space.

On some numerical convergence studies of mixed finite element methods for flow in porous media

Index. higher order methods, 52 nonlinear, 36 with variable coefficients, 34 Burgers equation, 234 BVP, see boundary value problems

arxiv: v1 [math.na] 4 Nov 2015

Local Mesh Refinement with the PCD Method

Domain Decomposition Algorithms for an Indefinite Hypersingular Integral Equation in Three Dimensions

Transactions on Modelling and Simulation vol 18, 1997 WIT Press, ISSN X

INTERGRID OPERATORS FOR THE CELL CENTERED FINITE DIFFERENCE MULTIGRID ALGORITHM ON RECTANGULAR GRIDS. 1. Introduction

From the Boundary Element Domain Decomposition Methods to Local Trefftz Finite Element Methods on Polyhedral Meshes

A Domain Decomposition Method for Quasilinear Elliptic PDEs Using Mortar Finite Elements

ON THE NUMERICAL SOLUTION FOR THE FRACTIONAL WAVE EQUATION USING LEGENDRE PSEUDOSPECTRAL METHOD

Second Order Elliptic PDE

A Numerical Solution of the Lax s 7 th -order KdV Equation by Pseudospectral Method and Darvishi s Preconditioning

Optimal Interface Conditions for an Arbitrary Decomposition into Subdomains

In this chapter we study elliptical PDEs. That is, PDEs of the form. 2 u = lots,

From the Boundary Element DDM to local Trefftz Finite Element Methods on Polyhedral Meshes

Introduction. J.M. Burgers Center Graduate Course CFD I January Least-Squares Spectral Element Methods

Remarks on the analysis of finite element methods on a Shishkin mesh: are Scott-Zhang interpolants applicable?

A MULTIGRID ALGORITHM FOR. Richard E. Ewing and Jian Shen. Institute for Scientic Computation. Texas A&M University. College Station, Texas SUMMARY

Technische Universität Graz

AND NONLINEAR SCIENCE SERIES. Partial Differential. Equations with MATLAB. Matthew P. Coleman. CRC Press J Taylor & Francis Croup

SPLINE COLLOCATION METHOD FOR SINGULAR PERTURBATION PROBLEM. Mirjana Stojanović University of Novi Sad, Yugoslavia

Numerical techniques for linear and nonlinear eigenvalue problems in the theory of elasticity

MATH 614 Dynamical Systems and Chaos Lecture 3: Classification of fixed points.

BETI for acoustic and electromagnetic scattering

Adomian Decomposition Method with Laguerre Polynomials for Solving Ordinary Differential Equation

arxiv: v2 [math.na] 8 Sep 2017

Module 7: The Laplace Equation

(4) k = 2N + I. A Numerical Study on the Accuracy of Fourier Spectral Methods Applied to the Nonlinear Burgers Equation.

A Singular Integral Transform for the Gibbs-Wilbraham Effect in Inverse Fourier Transforms

Physics 250 Green s functions for ordinary differential equations

Efficient Solvers for Stochastic Finite Element Saddle Point Problems

Index. C 2 ( ), 447 C k [a,b], 37 C0 ( ), 618 ( ), 447 CD 2 CN 2

Banach Journal of Mathematical Analysis ISSN: (electronic)

A Spectral Method for Elliptic Equations: The Neumann Problem

Vector Spaces. Vector space, ν, over the field of complex numbers, C, is a set of elements a, b,..., satisfying the following axioms.

Domain Decomposition Preconditioners for Spectral Nédélec Elements in Two and Three Dimensions

Spectral method for the unsteady incompressible Navier Stokes equations in gauge formulation

Fourier transforms, Fourier series, pseudo-laplacians. 1. From R to [a, b]

Partial Differential Equations

Multispace and Multilevel BDDC. Jan Mandel University of Colorado at Denver and Health Sciences Center

Numerical solution of linear time delay systems using Chebyshev-tau spectral method

A Legendre Computational Matrix Method for Solving High-Order Fractional Differential Equations

ADI iterations for. general elliptic problems. John Strain Mathematics Department UC Berkeley July 2013

EFFICIENT SPECTRAL COLLOCATION METHOD FOR SOLVING MULTI-TERM FRACTIONAL DIFFERENTIAL EQUATIONS BASED ON THE GENERALIZED LAGUERRE POLYNOMIALS

Review and problem list for Applied Math I

A Multigrid Method for Two Dimensional Maxwell Interface Problems

Outline. 1 Boundary Value Problems. 2 Numerical Methods for BVPs. Boundary Value Problems Numerical Methods for BVPs

Definition and basic properties of heat kernels I, An introduction

Cyclic Reduction History and Applications

Transcription:

Proceedings of ALGORITMY 2005 pp. 222 229 A FAST SOLVER FOR ELLIPTIC EQUATIONS WITH HARMONIC COEFFICIENT APPROXIMATIONS ELENA BRAVERMAN, MOSHE ISRAELI, AND ALEXANDER SHERMAN Abstract. Based on a fast subtractional spectral algorithm for the solution of the Poisson equation, we develop a solver for elliptic equations with coefficient which are squares of harmonic functions. A transformation suggested by P. Concus and G. H. Golub in SIAM J. Numer. Anal., Vol. 10 (Dec. 1973),1103-1120, results in a constant coefficient equation. If the square root of the coefficient is not harmonic, we approximate it by a harmonic function. Several correction steps are then applied to achieve the required accuracy. The procedure is efficient if the harmonic function provides a good approximation for the coefficient function. As the quality of the approximation depends inversely on the size of the domain, a hierarchical domain decomposition procedure is suggested which improves the accuracy of the approximation. Key words. fast spectral direct solver, the Poisson equation, nonseparable elliptic equations, correction steps AMS subject classifications. 65N35, 65T20 1. Introduction. Variable coefficient elliptic equations are ubiquitous in many branches of scientific and engineering applications, the most important case being that of the self-adjoint operator appearing in diffusion problems in nonuniform media. Such problems also arise in the process of solution of variable coefficient and nonlinear time dependent problems by implicit marching methods. One of traditional methods to solve elliptic equations with nonconstant coefficients was to apply some iterative procedure. A solver for the Poisson equation was usually employed as a preconditioner. Thus a fast and accurate solver for a problem with constant coefficients became an essential part of the numerical method. Application of high-order (pseudo) spectral methods, which are based on global expansions into orthogonal polynomials (Chebyshev or Legendre polynomials), to the solution of elliptic equations, results in full (dense) matrix problems. The cost of inverting a full N N matrix without using special properties is O(N 3 ) operations [2]. The Fourier method for the solution of the Poisson equation in principle has an exponential convergence but faces the Gibbs phenomenon for non-periodic boundary conditions. Among recent development in the resolution of the Gibbs phenomenon let us mention papers [4, 5, 8] and references therein and [1, 7] for recently developed fast solvers based on the Fourier method and Fast Fourier Transform. The methods to resolve the Gibbs phenomenon are described in [4] (see also references to this review article). They can be classified as Fourier space filters and methods concerned with an adjustment in a physical space. For the solution of the Poisson equation with Fourier series we have to restore a solution rather than the The first author was supported by the University Research Grant of the University of Calgary; the second author was supported by the VPR fund for promotion of research at the Technion. Dept. of Mathematics and Statistics, University of Calgary, 2500 University Drive N.W., Calgary, Alberta T2N 1N4, Canada (maelena@math.ucalgary.ca). Technion-Israel Institute of Technology, Computer Science Dept.,Haifa 32000, Israel (israeli@cs.technion.ac.il). Technion-Israel Institute of Technology, Applied Mathematics Dept., Haifa 32000, Israel (asherman@techunix.technion.ac.il). 222

A SOLVER FOR ELLIPTIC EQUATIONS 223 original right hand side (RHS) which is presented in the Fourier space. Since the accuracy of the solution degrades due to the Gibbs phenomenon in the RHS representations, then the algorithm can benefit if the RHS is presented as a sum of a smooth periodic function and another function which can be integrated analytically. Rather simple for 1D problems, the implementation of this idea becomes more complicated for higher dimensions. This procedure is called sometimes the subtraction technique (a function which is later integrated analytically is subtracted from the RHS). To the best of our knowledge the application of the subtraction technique in the resolution of the Gibbs phenomenon for the Fourier series solution goes back to Sköllermo [9], where a modification of the Fourier method was developed for the Poisson equation (1) u = f in the rectangle [0, 1] [0, 1] with periodic boundary conditions. It is to be noted that the subtraction algorithm in [9] was developed for some specific boundary conditions only. We apply the Poisson solver [1] in a rectangular domain with an equispaced grid. Then the subtraction technique (in the physical space) should be used for the resolution of the Gibbs phenomenon rather than other methods due to the following reasons. a) After subtraction, Fast Fourier Transform can be applied to the remaining part of RHS with high convergence. b) The algorithm keeps the diagonal representation of the Laplace operator, so, unlike Chebyshev and Legendre expansions, it is not necessary to find an inverse of a full matrix. c) Generally, the computation of the subtraction functions is even less time consuming than FFT implementation. The solver developed in [1] is fast (O(N 2 log N), where N is a number of points in each direction). It is also applied to solve an elliptic equation with nonconstant coefficients (2) with the preconditioned iterations (3) Lu = a(x, y) ( u(x, y)) = f L 0 u n+1 = f (L L 0 )u n, where L 0 u = f is the Poisson equation with a constant coefficient which is equal to the average of the maximal and the minimal values of function a(x, y) in the domain. However for convergence to the accuracy provided by our basic solver sometimes a significant number of iterations (above 30) is necessary. In the framework of the present paper: 1. We develop a fast direct algorithm for the solution of Eq.(2) for any function a(x, y), such that a(x, y) is harmonic. It is based on the fast direct solver developed in [1] and a transformation described in [3]. This already involves a wide class of equations with nonconstant coefficients. 2. If a(x, y) is not harmonic, we approximate it by a harmonic function. The numerical scheme incorporates the basic algorithm with some correction steps are required (the procedure is described in Section 2 and tested numerically in Section 3). 3. An adaptive domain decomposition approach is suggested in order to improve the approximation for any function a(x, y).

224 E. BRAVERMAN, M. ISRAELI, A. SHERMAN 2. Outline of the algorithm. We solve an elliptic equation (4) (a(x, y) u(x, y)) = f(x, y), (x, y) D, where D is a rectangular subdomain, with the Dirichlet boundary conditions (5) u(x, y) = g(x, y), (x, y) D. We assume a(x, y) > 0 for any (x, y) D. Following [3] we make the change of variable (6) w(x, y) = a(x, y)u(x, y), then Eq. (4) takes the form (7) w p(x, y)w = q(x, y), where (8) p(x, y) = ( a(x, y) ) f(x, y), q(x, y) =. a(x, y) a(x, y) In case a(x, y) is a harmonic function, Eq.(7) becomes the Poisson equation in w: (9) w = q(x, y) This leads to the fast direct algorithm for the numerical solution of Eq.(4), where a(x, y) is a harmonic function. Algorithm A 1. Using the modified spectral subtractional algorithm which was described in the introduction, we solve Eq.(9) with the boundary conditions 2. The solution of Eq.(4) is u(x, y) = g(x, y) = a(x, y)g(x, y). w(x, y) a(x, y). This algorithm enables the solution of ( ã(x, ) (10) (ã(x, y) u) = f(x, y), where y) = 0 for any (x, y) D, as a constant coefficient problem with the boundary conditions (5). Let us now consider the case when a(x, y) is not exactly harmonic but can be well approximated by a harmonic function ã(x, y). This means that the difference (11) ε(x, y) = a(x, y) ã(x, y) is small. Denote by u 0 (x, y) the solution of (10) with boundary conditions (5) and introduce ũ(x, y) = u(x, y) u 0 (x, y), where u(x, y) is an exact solution of Eq.(4). Then (4) can be rewritten as (12) [(ã(x, y) + ε(x, y)) (u 0 + ũ)] = f(x, y).

A SOLVER FOR ELLIPTIC EQUATIONS 225 Taking into account (10), we obtain (13) (ã(x, y) ũ) = [ε(x, y) (u 0 + ũ)], where ũ(x, y) satisfies the zero boundary conditions as the difference of two functions u(x, y) and u 0 (x, y), which both satisfy (5). Since ũ is unknown, the following correction procedure is suggested: (14) (ã(x, y) u 1 ) = [ε(x, y) u 0 ] (15) (ã(x, y) u n+1 ) = [ε(x, y) (u 0 + u n )], n 1. Subtracting (13) from (15) we have (16) [ã(x, y) (u n+1 ũ)] = [ε(x, y) (u n ũ)] For example, if ε s a in some norm, where s is small, then u n+1 ũ s u n ũ. The corrected solution u n after n correction steps is u n = u 0 + u n. Since the exact solution is u = u 0 + ũ, then the error decreases according to: (17) u n+1 u s u n u Thus the algorithm for the solution of (4) can be described as follows. Algorithm B 1. The coefficient a(x, y) in (4) is approximated by ã(x, y) such that ã(x, y) is a harmonic function in the domain D. Equation (10) is solved using Algorithm A. 2. Some correction steps are made using (15) until the desired accuracy is attained. Here we leave aside the problem how a(x, y) is best approximated by a harmonic function. The simplest approach considers a function b(x, y) in the square [0, 1] [0, 1] it can be approximated by the bilinear function (18) b(x, y) = c11 + c 12 x + c 21 y + c 22 xy, which takes on the corner values of b(x, y) i.e.: (19) c 11 = b(0, 0), c 12 = b(1, 0) b(0, 0), c 22 = b(0, 1) b(0, 0),c 22 = b(1, 1) + b(0, 0) b(1, 0) b(0, 1). This approximation can be improved by matching more points on the boundary of the square [0, 1] [0, 1] by the addition of functions of the type (20) ϕ(x, y) = d k sin(πkx) sinh(πky) which do not influence corner points. Dividing the domain to smaller squares improves the error according to the square of the size of the subdomain. We could try to find the best approximation of a(x, y) by least squares in a class of harmonic functions. However the simplest approximation with bilinear functions (18),(19) has the following advantage: if we use domain decomposition(see Section 4), then the collection of ã(x, y) approximated in subdomains is not smooth but is a continuous function, this simplifies very much the inter domain matching process. This is true also for (20). All other approximations involving interior values do not enjoy this beneficial property.

226 E. BRAVERMAN, M. ISRAELI, A. SHERMAN Table 1 MAX, MSQ and L 2 errors for the exact solution u(x, y) = (x + 1) 2 + (y + 0.5) 2 and a(x, y) = (x + 1) 2 (y + 0.5) 2 in the domain [0, 1] [0, 1]. N x N y ε MAX ε MSQ ε L 2 8 8 3.2e-5 2.0e-5 5.3e-6 16 16 2.0e-6 1.3e-6 2.7e-8 32 32 1.3e-7 2.7e-8 2.4e-8 64 64 7.9e-9 5.6e-9 1.6e-9 128 128 5.0e-10 3.5e-10 9.8e-11 Table 2 MAX, MSQ and L 2 errors for the exact solution u(x, y) = (x + 1) 2 + (y + 0.5) 2 and a(x, y) = (x + 1 + 0.1 sin x) 2 (y + 0.5) 2 in the domain [0, 1] [0, 1]. N x N y ε MAX ε MSQ ε L 2 8 8 3.4e-5 2.0e-5 5.5e-6 16 16 2.2e-6 1.4e-6 3.8e-8 32 32 1.4e-7 8.9e-8 2.5e-8 64 64 8.6e-9 5.7e-9 1.6e-9 128 128 4.7e-10 3.6e-10 1.0e-10 3. Numerical results. First let us demonstrate the rate of convergence of the algorithm with the growth of the number of grid points in the case where the coefficient a(x, y) is a square of a harmonic function. Assume that u is the exact solution of Eq.(4) and u is the computed solution. We will use the following measures to estimate the errors: ε MAX = max u i u i ε MSQ = ε L 2 = N i=1 (u i ui)2 N N i=1 (u i ui)2 N i=1 u2 i Example 1. Consider the equation with a(x, y) = (x + 1) 2 (y + 0.5) 2, the right hand side and the boundary conditions correspond to the exact solution u(x, y) = (x + 1) 2 + (y + 0.5) 2. The results are presented in Table 1. Now let us proceed to an example, where a is not harmonic. Example 2. Consider the equation with a(x, y) = (x + 1 + r sin x) 2 (y + 0.5) 2, the right hand side and the boundary conditions correspond to the same exact solution as in Example 2. Here we need to apply some correction steps in order to get desired accuracy. We used (18),(19) for the approximation of a by a harmonic function. The results for α = 0.1 are presented in Table 2. If we insist to get the same (excessive) accuracy as in the previous example, it is necessary to apply from 2 correction steps for 32 32 points to 6 steps for 128 128 points. It is expected that with the growth of r more corrections steps are required. Let us consider r = 0.5. Fig. 1 describes the convergence of the maximal error for r = 0.5 with the growth of the number of correction steps. Here 32 32 grid points were used. The number of correction steps which is necessary to achieve the prescribed accuracy grows as the difference between the harmonic approximation of a and its real

A SOLVER FOR ELLIPTIC EQUATIONS 227 0.1 0.01 "max_error" 0.001 error 0.0001 1e-05 1e-06 1e-07 0 1 2 3 4 5 6 number of correction steps Fig. 1. The maximal error for various number of correction steps for the coefficient a(x, y) = (x + 1 + 0.5 sin x) 2 (y + 0.5) and 32 32 grid points value increases. Fig. 2 presents the dependency of the number of correction steps which are necessary to get the accuracy of 3e-7, on the parameter r in the coefficient a(x, y) = (x + 1 + r sin x) 2 (y + 0.5). 4. Summary and discussion. The present algorithm incorporates the following novel elements: 1. It extends our previous fast Poisson solvers [1, 7] as it provides an essentially direct solution for equations (4) where a(x, y) is an arbitrary harmonic function, in particular, a bilinear function a = c11 + c 12 x + c 21 y + c 22 xy. 2. In the case where a(x, y) is not harmonic, we approximate it by ã(x, y) and apply some correction steps to improve the accuracy. If ã(x, y) is chosen to be a constant we obtain an iteration procedure with a constant coefficient solver as a preconditioner (for details, see [1]). However high accuracy for the solution of (4) requires an accurate approximation of a by a harmonic function. Such an approximation is not always easy to derive in the global domain, however it can be achieved in smaller subdomains. In this case we suggest the following Domain Decomposition algorithm. 1. The domain is decomposed into smaller rectangular subdomains. Where the boundary of the subdomains coincides with full domain boundary we take on the original boundary conditions. For other interfaces we introduce some initial boundary conditions which do not contradict the equation at the corners, where the left hand side of (4) can be computed. The function a is approx-

228 E. BRAVERMAN, M. ISRAELI, A. SHERMAN number of correction steps 18 16 14 12 10 8 6 4 2 0 "correct_steps" 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 r Fig. 2. The number of correction steps necessary to attain the accuracy of 3e-7 for the coefficient a(x, y) = (x + 1 + r sin x) 2 (y + 0.5) and 32 32 grid points imated by ã in each subdomain such that ã is harmonic. An auxiliary equation (10) is solved in each subdomain. 2. The collection of solutions obtained at Step 1 is continuous but has noncontinuous derivatives at domain interfaces. To further match subdomains, a hierarchical procedure can be applied similar to the one described in [6]. For example, if we have four subdomains 1,2,3 and 4, then 1 can be matched with 2, 3 with 4, while at the final step the merged domain 1,2 is matched with 3,4. REFERENCES [1] E. Braverman, B. Epstein, Boris, M. Israeli and A. Averbuch, A fast spectral subtractional solver for elliptic equations, J. Sci. Comput., 21 (2004), pp. 91 128. [2] C. Canuto, M.Y. Hussaini, A. Quarteroni, T. A. Zang, Spectral Methods in Fluid Dynamics, Springer-Verlag, 1989. [3] P. Concus and G. H. Golub, Use of fast direct methods for the efficient numerical solution of nonseparable elliptic equations, SIAM J. Numer. Anal., 10 (1973), pp. 1103 1120. [4] D. Gottlieb and C. W. Shu, On the Gibbs phenomenon and its resolution, SIAM Review, 39 (1997), pp. 644 668. [5] M. S. Min and D. Gottlieb, On the convergence of the Fourier approximation for eigenvalues and eigenfunctions of discontinuous problems, SIAM J. Numer. Anal., 40 (2002), pp. 2254-2269. [6] M. Israeli, E. Braverman and A. Averbuch, A hierarchical domain decomposition method with low communication overhead, Domain decomposition methods in science and engineering (Lyon, 2000), pp. 395 403, Theory Eng. Appl. Comput. Methods, Internat. Center Numer. Methods Eng. (CIMNE), Barcelona, 2002. [7] O. F. Næss and K.S. Eckhoff, A modified Fourier-Galerkin method for the Poisson and

A SOLVER FOR ELLIPTIC EQUATIONS 229 Helmholtz equations, J. Sci. Comput., 17 (2002), pp. 529 539. [8] B. D. Shizgal and J. H. Jung, Towards the resolution of the Gibbs phenomena, J. Comput. Appl. Math., 161 (2003), pp. 41 65. [9] G. Skölermo, A Fourier method for numerical solution of Poisson s equation, Math. Comput. (U.S.A.) 29 (1975), pp. 697 711.