EIT Agent
登录
← 校园网页目录

校园网页 · 学校官网

Effcient Chebyshev-Legendre Galerkin methods for elliptic problems.pdf

E±cient Chebyshev-Legendre Galerkin Methods for Elliptic Problems Jie Shen¤ Abstract We introduce a new and e±cient Chebyshev-Legendre Galerkin method for elliptic problems. The new method is based on a Legendre-Galerkin formulation, but only the Chebyshev-Gauss-Lobatto points are used in the compu- tation. Hence, it enjoys advantages of both the Legendre- Galerkin and Chebyshev-Galerkin methods. Key words: Chebyshev polynomial, Legendre polyno- mial, spectral-Galerkin method. AMS subject classi¯cations: 65N35, 65N22, 65F05, 35J05. 1 Introduction The Legendre-Galerkin method [13] for self-adjoint ellip- tic equations leads to symmetric and simpler linear sys- tems, but its e±ciency is limited by the lack of fast trans- form between the physical space (values at the Legendre- Gauss-Lobatto points) and the spectral space (coe±cients of the Legendre polynomials). Furthermore, the Legendre- Gauss-Lobatto (LGL) points are not available in an ex- plicit form and their evaluations for large N (N be- ing the order of polynomial space) may introduce signif- icant roundo® errors (cf. [1]). On the other hand, the Chebyshev-Gauss-Lobatto (CGL) points are given explic- itly and the transform between the physical space and the spectral space can be e±ciently performed by using the Fast Fourier Transform (FFT). However, due to the non-uniform weight associated with the Chebyshev poly- nomials, the Chebyshev-Galerkin method [14] leads to non- symmetric (even for self-adjoint elliptic equations) and ¤Department of Mathematics, Penn State University, University Park, PA 16802, USA. This work was supported in part by NSF grant DMS-9205300. ICOSAHOM'95: Proceedings of the Third International Conference on Spectral and High Order Methods. c°1996 Houston Journal of Mathematics, University of Houston. more complex linear systems. We introduce in this paper a very e±cient Chebyshev-Legendre Galerkin method that has the advantages of both the Legendre- and Chebyshev- Galerkin methods. Our method has two essential features: ² It is based on a Legendre-Galerkin formulation which preserves the symmetry of the underlying problem. The basis functions of the approximation space are compact combinations of Legendre polynomials, deter- mined by the order of the principle elliptic operator and the underlying boundary conditions. For prob- lems with constant coe±cients, the linear systems re- sulted from these compact basis functions are banded sparse matrices, similar to those arising from a ¯nite di®erence discretization, which can be e±ciently in- verted. ² Only the coe±cients of Legendre expansions and the values at the CGL points are used in the computation. E±cient algorithms are available to transform from the coe±cients of Legendre expansions to the values at the CGL points and vice versa. In the next section, we describe the Legendre- and Chebyshev-Galerkin methods for an one-dimensional model problem. In Section 3, we introduce the Chebyshev-Legendre Galerkin method and describe the fast Chebyshev-Legendre transform between the values at CGL points and the coe±cients of Legendre expansion. In Section 4, we present some numerical results which demon- strate the e±ciency of the new method. 2 Legendre-Galerkin and Chebyshev-Galerkin methods To simplify the presentation, we consider the following one dimensional model problem: ®u ¡ uxx = f; in I = (¡1; 1);(1) with the Robin type boundary condition a¡u(¡1) + b¡ux(¡1) = 0; a+u(1) + b+ux(1) = 0:(2) 233 234 ICOSAHOM 95 The problem(1-2) has a unique solution if a2 ¡ + b2 ¡ 6= 0; a¡b¡ · 0; a2 + + b2 + 6= 0; a+b+ ¸ 0:(3) Let SN be the space of polynomials of degree less than or equal to N , and XN = fv 2 SN : a§v(§1) + b§vx(§1) = 0g: We denote I l N the operator of interpolation at the LGL points f»ig0·i·N (»i are the roots of the polynomial (1 ¡ x2)L0 N (x), where LN (x) is the Legendre polynomial of degree N ), i.e. I l N f 2 SN and I l N f (»i) = f (»i); 0 · i · N: Let (u; v) = R 1 ¡1 uv dx. Then, the pseudo-spectral Legendre-Galerkin method for (1-2) is: ¯nd uN 2 XN s.t. 8 vN 2 XN ; ®(uN ; vN ) ¡ (DxxuN ; vN ) = (I l N f; vN ):(4) Remark 2.1 The above formulation is slightly di®erent from the usual Galerkin method in the following aspects: ² f is replaced by its interpolant I l N f to allow faster evaluation; ² the boundary condition (2) in all cases is strongly enforced as in a collocation scheme, while in case b2 ¡ + b2 + > 0 the boundary condition (2) will only be satis¯ed as N ! +1 in a usual Galerkin method (cf. [2]). The actual solution procedure for (4) depends on the choice of basis functions for XN . It is essential for the sake of e±ciency to use compact combinations of orthog- onal polynomials (with respect to the inner product (¢; ¢)) as basis functions. To this end, we set Ák(x) = Lk(x) + akLk+1(x) + bkLk+2(x); k = 0; 1; 2; : : : We will choose fak; bkg such that Ák(x) veri¯es the bound- ary condition (2). Since Lk(§1) = (§1)k and L0 k(§1) = 1 2 (§1)k¡1k(k + 1), the boundary condition (2) leads to the following system for fak; bkg: 8 >>>>>>>>>< >>>>>>>>>: (a+ + b+ 2 (k + 1)(k + 2))ak+ (a+ + b+ 2 (k + 2)(k + 3))bk = ¡a+ ¡ b+ 2 k(k + 1); ¡(a¡ ¡ b¡ 2 (k + 1)(k + 2))ak+ (a¡ ¡ b¡ 2 (k + 2)(k + 3))bk = ¡a¡ + b¡ 2 k(k + 1): (5) The determinant of the above system is DETk = 2a+a¡ + a¡b+(k + 2)2 ¡ a+b¡(k + 2)2 ¡ 1 2 b¡b+(k + 1)(k + 2)2(k + 3) We then conclude from (3) that DETk 6= 0 for any k. Hence, fak; bkg can be uniquely determined from (5). It is obvious that fÁk(x)g are linearly independent. Therefore by dimension argument we have XN = spanfÁk(x) : k = 0; 1; 2; : : : ; N ¡ 2g: Let us denote fk = (I l N f; Ák); f = (f0; f1; ¢ ¢ ¢ ; fN ¡2)T ; uN (x) = N ¡2X n=0 vnÁn(x); v = (v0; v1; ¢ ¢ ¢ ; vN ¡2)T ; skj = (¡DxxÁk; Áj); mk;j = (Ák; Áj); and S = (skj)0·k;j·N ¡2 ; M = (mkj)0·k;j·N ¡2 : Then the equation (4) is equivalent to the following linear system: (®M + S)v = f :(6) By integration by parts and taking into account the bound- ary condition (2), we ¯nd that skj = ¡( d2Ák dx2 ; Áj) = (DxÁk; DxÁj) + a+ b+ Ák(1)Áj(1) ¡ a¡ b¡ Ák(¡1)Áj(¡1) = ¡(Ák; d2Áj dx2 ); where a+ b+ (resp. a¡ b¡ ) should be replaced by zero when b+ = 0 (resp. b¡ = 0). Hence, using the orthogonality of the Legendre polynomials, it is easy to verify that the sti®ness matrix S is a diagonal matrix with skk = ¡(4k + 6)bk; k = 0; 1; 2; : : : and the mass matrix M is symmetric penta-diagonal whose nonzero elements are mkj = 8 >>>>< >>>>: 2 k+1 + a2 k 2 k+3 + b2 k 2 k+5 ; j = k; ak 2 k+3 + ak+1bk 2 k+5 ; j = k + 1; bk 2 k+5 ; j = k + 2; (7) Chebyshev-Legendre Methods 235 and mjk = mkj. In summary: given the values of f at LGL points f»ig0·i·N , we determine the values of uN (solution of (4)) at these LGL points as follows: 1. (pre-computation) Compute LGL points, fak; bkg and nonzero elements of S and M ; 2. Evaluate the Legendre coe±cients of I l N f (x) from ff (»i)gN i=0 (backward Legendre transform); 3. Evaluate f and solve v from (6); 4. Evaluate uN (»j) = PN ¡2 i=0 viÁi(»j), j = 0; 1; : : : ; N (forward Legendre transform). It is clear that step 3 can be done in O(N ) operations. However, each Legendre transform in steps 2 and 4 involves a matrix-by-vector product which will take about 2N 2 arithmetic operations. To reduce the cost of the transforms between physical and spectral spaces, a natural choice is to use Chebyshev polynomials. We now describe brie°y below the Chebyshev-Galerkin method for (1). Let I c N be the interpolation operator at the CGL points f´i = cos(i¼=N )g0·i·N , i.e. I c N f 2 SN and I c N f (´i) = f (´i); 0 · i · N: The pseudo-spectral Chebyshev-Galerkin method for (1-2) is: ¯nd uN 2 XN s.t. 8 vN 2 XN ; ®(uN ; vN )! ¡ (DxxuN ; vN )! = (I c N f; vN )!;(8) where !(x) = (1 ¡ x2)¡ 1 2 and (u; v)! = R 1 ¡1 uv! dx. As before, there exist unique fak; bkg such that Ãk(x) = Tk(x) + akTk+1(x) + bkTk+2(x) 2 XN ; (where Tk(x) is the Chebyshev polynomial of degree k) and XN = spanfÃk(x) : k = 0; 1; 2; : : : ; N ¡ 2g: It is easy to see that the sti®ness matrix S (sij = (¡DxxÃj; Ãi)!) is a upper triangular matrix and the mass matrix M (mij = (Ãj; Ãi)!) is a symmetric positive de¯- nite penta-diagonal matrix. Although the matrix ®M + S in (8) is not sparse, it can still be inverted at a cost com- parable to invert a seven-diagonal matrix by exploiting the special structures of S [14]. Therefore, thanks to the fast transforms available to the Chebyshev expansions, the Chebyshev-Galerkin method is preferable for this speci¯c problem. However, the Chebyshev-Galerkin method may not be the best choice due to the non-symmetry (which introduces considerable di±culties for its analysis and ex- cludes the use of conjugate gradient type methods for problems with variable coe±cients) and non-sparseness of the sti®ness matrix (which excludes more e±cient direct solvers such as the cyclic reduction [15] for problems in multi-dimensional domains). Remark 2.2 In case of the homogeneous Dirichlet bound- ary condition (i.e. b§ = 0) or the homogeneous Neumann boundary condition (i.e. a§ = 0), we have ak = 0; k = 0; 1; 2; : : : These special cases are discussed in detail in [13, 14]. For di®erential equations of order 2m, we should choose the basis functions for the Legendre- and Chebyshev- Galerkin method to be of the form Ák(x) = Pk(x) + ak;1Pk+1(x) + : : : + ak;2mPk+2m(x) where Pi(x) are Legendre or Chebyshev polynomials and ai;j should be determined by the underlying boundary con- ditions. See [13, 14] for the treatment of fourth-order prob- lems. For multi-dimensional problems, tensor products of one dimensional basis functions should be used. The resulting linear systems can be e±ciently solved, for instance, by the matrix decomposition method [11, 9]. We refer to [13, 14] for more details. 3 Chebyshev-Legendre Galerkin method To overcome the shortcomings of both the Legendre- and Chebyshev-Galerkin methods, we propose the following Chebyshev-Legendre Galerkin method for (1-2): ¯nd uN 2 XN s.t. 8 vN 2 XN ; ®(uN ; vN ) ¡ (DxxuN ; vN ) = (I c N f; vN ):(9) The only di®erence with (4) is that the Chebyshev interpo- lation operator I c N is used instead of the Legendre interpo- lation operator I l N . Hence, the solution procedure of (9) is essentially the same as that of (4) except that Chebyshev- Legendre transforms (between the value of a function at CGL points and the coe±cients of its Legendre expansion) are needed instead of the Legendre transforms. Recently Don and Gottlieb [6] introduced also a Chebyshev-Legendre collocation method for hyperbolic and parabolic equations. Their work is motivated by the fact that the hyperbolic equations are not well-posed in Chebyshev norm. In their method, the forcing term is ap- propriately penalized so that L2 norm estimates can be ob- tained for the collocation method using Chebyshev points. Although the two methods share the same spirit which is 236 ICOSAHOM 95 to take advantages of both the Chebyshev and Legendre methods, the motivation and the implementation of the two methods are entirely di®erent. We now describe how the Chebyshev-Legendre trans- forms can be e±ciently implemented. We split each Chebyshev-Legendre transform into two steps: 1. The transform between its values at CGL points and the coe±cients of its Chebyshev expansion. This can be done by FFT in 5 2 N log2 N + 4N operations (cf. P. 502 in [2]). 2. The transform between the coe±cients of the Cheby- shev expansion and of the Legendre expansion. This second transform has been addressed by Alpert and Rohklin [1]. They developed an O(N ) algorithm for the second transform for a prescribed precision. Their algo- rithm, as most algorithms based on the fast multipole method [7], is most attractive for very large N . For mod- erate N , the algorithm we describe below appears to be more competitive. Let us write p(x) = NX i=0 fiTi(x) = NX i=0 giLi(x); and f = (f0; f1; : : : ; fN )T ; g = (g0; g1; : : : ; gN )T : What we need is to transform between f and g. The rela- tion between f and g can be easily obtained by computing (p; Tj)! and (p; Lj). In fact, let us denote aij = 2 ci¼ (Ti; Lj)!; bij = (i + 1 2 )(Li; Tj); where c0 = 2 and ci = 1 for i ¸ 1, and A = (aij)i;j=0;1;:::;N ; B = (bij)i;j=0;1;:::;N : Then we have f = Ag; g = Bf ; AB = BA = I:(10) By the orthogonality and parity of the Chebyshev and Leg- endre polynomials, we observe immediately that aij = bij = 0; for i > j or i + j odd: Hence, both A and B only have about 1 4 N 2 nonzero el- ements, and the cost of each transform between f and g is about 1 2 N 2 operations. Consequently, the cost of each Chebyshev-Legendre transform is about ( 5 2 N log2 N + 4N ) + 1 2 N 2 operations as opposed to 2N 2 operations for the Legendre transform. In pure operational counts, the cost of the two transforms is about the same at N = 8, and the Chebyshev-Legendre transform costs about one third of the Legendre transform at N = 128 (see Table I for computational results). In summary, the one-dimensional Chebyshev-Legendre transform can be done in about ( 5 2 N log2 N + 4N ) + min( 1 2 N 2; CN ) » O(N log2 N ) operations, where C is a large constant in Alpert and Rohklin's algorithm [1]. Since multi-dimensional transforms in the tensor product form are performed through a sequence of one-dimensional transforms, the d- dimensional Chebyshev-Legendre transform can be done in O(N d log2 N ) operations and it has the same speedup as in the 1-D case, when compared with the d-dimensional Legendre transform. The nonzero elements of A and B can be easily deter- mined by the recurrence relations: Ti+1(x) = 2xTi(x) ¡ Ti¡1(x); i ¸ 1; Li+1(x) = 2i + 1 i + 1 xLi(x) ¡ i i + 1 Li¡1(x); i ¸ 1: Indeed, let ~aij = (Ti; Lj)!, then for j ¸ i ¸ 1, ~aij+1 = (Ti; Lj+1)! = (Ti; 2j + 1 j + 1 xLj ¡ j j + 1 Lj¡1) = 2j + 1 j + 1 (xTi; Lj)! ¡ j j + 1 ~aij¡1 = 2j + 1 2j + 2 (Ti+1 + Ti¡1; Lj)! ¡ j j + 1 ~aij¡1 = 2j + 1 2j + 2 (~ai+1j + ~ai¡1j) ¡ j j + 1 ~aij¡1: Similarly, let ~bij = (Li; Tj), we have for j ¸ i ¸ 1, ~bij+1 = 2i + 2 2i + 1 ~bi+1j + 2i 2i + 1 ~bi¡1j ¡ ~bij¡1: Thus, each nonzero element of A and B can be obtained by just a few operations. Furthermore, the Chebyshev- Legendre transform (10) is extremely easy to implement, while the algorithm in [1] requires considerable program- ming e®ort. We now turn our attention to problems with variable coe±cients. Let us consider for instance the following non- separable equation: 8 < : ¡div(a(x)ru) + b(x)u = f; x 2 ­ = [¡1; 1]d; uj@­ = 0; (11) Chebyshev-Legendre Methods 237 where d = 1, 2 or 3, a(x) > 0 and b(x) ¸ 0 for x 2 [¡1; 1]d: We can apply the spectral-Galerkin method directly to this equation, but it is more e±cient in most cases to make a change of dependent variable v = pau [4] which reduces (11) to: 8 < : Av ´ ¡¢v + p(x)v = q; x 2 ­ = [¡1; 1]d; vj@­ = 0; (12) where p(x) = 1pa ¢(pa) + 1 a b(x) and q(x) = 1pa f . The unmodi¯ed spectral-Galerkin method is usually impractical for this type of problems. We propose in- stead the following pseudo-spectral Chebyshev-Legendre Galerkin method for (12): ¯nd vN 2 XN = fw 2 SN : wj@­ = 0g s.t. (AspvN ; w) = (I c N f; w); 8w 2 XN ;(13) where Asp is de¯ned (Aspv; w) = (rv; rw) + (I c N (p(x)v); w); and SN is the space of polynomials of degree · N in each variable. It is clear that the matrix corresponding to Asp is full. Hence, the system (13) must be solved by using an iterative method. Preconditioned iterative methods have been successfully applied to the spectral-collocation sys- tems with pre-conditioners based on either the ¯nite dif- ference approximations [12, 10] or ¯nite elements approxi- mations [5, 3]. Here we propose to use Hsp de¯ned by (Hspv; w) ´ (rv; rw) + ®(v; w) (for an appropriate ® ¸ 0) as the preconditioner for Asp. This type of pre-conditioners was used in the ¯nite di®er- ence context by Concus and Golub [4], and the convergence rate of a iterative scheme for (13) with this type of pre- conditioners is independent of the discretization parameter N . The reconditioning equation (i.e. Hspv = g) can be ef- ¯ciently solved in O(N ) operations for d = 1 (see Section 2) and in O(N d(log2 N )d¡1) operations for d =2 and 3 (see [15]). Since the evaluation of Aspw for w 2 XN can be done in O(N d log2 N ) operations (see below), the equa- tion (11) can be solved in general in O(N d(log2 N )d¡1) operations. Because of the pseudo-spectral treatment of the term pvN , Asp is not exactly symmetric. However, it is indeed a spectrally accurate approximation to the symmetric spec- tral operator ~Asp de¯ned by ( ~Aspv; w) = (rv; rw) + (p(x)v; w); 8 v; w 2 XN : The numerical experiments indicate that preconditioned conjugate gradient type methods (see for instance [8]) can be applied to Asp and converge signi¯cantly faster than preconditioned Richardson or preconditioned mini- mum residual methods. The sacri¯ce for the exact symmetry is compensated by the fact that Aspw can be e±ciently evaluated. More pre- cisely, given the coe±cients of w 2 XN , we evaluate the action of Aspw in XN as follows (with the operation counts of each step in parentheses): 1. Compute the Legendre coe±cients of ¡¢w; (O(N d)) 2. Perform the forward Chebyshev-Legendre transform (from the Legendre coe±cients to the values at the CGL points) of w; (O(N d log2 N )) 3. Compute p(x)w(x) at the CGL points and then take the backward Chebyshev-Legendre transform of I c N (p(x)w(x)); (O(N d log2 N )) 4. Compute the action of Aspw = ¡¢w + I c N (p(x)w(x)) in XN . (O(N d)) The total cost, dominated by the cost of the two Chebyshev-Legendre transforms, is of order O(N d log2 N ). 4 Numerical results In this section, we present and compare some numeri- cal experiments on Legendre-Galerkin (LG), Chebyshev- Galerkin (CG) and Chebyshev-Legendre Galerkin (CLG) methods. All computations are performed in double pre- cision on a SUN-Sparc10 workstation Model-30 with stan- dard optimization option \¡O". All CPU times listed are in seconds. We ¯rst compare the costs of four di®erent transforms: 1. Chebyshev transform (CT). 2. Legendre transform (LT). This is done in an optimal way: we pre-compute and store the transform ma- trix, and then use LAPACK routine dgemm.f for the matrix-matrix product. 3. Chebyshev-Legendre transform I (CLT-I) by the ( 5 2 log2 N + 4N ) + 1 2 N 2 algorithm in Section 3. 4. Chebyshev-Legendre transform II (CLT-II) by the ( 5 2 log2 N + 4N ) + O(N ) algorithm in [1] with 16-digit accuracy. FFTPACK routine cost.f (available at NETLIB) is used for the real cosine transform in CT, CLT-I and CLT-II. The 238 ICOSAHOM 95 N CT LT CLT-I CLT-II 1-D transform 32 (1000) .09 .23 0.17 * 64 (1000) .16 1.04 0.59 .95 128 (1000) .31 4.05 1.87 2.38 256 (1000) .60 15.92 6.49 5.61 512 (100) .13 6.32 2.41 1.46 1024 (100) .36 25.81 9.51 3.36 2-D transform 16 (100) .11 .21 .18 * 32 (100) .43 1.45 0.93 * 64 (100) 2.47 14.74 6.59 12.29 128 (10) .91 11.26 4.15 6.29 256 (10) 3.99 88.33 29.06 30.36 512 (1) 2.08 69.94 21.67 16.07 Table 4.1: CPU time for the three transforms. N LG CLG CG 32 0.04 (0.01) 0.04 (0.01) 0.03 (0.04) 64 0.36 (0.06) 0.2 (0.06) 0.14 (0.19) 128 2.75 (0.14) 1.39 (0.14) 1.64 (1.99) 256 20.13 (0.54) 8.53 (0.54) 11.93 (17.99) 512 151.87 (2.04) 45.27 (2.04) 118.13 (167.36) Table 4.2: CPU time for the three Poisson solvers. CPU time for the three transforms (excluding the initial- ization process) are tabulated in Table I where the number in parentheses is the number of transforms made. Notice that in the 2-D case, CLT-I is more e±cient than LT for N as low as 16 and is three times faster than LT for N = 256, and CLT-I is more e±cient than CLT-II for N · 256 (CLT- II may become more competitive if single precision is used [1]). Furthermore, CLT are more accurate than LT for N large, since LT may su®er from the round-o® errors from the computation of LGL points (see Table 6 in [1] for more details). The CPU time for 3-D transforms behaves simi- larly as the 2-D transforms. We now compare the costs of solving a 2-D Poisson equa- tion by using the CG, LG and CLG methods. The CPU time for the initialization process (such as computing the eigenvectors of the 1-D second-order problem) is given in the parentheses. Evidently, CLG is more e±cient than LG in all cases. Furthermore, CLG is comparable to the very e±cient CG method for N · 64 and CLG becomes signi¯cantly more e±cient than CG for N ¸ 128. Next, we report on the computational results for the 2-D non-separable equation (11). Two test problems are considered: Example 1. a(x; y) = ¡ 1 + ®((x + 1)4 + (y + 1)4) ¢2 and b(x; y) = 0. The function a(x; y) has very large vari- ation over the domain but after the change of depedent variable v = pau, the function p(x; y) in (12) is still non- negative and has much less variation than a(x; y). Hence, fast convergence rate is expected for a wide range of ®. Example 2. a(x; y) = (1:5 + sin(®(x + y)))2 and b(x; y) = 0. In this case, p(x; y) in (12) is no longer a positive function and we have ¡ 4 5 ®2 · p(x; y) · 4®2. The system (12) is still positive de¯nite because (11) is. But the convergence rate may deteorate for large ® due to the nonpositivity of p(x; y). The two problems are solved by three di®erent schemes: 1. (CL-PCG) the preconditioned conjugate gradient method applied to (13); 2. (CL-PCGS) the preconditioned conjugate gradient squared method [16] applied to (13); 3. (C-PCGS) the preconditioned conjugate gradient squared method applied to a Chebyshev-Galerkin ap- proximation to (12)(similar to (13), but is formulated with a weighted inner product). In Table 3, we list the number of iterations needed for 7- digit accuracy. A few remarks are in order. Firstly, all three schemes for the ¯rst example converge very rapidly, even with a very large ®. The slower convergence for Example 2 with ® = 5 is attributed to the nonpositiv- ity of p(x; y). Note however that even though ¡20 · p(x; y) · 100 at ® = 5, the three schemes still converge with a relatively small number of interations. This is a strong indication that these interative schemes applied to spectral-Galerkin formulations are very robust. Secondly, even though the system (13) is not exactly symmetric, CL- PCG still converges very rapidly, although at a rate slower than that of CL-PCGS. However, the slower convergence rate is more than compensated by the fact that one itera- tion of PCGS costs twice as much as one iteration of PCG. Finally, the cost of one iteration of PCG (resp. PCGS) is about the same as the cost of solving one (resp. two) Pois- son equation(s) by the respective method (cf. Table 2). In summary, we have developed a very e±cient Chebyshev-Legendre Galerkin method with quasi-optimal operation counts for solving elliptic equations. Acknowledgments. The author would like to thank Dr. Alpert for providing his program for the Chebyshev- Legendre transform. Chebyshev-Legendre Methods 239 CL-PCG CL-PCGS C-PCGS N Example 1: ® = 10, 1000 16 8, 10 5, 6 5, 7 32 8, 9 5, 6 5, 7 64 8, 8 5, 6 5, 7 Example 2: ® = 2, 5 16 8, 23 5, 13 5, 14 32 8, 18 5, 13 5, 13 64 8, 17 5, 13 5, 13 Table 4.3: Number of iterations required for 7-digit accu- racy. References [1] B.K. Alpert and V. Rokhlin. A fast algorithm for the evaluation of Legendre expansions. SIAM J. Sci. Stat. Comput., 12:158{179, 1991. [2] C. Canuto, M. Y. Hussaini, A. Quarteroni, and T. A. Zang. Spectral Methods in Fluid Dynamics. Springer- Verlag, 1987. [3] C. Canuto and A. Quarteroni. Preconditioner minimal residual methods for Chebyshev spectral calculations. J. Comput. Phys., 60:315{337, 1985. [4] P. Concus and G. H. Golub. Use of fast direct meth- ods for the e±cient numerical solution of nonseparable elliptic equations. SIAM J. Numer. Anal., 10:1103{ 1120, 1973. [5] M. O. Deville and E. H. Mund. Finite element precon- ditioning for pseudospectral solutions of elliptic prob- lems. SIAM J. Sci. Stat. Comput., 11:311{342, 1990. [6] W.S. Don and D. Gottlieb. The Chebyshev-Legendre method: implementing Legendre methods on Cheby- shev points. SIAM J. Numer. Anal., 31:1519{1534, 1994. [7] L. Greengard and V. Rokhlin. A fast algorithm for particle simulations. J. Comput. Phys., 73:325{348, 1987. [8] G. Golub and C. Van Loan. Matrix Computations, second edition. Johns Hopkins Press, Baltimore, 1989. [9] D. B. Haidvogel and T. A. Zang. The accurate solu- tion of Poisson's equation by expansion in Chebyshev polynomials. J. Comput. Phys., 30:167{180, 1979. [10] P. Haldenwang, G. Labrosse, S. Abboudi, and M. Dev- ille. Chebyshev 3-d spectral and 2-d pseudospectral solvers for the Helmholtz equation. J. Comput. Phys., 55:115{128, 1984. [11] R. E. Lynch, J. R. Rice, and D. H. Thomas. Direct so- lution of partial di®erential equations by tensor prod- uct methods. Numer. Math., 6:185{199, 1964. [12] S. A. Orszag. Spectral methods for complex geome- tries. J.Comput.Phys., 37:70{92, 1980. [13] Jie Shen. E±cient spectral-Galerkin method i. direct solvers for second- and fourth-order equations by us- ing Legendre polynomials. SIAM J. Sci. Comput., 15:1489{1505, 1994. [14] Jie Shen. E±cient spectral-Galerkin method II. direct solvers for second- and fourth-order equations by us- ing Chebyshev polynomials. SIAM J. Sci. Comput., 16:74{87, 1995. [15] Jie Shen. On fast Poisson solver, inf-sup constant and iterative Stokes solver by Legendre Galerkin method. J. Comput. Phys., 116:184{188, 1995. [16] P. Sonneveld. CGS, a fast Lanczos-type solver for non- symmetric linear systems. SIAM J. Sci. Stat. Com- put., 10:36{32, 1989.

采集于

查看校方原文 ↗