13.07.2015 Views

AN EVALUATION OF PARALLEL MULTIGRID AS A SOLVER AND A ...

AN EVALUATION OF PARALLEL MULTIGRID AS A SOLVER AND A ...

AN EVALUATION OF PARALLEL MULTIGRID AS A SOLVER AND A ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>MULTIGRID</strong> <strong>AS</strong> A <strong>SOLVER</strong> <strong>AN</strong>D A PRECONDITIONER 8978945 612 3FIG. 1. The nine-point stencil with numbering.2. The multigrid preconditioned Krylov methods. We concentrate on linearmatrix systems with nine diagonals(1)or(2)Aφ = ba 1 i,jφ i−1,j−1 + a 2 i,jφ i,j−1 + a 3 i,jφ i+1,j−1 + a 4 i,jφ i−1,j + a 5 i,jφ i,j + a 6 i,jφ i+1,j+ a 7 i,jφ i−1,j+1 + a 8 i,jφ i,j+1 + a 9 i,jφ i+1,j+1 = b i,j ∀(i, j) ∈ G.Here, G is a subset of P nx,ny = {(i, j)|1 ≤ i ≤ n x , 1 ≤ j ≤ n y }.The stencil is presented in Figure 1 for convenience.Matrix A has right preconditioning as follows:(3)AK −1 (Kφ) = b.The Krylov subspace methods that are used for solving (3) are BiCGSTAB ([19]), asdescribed in detail in [23], and GMRES(m) ([14]).2.1. GMRES. The GMRES(m) algorithm with a right preconditioner appearsas follows:GMRES (m,A, b, φ) {Choose φ (0) , dimension m, matrix ˜H = 0 with dim: (m + 1) × mr (0) = b − Aφ (0) ; β = ||r (0) || 2 ; f 1 = r (0) /β;for j = 1, . . . , m {u j := K −1 f j ;w := Au j ;for i = 1, . . . , j {h i,j := (w, f i );w := w − h i,j f j ;h j+1,j := ||w|| 2 , f j+1 = w/h j+1,j ;}}Define F m := [f 1 , . . . , f m ];φ (m) := φ (0) + K −1 F m y m ; with y m = min y ||βe 1 − ˜Hy|| 2 ,(e 1 = [1, 0, . . . , 0] T );Compute r (m) = b − Aφ (m) ;If satisfied stop, else restart φ (0) ← φ (m) ;}K −1 f j is the preconditioning step, which is one iteration of a multigrid cycle.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!