E aStencils Overview Task: Solve a PDE (efficiently). Multigrid - - PowerPoint PPT Presentation

e astencils overview
SMART_READER_LITE
LIVE PREVIEW

E aStencils Overview Task: Solve a PDE (efficiently). Multigrid - - PowerPoint PPT Presentation

The Mathematics of ExaStencils Hannah Rittich joint work with: Matthias Bolten and Karsten Kahl Bergische Universit at Wuppertal April 15, 2015 E aStencils Overview Task: Solve a PDE (efficiently). Multigrid methods is a framework


slide-1
SLIDE 1

The Mathematics of ExaStencils

Hannah Rittich

joint work with: Matthias Bolten and Karsten Kahl

Bergische Universit¨ at Wuppertal

April 15, 2015

E aStencils

slide-2
SLIDE 2

Overview

◮ Task: Solve a PDE (efficiently). ◮ Multigrid methods is a framework for constucting algorithms. ◮ These methods are build from a set of different ingredients.

⇒ Which ingredients to choose?

◮ How do these ingredients influence (the computational and)

numerical performance of method?

◮ Estimate the (numerical) performance is needed.

⇒ Local Fourier Analysis. (What is this?)

slide-3
SLIDE 3

Poisson’s Equation

∆u = f

  • n

Ω u = g

  • n

∂Ω where ∆u = ∂2u

∂x2 + ∂2u ∂y2

Ω = (0, 1) × (0, 1)

slide-4
SLIDE 4

Poisson’s Equation

∆u = f

  • n

Ω u = g

  • n

∂Ω where ∆u = ∂2u

∂x2 + ∂2u ∂y2

Ω = (0, 1) × (0, 1)

Photo by Graham Richardson / CC BY

slide-5
SLIDE 5

Poisson’s Equation

∆u = f

  • n

Ω u = g

  • n

∂Ω where ∆u = ∂2u

∂x2 + ∂2u ∂y2

Ω = (0, 1) × (0, 1)

0.5 1

  • 1
  • 0.5

0.5 1

slide-6
SLIDE 6

Poisson’s Equation

∆u = f

  • n

Ω u = g

  • n

∂Ω where ∆u = ∂2u

∂x2 + ∂2u ∂y2

Ω = (0, 1) × (0, 1)

  • 1
  • 0.5

1 0.5 1 0.5

slide-7
SLIDE 7

Poisson’s Equation

∆u = f

  • n

Ω u = g

  • n

∂Ω where ∆u = ∂2u

∂x2 + ∂2u ∂y2

Ω = (0, 1) × (0, 1) x y Ω u : Ω → R

slide-8
SLIDE 8

Poisson’s Equation

∆u = f

  • n

Ω u = g

  • n

∂Ω where ∆u = ∂2u

∂x2 + ∂2u ∂y2

Ω = (0, 1) × (0, 1) x y Ω u : Ω → R x y Ωh uh : Ωh → R

slide-9
SLIDE 9

Multigrid in One Slide

  • 0.2
  • 0.15
  • 0.1
  • 0.05

0.05 0.1 0.15 0.2 0.8 1 0.6 0.2 0.4 0.2 0.4 0.6 0.8 1

  • 0.01
  • 0.005

0.005 0.01 0.015 0.8 1 0.4 0.6 0.2 0.2 0.4 0.6 0.8 1

  • 0.01
  • 0.005

0.005 0.01 0.015 0.4 0.6 0.8 1 0.2 0.2 0.4 0.6 0.8 1

◮ For many simple iterative methods and

certain problems we have that the error is smooth after a few iterations.

◮ Smooth error can be represented on a

coarser grid. ⇒ Linear system of reduced size.

◮ Use recursion on the coarse problem.

choose u repeat smooth u ˜ e ← coarse approx. of e u ← u + ˜ e smooth u until satisfied

slide-10
SLIDE 10

Gauß-Seidel Smoother

ux,y = 1

4(fx,y − ux,y−1 − ux−1,y − ux+1,y − ux,y+1) ◮ Bad Parallelization...

slide-11
SLIDE 11

Gauß-Seidel Smoother

ux,y = 1

4(fx,y − ux,y−1 − ux−1,y − ux+1,y − ux,y+1) ◮ Bad Parallelization...

slide-12
SLIDE 12

Gauß-Seidel Smoother

ux,y = 1

4(fx,y − ux,y−1 − ux−1,y − ux+1,y − ux,y+1) ◮ Bad Parallelization...

slide-13
SLIDE 13

Gauß-Seidel Smoother

ux,y = 1

4(fx,y − ux,y−1 − ux−1,y − ux+1,y − ux,y+1) ◮ Bad Parallelization...

slide-14
SLIDE 14

Gauß-Seidel Smoother

ux,y = 1

4(fx,y − ux,y−1 − ux−1,y − ux+1,y − ux,y+1) ◮ Bad Parallelization...

slide-15
SLIDE 15

Gauß-Seidel Smoother

ux,y = 1

4(fx,y − ux,y−1 − ux−1,y − ux+1,y − ux,y+1) ◮ Bad Parallelization...

slide-16
SLIDE 16

Red-Black GS Smoother

ux,y = 1

4(fx,y − ux,y−1 − ux−1,y − ux+1,y − ux,y+1) ◮ Parallelizable ◮ Per Iteration:

◮ ≈ 4

√ N/ √ P Words

  • p. Proc.

◮ 2 Msgs.

slide-17
SLIDE 17

Red-Black GS Smoother

ux,y = 1

4(fx,y − ux,y−1 − ux−1,y − ux+1,y − ux,y+1) ◮ Parallelizable ◮ Per Iteration:

◮ ≈ 4

√ N/ √ P Words

  • p. Proc.

◮ 2 Msgs.

slide-18
SLIDE 18

Red-Black GS Smoother

ux,y = 1

4(fx,y − ux,y−1 − ux−1,y − ux+1,y − ux,y+1) ◮ Parallelizable ◮ Per Iteration:

◮ ≈ 4

√ N/ √ P Words

  • p. Proc.

◮ 2 Msgs.

slide-19
SLIDE 19

Red-Black GS Smoother

ux,y = 1

4(fx,y − ux,y−1 − ux−1,y − ux+1,y − ux,y+1) ◮ Parallelizable ◮ Per Iteration:

◮ ≈ 4

√ N/ √ P Words

  • p. Proc.

◮ 2 Msgs.

slide-20
SLIDE 20

Red-Black GS Smoother

ux,y = 1

4(fx,y − ux,y−1 − ux−1,y − ux+1,y − ux,y+1) ◮ Parallelizable ◮ Per Iteration:

◮ ≈ 4

√ N/ √ P Words

  • p. Proc.

◮ 2 Msgs.

slide-21
SLIDE 21

Red-Black GS Smoother

ux,y = 1

4(fx,y − ux,y−1 − ux−1,y − ux+1,y − ux,y+1) ◮ Parallelizable ◮ Per Iteration:

◮ ≈ 4

√ N/ √ P Words

  • p. Proc.

◮ 2 Msgs.

slide-22
SLIDE 22

Red-Black GS Smoother

ux,y = 1

4(fx,y − ux,y−1 − ux−1,y − ux+1,y − ux,y+1) ◮ Parallelizable ◮ Per Iteration:

◮ ≈ 4

√ N/ √ P Words

  • p. Proc.

◮ 2 Msgs.

slide-23
SLIDE 23

Red-Black GS Smoother

ux,y = 1

4(fx,y − ux,y−1 − ux−1,y − ux+1,y − ux,y+1) ◮ Parallelizable ◮ Per Iteration:

◮ ≈ 4

√ N/ √ P Words

  • p. Proc.

◮ 2 Msgs.

slide-24
SLIDE 24

Red-Black GS Smoother

ux,y = 1

4(fx,y − ux,y−1 − ux−1,y − ux+1,y − ux,y+1) ◮ Parallelizable ◮ Per Iteration:

◮ ≈ 4

√ N/ √ P Words

  • p. Proc.

◮ 2 Msgs.

slide-25
SLIDE 25

Red-Black GS Smoother

ux,y = 1

4(fx,y − ux,y−1 − ux−1,y − ux+1,y − ux,y+1) ◮ Parallelizable ◮ Per Iteration:

◮ ≈ 4

√ N/ √ P Words

  • p. Proc.

◮ 2 Msgs.

slide-26
SLIDE 26

Jacobi Smoother

unew

x,y = 1 4(fx,y − uold x,y−1 − uold x−1,y − uold x+1,y − uold x,y+1) ◮ Parallelizable ◮ Per Iteration:

◮ ≈ 4

√ N/ √ P Words

  • p. Proc.

◮ 1 Msgs.

slide-27
SLIDE 27

Jacobi Smoother

unew

x,y = 1 4(fx,y − uold x,y−1 − uold x−1,y − uold x+1,y − uold x,y+1) ◮ Parallelizable ◮ Per Iteration:

◮ ≈ 4

√ N/ √ P Words

  • p. Proc.

◮ 1 Msgs.

slide-28
SLIDE 28

Jacobi Smoother

unew

x,y = 1 4(fx,y − uold x,y−1 − uold x−1,y − uold x+1,y − uold x,y+1) ◮ Parallelizable ◮ Per Iteration:

◮ ≈ 4

√ N/ √ P Words

  • p. Proc.

◮ 1 Msgs.

slide-29
SLIDE 29

Jacobi Smoother

unew

x,y = 1 4(fx,y − uold x,y−1 − uold x−1,y − uold x+1,y − uold x,y+1) ◮ Parallelizable ◮ Per Iteration:

◮ ≈ 4

√ N/ √ P Words

  • p. Proc.

◮ 1 Msgs.

slide-30
SLIDE 30

Jacobi Smoother

unew

x,y = 1 4(fx,y − uold x,y−1 − uold x−1,y − uold x+1,y − uold x,y+1) ◮ Parallelizable ◮ Per Iteration:

◮ ≈ 4

√ N/ √ P Words

  • p. Proc.

◮ 1 Msgs.

slide-31
SLIDE 31

Jacobi Smoother

unew

x,y = 1 4(fx,y − uold x,y−1 − uold x−1,y − uold x+1,y − uold x,y+1) ◮ Parallelizable ◮ Per Iteration:

◮ ≈ 4

√ N/ √ P Words

  • p. Proc.

◮ 1 Msgs.

slide-32
SLIDE 32

Smoother Summary

GS RB-GS Jacobi Words — 4 √ N/ √ P 4 √ N/ √ P Msgs — 2 1 Sm. 0.499817 0.25 1 2-lv 0.192336 0.0737621 1 3-lv 0.198407 0.104202 1

slide-33
SLIDE 33

Local Fourier Analysis

  • 1. We seek for E for “some” operator E and
  • 2. for ρ(E).

(since limn→∞ En1/n = ρ(E)) That is E = (I − ωD−1L) (Jacobi’s Method), E = I − PℓL−1

ℓ+1P T ℓ Lℓ

(Coarse Grid Correction) or Eℓ = Mν2

ℓ (I − Pℓ(I − Eγ ℓ+1)(Lℓ+1)−1RℓLℓ)Mν1 ℓ

Eℓmax = 0 (Multigrid Method).

slide-34
SLIDE 34

Local Fourier Analysis

  • 1. We seek for E for “some” operator E and
  • 2. for ρ(E).

(since limn→∞ En1/n = ρ(E)) That is E = (I − ωD−1L) (Jacobi’s Method), E = I − PℓL−1

ℓ+1P T ℓ Lℓ

(Coarse Grid Correction) or Eℓ = Mν2

ℓ (I − Pℓ(I − Eγ ℓ+1)(Lℓ+1)−1RℓLℓ)Mν1 ℓ

Eℓmax = 0 (Multigrid Method).

slide-35
SLIDE 35

Stencil Operators

◮ Let Ωh = h1Z × · · · × hdZ. ◮ If L is a linear operator on the grid Ωh it

can be written in the form (Lu)(x) =

  • κ∈hZd

sx(κ) · u(x + κ) for x ∈ Ωh.

◮ For many operators:

x ≈ x′ ⇒ sx ≈ sx′.

◮ To analyze the local behavior it is

sufficient to deal with constant stencils.

u(x) u(x + κ) sx(κ)

slide-36
SLIDE 36

Local Fourier Analysis

  • 1. We seek for E for “some” operator E and
  • 2. for ρ(E).

(since limn→∞ En1/n = ρ(E))

◮ Consider the operator given by the constant stencil

(Lu)(x) =

  • κ∈hZd

s(κ) · u(x + κ)

◮ Grid size independent analysis.

◮ “Move boundary conditions to infinity.”

⇒ Consider operators on an infinite grid.

◮ Exploits simple structure in the frequency Domain. ◮ Quantitative estimates.

slide-37
SLIDE 37

Discrete Time Fourier Transform (DTFT)

“Time” Domain Frequency Domain Fh F −1

h

  • 10
  • 5

5 10 0.2 0.4 0.6 0.8 1 (truncated) time domain

  • 3
  • 2
  • 1

1 2 3 0.2 0.4 0.6 0.8 1 frequency domain vol1/2

h

(2π)d/2

  • x∈Ωh

f(x)eiϑ,x

vol1/2

h

(2π)d/2

  • Θh

ˆ u(ϑ)eiϑ,x dϑ

slide-38
SLIDE 38

Discrete Time Fourier Transform (DTFT)

“Time” Domain Frequency Domain Fh F −1

h

  • 10
  • 5

5 10 0.2 0.4 0.6 0.8 1 (truncated) time domain

  • 3
  • 2
  • 1

1 2 3 0.2 0.4 0.6 0.8 1 frequency domain vol1/2

h

(2π)d/2

  • x∈Ωh

f(x)eiϑ,x

vol1/2

h

(2π)d/2

  • Θh

ˆ u(ϑ)eiϑ,x dϑ

slide-39
SLIDE 39

Discrete Time Fourier Transform (DTFT)

“Time” Domain Frequency Domain Fh F −1

h

  • 10
  • 5

5 10 0.2 0.4 0.6 0.8 1 (truncated) time domain

  • 3
  • 2
  • 1

1 2 3 0.2 0.4 0.6 0.8 1 frequency domain vol1/2

h

(2π)d/2

  • x∈Ωh

f(x)eiϑ,x

vol1/2

h

(2π)d/2

  • Θh

ˆ u(ϑ)eiϑ,x dϑ

slide-40
SLIDE 40

Discrete Time Fourier Transform (DTFT)

“Time” Domain Frequency Domain Fh F −1

h

  • 10
  • 5

5 10 0.2 0.4 0.6 0.8 1 (truncated) time domain

  • 3
  • 2
  • 1

1 2 3 0.2 0.4 0.6 0.8 1 frequency domain vol1/2

h

(2π)d/2

  • x∈Ωh

f(x)eiϑ,x

vol1/2

h

(2π)d/2

  • Θh

ˆ u(ϑ)eiϑ,x dϑ

slide-41
SLIDE 41

Discrete Time Fourier Transform (DTFT)

“Time” Domain Frequency Domain Fh F −1

h

  • 10
  • 5

5 10 0.2 0.4 0.6 0.8 1 (truncated) time domain

  • 3
  • 2
  • 1

1 2 3 0.2 0.4 0.6 0.8 1 frequency domain vol1/2

h

(2π)d/2

  • x∈Ωh

f(x)eiϑ,x

vol1/2

h

(2π)d/2

  • Θh

ˆ u(ϑ)eiϑ,x dϑ

slide-42
SLIDE 42

Local Fourier Analysis

Stencil operators

  • Lu
  • (x) =
  • κ∈hZd

s(κ) · u(x + κ) . exhibit a simple representation under the DTFT. u f ˆ u ˆ f L ˆ f = L · ˆ u Fh Fh Theorem Let L ∈ L∞(Θh) be the symbol of L. Then Lℓ2 = ess sup

ϑ

| L(ϑ)| ρ(L) = ess sup

ϑ

ρ( L(ϑ))

slide-43
SLIDE 43

1D Poisson Smoothing

  • E(ϑ) = cos(hϑ)
  • 3
  • 2
  • 1

1 2 3 0.2 0.4 0.6 0.8 1

1D Poi. Eq.

∂2u ∂x2 = f

Sm. GS 0.50 RB-GS 0.25 Jac. 1.00

slide-44
SLIDE 44

1D Poisson Smoothing

  • E(ϑ) = exp(−ihϑ)

2−exp(ihϑ)

  • 3
  • 2
  • 1

1 2 3 0.2 0.4 0.6 0.8 1

1D Poi. Eq.

∂2u ∂x2 = f

Sm. GS 0.50 RB-GS 0.25 Jac. 1.00

slide-45
SLIDE 45

Harmonic Frequencies

◮ Red-Black Gauß-Seidel is not shift-invariant. ◮ Low and High Frequencies interact.

u1 u2 u3 u4 u5 u6 u1 u2 u3 u4 u5 u0 ϑlow ∈ [− π

2h, π 2h)

ϑhigh = [ϑlow + 2π/h]h

  • 4
  • 2

2 4

  • 1
  • 0.5

0.5 1

slide-46
SLIDE 46

1D Poisson Smoothing

1 2

  • A(ϑ)+1 −A(ϑ+π)+1

−A(ϑ)+1 A(ϑ+π)+1

  • · 1

2

  • A(ϑ)+1 A(ϑ+π)−1

A(ϑ)−1 A(ϑ+π)+1

  • 1.5
  • 1
  • 0.5

0.5 1 1.5 0.2 0.4 0.6 0.8 1 low → low

  • 1.5
  • 1
  • 0.5

0.5 1 1.5 0.2 0.4 0.6 0.8 1 high → low

  • 1.5
  • 1
  • 0.5

0.5 1 1.5 0.2 0.4 0.6 0.8 1 low → high

  • 1.5
  • 1
  • 0.5

0.5 1 1.5 0.2 0.4 0.6 0.8 1 high → high

1D Poi. Eq.

∂2u ∂x2 = f

Sm. GS 0.50 RB-GS 0.25 Jac. 1.00

slide-47
SLIDE 47

Harmonic Freq. / Block Toeplitz Operators

Rˆ u = (R1ˆ u, . . . , Rnˆ u)T = (ˆ u (ϑ + σ1) , . . . , ˆ u (ϑ + σn))T {σ1, . . . , σn} = { 2π

hS z | 0 ≤ zj < S, z ∈ Zd}

ˆ u

  • 2
  • 1.5
  • 1
  • 0.5

0.5 1 1.5 2 1 2 3 4 5 6

Rˆ u

  • 2
  • 1.5
  • 1
  • 0.5

0.5 1 1.5 2 0.75 1.25

  • 2
  • 1.5
  • 1
  • 0.5

0.5 1 1.5 2 0.75 1.25

  • 2
  • 1.5
  • 1
  • 0.5

0.5 1 1.5 2 0.75 1.25

  • 2
  • 1.5
  • 1
  • 0.5

0.5 1 1.5 2 0.75 1.25

slide-48
SLIDE 48

Harmonic Freq. / Block Toeplitz Operators

Rˆ u = (R1ˆ u, . . . , Rnˆ u)T = (ˆ u (ϑ + σ1) , . . . , ˆ u (ϑ + σn))T {σ1, . . . , σn} = { 2π

hS z | 0 ≤ zj < S, z ∈ Zd}

u f ˆ u ˆ f

  • ˆ

u

  • ˆ

f L

  • ˆ

f = L · ˆ u Fh R Fh R Lℓ2 = ess sup

ϑ

  • L(ϑ)2

ρ(L) = ess sup

ϑ

ρ( L(ϑ)) ˆ u

  • 2
  • 1.5
  • 1
  • 0.5

0.5 1 1.5 2 1 2 3 4 5 6

Rˆ u

  • 2
  • 1.5
  • 1
  • 0.5

0.5 1 1.5 2 0.75 1.25

  • 2
  • 1.5
  • 1
  • 0.5

0.5 1 1.5 2 0.75 1.25

  • 2
  • 1.5
  • 1
  • 0.5

0.5 1 1.5 2 0.75 1.25

  • 2
  • 1.5
  • 1
  • 0.5

0.5 1 1.5 2 0.75 1.25

slide-49
SLIDE 49

Block Stencil Operators

slide-50
SLIDE 50

Block Stencil Operators

slide-51
SLIDE 51

Block Stencil Operators

slide-52
SLIDE 52

Block Stencil Operators

  • L(ϑ) = F ∗(G(ϑ) ◦ F)

where Gkj = Rj L(k) Fkj =

1 √neiσj,τk

  • is the Haramard product

u f ˆ u ˆ f

  • ˆ

u

  • ˆ

f L

  • ˆ

f = L · ˆ u Fh R Fh R

◮ Symbol of a block stencil

  • perator can be

computed from the symbols of its stencils.

slide-53
SLIDE 53

Analysis of General Operators

◮ How to analyze more general operators like

Jacobi’s Method E = (I − ωD−1L) ?

◮ Use linearity

  • A + λB =

A + λ B and

◮ the composition of operators

BA = B A .

◮ And in case of different block sizes:

ΠT  

  • L(ϑ+µ1)

...

  • L(ϑ+µm)

  Π′

◮ How about a whole Multigrid method?

slide-54
SLIDE 54

Intergrid Transfer Operators

Restriction R = RinjRst with (Rinju)(x) = u(x)

  • Rinj =

1 √n(1, . . . , 1)

Interpolation P = PstPinj with (Pinju)(x) =

  • u(x)

if x ∈ ΩhS

  • therwise
  • Pinj =

1 √n(1, . . . , 1)T

ˆ u

  • 2
  • 1.5
  • 1
  • 0.5

0.5 1 1.5 2 1 2 3 4 5 6

Rˆ u

  • 2
  • 1.5
  • 1
  • 0.5

0.5 1 1.5 2 0.75 1.25

  • 2
  • 1.5
  • 1
  • 0.5

0.5 1 1.5 2 0.75 1.25

  • 2
  • 1.5
  • 1
  • 0.5

0.5 1 1.5 2 0.75 1.25

  • 2
  • 1.5
  • 1
  • 0.5

0.5 1 1.5 2 0.75 1.25

slide-55
SLIDE 55

A Jumping Coefficient Problem

−div(a grad(u)) = f

  • n Ω

u = g

  • n ∂Ω

◮ a : Ω → R ◮ Finite Volume Discretization ◮ a discontinuous at interfaces

a = 106 a = 1

u(x) 5 10 15 20 25 30 35 X 5 10 15 20 25 30 35 Y 2e-05 4e-05 6e-05 8e-05 0.0001 0.00012 u(x) 5e-05 1e-05 1e-06 1e-07 1e-09 1e-11 5 10 15 20 25 30 35 X 5 10 15 20 25 30 35

slide-56
SLIDE 56

Multigrid Solver

−div(a grad(u)) = f

  • n Ω

u = g

  • n ∂Ω

◮ a discontinuous at interfaces

a = 106 a = 1

◮ Pointwise smoother (ω-Jacobi, Gauß-Seidel).

Mℓ = (I − B−1

ℓ Lℓ) ◮ Galerkin coarse grid approximation.

Lℓ+1 = P T

ℓ LℓPℓ ◮ Operator dependent interpolation (see [ABDP81]). ◮ Full Coarsening (Two-Level).

slide-57
SLIDE 57

Analysis of the JCP

◮ LFA analyzes local behavior.

⇒ Capture the essentials of the operator by a local (and repeated) block stencil operator.

◮ Repeated jumps yield the same behavior as the original

  • perator.

. . . · · · · · · . . .

slide-58
SLIDE 58

Analysis of the JCP

−div(a grad(u)) = f

  • n Ω

u = g

  • n ∂Ω

◮ a discontinuous at interfaces

a = 106 a = 1

Jacobi’s Method E = (I − ωD−1L)

Jac (0.8), Poisson 5 10 15 20 25 30 5 10 15 20 25 30 0.2 0.4 0.6 0.8 1 Jac (0.8), JCP (4x4) 5 10 15 20 25 30 5 10 15 20 25 30 0.2 0.4 0.6 0.8 1

slide-59
SLIDE 59

Analysis of the JCP

−div(a grad(u)) = f

  • n Ω

u = g

  • n ∂Ω

◮ a discontinuous at interfaces

a = 106 a = 1

Coarse Grid Correction E = I − PℓL−1

ℓ+1P T ℓ Lℓ

GCA (Bilinear), JCP (4x4) 5 10 15 20 25 30 5 10 15 20 25 30 0.5 1 1.5 2 2.5 GCA (Adaptive), JCP (4x4) 5 10 15 20 25 30 5 10 15 20 25 30 0.5 1 1.5 2 2.5

slide-60
SLIDE 60

Analysis of the JCP

−div(a grad(u)) = f

  • n Ω

u = g

  • n ∂Ω

◮ a discontinuous at interfaces

a = 106 a = 1

Two-Grid Method E = Mℓ(I − PℓL−1

ℓ+1P T ℓ Lℓ)Mℓ

Jac (0.8), Dep., GCA, JCP (4x4) 5 10 15 20 25 30 5 10 15 20 25 30 0.2 0.4 0.6 0.8 1

slide-61
SLIDE 61

Summary and Outlook

◮ To maximize the usage of your hardware choose from different

algorithms. ⇒ Need for (automatic) analysis of the convergence behavior.

◮ LFA can be used to analyze complex problems.

◮ Write all your operators in block stencil form. ◮ Use the formula

L = F ∗(G ◦ F) to compute its frequency representation.

◮ Combine the operators (linearity and composition). ◮ Easily compute the norm or spectral radius.

◮ A Software tool is in preparation for easy application of the

analysis.

slide-62
SLIDE 62

Bibliography

  • R. Alcouffe, A. Brandt, J. Dendy, Jr., and J. Painter.

The multi-grid method for the diffusion equation with strongly discontinuous coefficients. SIAM Journal on Scientific and Statistical Computing, 2(4):430–454, 1981.