39
Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann *,and M.B. van Gijzen * Email: [email protected] Delft Institute of Applied Mathematics Delft University of Technology Delft, The Netherlands SIAM Student Krylov Day 2015 M. Baumann () Krylov methods for shifted linear systems 1 / 20

SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Shi(f)t happens- Krylov methods for shifted linear systems -

M. Baumann∗,† and M.B. van Gijzen†

∗Email: [email protected]†Delft Institute of Applied Mathematics

Delft University of TechnologyDelft, The Netherlands

SIAM Student Krylov Day 2015

M. Baumann () Krylov methods for shifted linear systems 1 / 20

Page 2: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

What’s a shifted linear system?

Definition

Shifted linear systems are of the form

(A− ωk I )xk = b,

where ωkNk=1 ∈ C are a sequence of (many) shifts.

For the simultaneous solution, Krylov methods are well-suitedbecause of the shift-invariance property:

Km(A,b) ≡ spanb,Ab, ...,Am−1b = Km(A− ωI ,b).

“Proof”(shift-invariance)

For m = 2: K2(A,b) = spanb,AbK2(A− ωI ,b) = spanb,Ab− ωb = spanb,Ab

M. Baumann () Krylov methods for shifted linear systems 2 / 20

Page 3: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

What’s a shifted linear system?

Definition

Shifted linear systems are of the form

(A− ωk I )xk = b,

where ωkNk=1 ∈ C are a sequence of (many) shifts.

For the simultaneous solution, Krylov methods are well-suitedbecause of the shift-invariance property:

Km(A,b) ≡ spanb,Ab, ...,Am−1b = Km(A− ωI ,b).

“Proof”(shift-invariance)

For m = 2: K2(A,b) = spanb,AbK2(A− ωI ,b) = spanb,Ab− ωb = spanb,Ab

M. Baumann () Krylov methods for shifted linear systems 2 / 20

Page 4: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

What’s a shifted linear system?

Definition

Shifted linear systems are of the form

(A− ωk I )xk = b,

where ωkNk=1 ∈ C are a sequence of (many) shifts.

For the simultaneous solution, Krylov methods are well-suitedbecause of the shift-invariance property:

Km(A,b) ≡ spanb,Ab, ...,Am−1b = Km(A− ωI ,b).

“Proof”(shift-invariance)

For m = 2: K2(A,b) = spanb,AbK2(A− ωI ,b) = spanb,Ab− ωb = spanb,Ab

M. Baumann () Krylov methods for shifted linear systems 2 / 20

Page 5: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Some (semi) open research questions...

(A− ωk I )xk = b

1 Can we allow multiple right-hand sides?

2 Which preconditioners preserve shift-invariance?

3 Can we apply restarting and nested algorithms?

4 Can we benefit from (spectral) deflation?

5 What if (A− ωkM)xk = b?

6 Where do shifted systems occur in practice?

M. Baumann () Krylov methods for shifted linear systems 3 / 20

Page 6: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Some (semi) open research questions...

(A− ωk I )xk = b

1 Can we allow multiple right-hand sides?

2 Which preconditioners preserve shift-invariance?

3 Can we apply restarting and nested algorithms?

4 Can we benefit from (spectral) deflation?

5 What if (A− ωkM)xk = b?

6 Where do shifted systems occur in practice?

M. Baumann () Krylov methods for shifted linear systems 3 / 20

Page 7: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Some (semi) open research questions...

(A− ωk I )xk = b

1 Can we allow multiple right-hand sides?

2 Which preconditioners preserve shift-invariance?

3 Can we apply restarting and nested algorithms?

4 Can we benefit from (spectral) deflation?

5 What if (A− ωkM)xk = b?

6 Where do shifted systems occur in practice?

M. Baumann () Krylov methods for shifted linear systems 3 / 20

Page 8: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Some (semi) open research questions...

(A− ωk I )xk = b

1 Can we allow multiple right-hand sides?

2 Which preconditioners preserve shift-invariance?

3 Can we apply restarting and nested algorithms?

4 Can we benefit from (spectral) deflation?

5 What if (A− ωkM)xk = b?

6 Where do shifted systems occur in practice?

M. Baumann () Krylov methods for shifted linear systems 3 / 20

Page 9: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Some (semi) open research questions...

(A− ωk I )xk = b

1 Can we allow multiple right-hand sides?

2 Which preconditioners preserve shift-invariance?

3 Can we apply restarting and nested algorithms?

4 Can we benefit from (spectral) deflation?

5 What if (A− ωkM)xk = b?

6 Where do shifted systems occur in practice?

M. Baumann () Krylov methods for shifted linear systems 3 / 20

Page 10: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Some (semi) open research questions...

(A− ωk I )xk = b

1 Can we allow multiple right-hand sides?

2 Which preconditioners preserve shift-invariance?

3 Can we apply restarting and nested algorithms?

4 Can we benefit from (spectral) deflation?

5 What if (A− ωkM)xk = b?

6 Where do shifted systems occur in practice?

M. Baumann () Krylov methods for shifted linear systems 3 / 20

Page 11: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Outline

1 Multi-shift Krylov methods

2 Some words on preconditioning

3 Nested multi-shift Krylov methods

4 Geophysical applications

M. Baumann () Krylov methods for shifted linear systems 4 / 20

Page 12: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Multi-shift GMRES

After m steps of Arnoldi, we have,

AVm = Vm+1Hm,

and the approximate solution yields:

xm ≈ Vmym, where ym = argminy∈Cm

‖Hmy − ‖b‖e1‖ .

For shifted systems, we get

(A− ωI )Vm = Vm+1(Hm − ωIm),

and, therefore,

x(ω)m ≈ Vmy

(ω)m , where y

(ω)m = argmin

y∈Cm

∥∥∥H(ω)m y − ‖b‖e1

∥∥∥ .M. Baumann () Krylov methods for shifted linear systems 5 / 20

Page 13: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Multi-shift GMRES

After m steps of Arnoldi, we have,

AVm = Vm+1Hm,

and the approximate solution yields:

xm ≈ Vmym, where ym = argminy∈Cm

‖Hmy − ‖b‖e1‖ .

For shifted systems, we get

(A− ωI )Vm = Vm+1(Hm − ωIm),

and, therefore,

x(ω)m ≈ Vmy

(ω)m , where y

(ω)m = argmin

y∈Cm

∥∥∥H(ω)m y − ‖b‖e1

∥∥∥ .M. Baumann () Krylov methods for shifted linear systems 5 / 20

Page 14: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Multi-shift GMRES

After m steps of Arnoldi, we have,

AVm = Vm+1Hm,

and the approximate solution yields:

xm ≈ Vmym, where ym = argminy∈Cm

‖Hmy − ‖b‖e1‖ .

For shifted systems, we get

(A− ωI )Vm = Vm+1(Hm − ωIm),

and, therefore,

x(ω)m ≈ Vmy

(ω)m , where y

(ω)m = argmin

y∈Cm

∥∥∥H(ω)m y − ‖b‖e1

∥∥∥ .M. Baumann () Krylov methods for shifted linear systems 5 / 20

Page 15: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Preconditioning is a problem

Main disadvantage:

Preconditioners are in general not easy to apply. For

(A− ωI )P−1ω y(ω) = b, Pωx(ω) = y(ω)

it does not hold:

Km(AP−1,b) 6= Km(AP−1ω − ωP−1ω ,b).

However, there are ways...

ReferenceB. Jegerlehner, Krylov space solvers for shifted linear systems. Publishedonline arXiv:hep-lat/9612014, 1996.

M. Baumann () Krylov methods for shifted linear systems 6 / 20

Page 16: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Preconditioning is a problem

Main disadvantage:

Preconditioners are in general not easy to apply. For

(A− ωI )P−1ω y(ω) = b, Pωx(ω) = y(ω)

it does not hold:

Km(AP−1,b) 6= Km(AP−1ω − ωP−1ω ,b).

However, there are ways...

ReferenceB. Jegerlehner, Krylov space solvers for shifted linear systems. Publishedonline arXiv:hep-lat/9612014, 1996.

M. Baumann () Krylov methods for shifted linear systems 6 / 20

Page 17: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Preconditioning is a problem... or has been a problem ?

Short historical overview:

2002 Shift-and-invert preconditioner:

P = (A− τ I ), τ ≈ ω1, ..., ωN

2007 Many shift-and-invert preconditioners:

Pj = (A− τj I )

2013 Polynomial preconditioners:

pn(A) ≈ A−1, pωn (A) ≈ (A− ωI )−1

2014 Nested Krylov methods

M. Baumann () Krylov methods for shifted linear systems 7 / 20

Page 18: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Nested multi-shift Krylov methods

Methodology:

Martin knows: Polynomial preconditioners exist

Question: Can we use a Krylov polynomial?

Nested multi-shift Krylov methods:

Use an inner multi-shift Krylov method as preconditioner.

For inner method, require collinear residuals [r(ω)j = γrj ].

This is the case for:I multi-shift GMRES [1998]I multi-shift FOM [2003]I multi-shift BiCG [2003]I multi-shift IDR(s) [new!]

Using γ, we can preserve the shift-invariance in the outerKrylov iteration.

M. Baumann () Krylov methods for shifted linear systems 8 / 20

Page 19: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Nested multi-shift Krylov methods

Methodology:

Martin knows: Polynomial preconditioners exist

Question: Can we use a Krylov polynomial?

Nested multi-shift Krylov methods:

Use an inner multi-shift Krylov method as preconditioner.

For inner method, require collinear residuals [r(ω)j = γrj ].

This is the case for:I multi-shift GMRES [1998]I multi-shift FOM [2003]I multi-shift BiCG [2003]I multi-shift IDR(s) [new!]

Using γ, we can preserve the shift-invariance in the outerKrylov iteration.

M. Baumann () Krylov methods for shifted linear systems 8 / 20

Page 20: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Nested multi-shift Krylov methods

Inner-outer iteration:

ms FOM ms FGMRES

j = j + 1

early truncation

coll. residuals

All details can be found in,

ReferenceM. Baumann and M.B. van Gijzen. Nested Krylov methods for shiftedlinear systems. SISC Copper Mountain Special Section 2014 [Accepted].

M. Baumann () Krylov methods for shifted linear systems 9 / 20

Page 21: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Nested multi-shift Krylov methods

Inner-outer iteration:

ms FOM ms FGMRES

j = j + 1

early truncation

coll. residuals

All details can be found in,

ReferenceM. Baumann and M.B. van Gijzen. Nested Krylov methods for shiftedlinear systems. SISC Copper Mountain Special Section 2014 [Accepted].

M. Baumann () Krylov methods for shifted linear systems 9 / 20

Page 22: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Multi-shift FOM as inner method

Classical result: In FOM, the residuals are

rj = b− Axj = ... = −hj+1,jeTj yjvj+1.

Thus, for the shifted residuals it holds:

r(ω)j = b− (A− ωI )x(ω)j = ... = −h(ω)j+1,je

Tj y

(ω)j vj+1,

which gives γ = y(ω)j /yj .

ReferenceV. Simoncini, Restarted full orthogonalization method for shifted linearsystems. BIT Numerical Mathematics, 43 (2003).

M. Baumann () Krylov methods for shifted linear systems 10 / 20

Page 23: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Flexible multi-shift GMRES as outer method

Use flexible GMRES in the outer loop,

(A− ωI )Vm = Vm+1H(ω)m ,

where one column yields

(A− ωI )P(ω)−1j vj︸ ︷︷ ︸inner loop

= Vm+1h(ω)j , 1 ≤ j ≤ m.

The “inner loop” is the truncated solution of (A− ωI ) withright-hand side vj using msFOM.

M. Baumann () Krylov methods for shifted linear systems 11 / 20

Page 24: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Flexible multi-shift GMRES as outer method

Use flexible GMRES in the outer loop,

(A− ωI )Vm = Vm+1H(ω)m ,

where one column yields

(A− ωI )P(ω)−1j vj︸ ︷︷ ︸inner loop

= Vm+1h(ω)j , 1 ≤ j ≤ m.

The “inner loop” is the truncated solution of (A− ωI ) withright-hand side vj using msFOM.

M. Baumann () Krylov methods for shifted linear systems 11 / 20

Page 25: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Flexible multi-shift GMRES

The inner residuals are:

r(ω)j = vj − (A− ωI )P(ω)−1j vj ,

rj = vj − AP−1j vj ,

Imposing r(ω)j = γrj yields:

(A− ωI )P(ω)−1j vj = γAP−1j vj − (γ − 1)vj (∗)

Note that the right-hand side in (∗) is a preconditioned shiftedsystem!

M. Baumann () Krylov methods for shifted linear systems 12 / 20

Page 26: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Flexible multi-shift GMRES

The inner residuals are:

r(ω)j = vj − (A− ωI )P(ω)−1j vj ,

rj = vj − AP−1j vj ,

Imposing r(ω)j = γrj yields:

(A− ωI )P(ω)−1j vj = γAP−1j vj − (γ − 1)vj (∗)

Note that the right-hand side in (∗) is a preconditioned shiftedsystem!

M. Baumann () Krylov methods for shifted linear systems 12 / 20

Page 27: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Flexible multi-shift GMRES

Altogether,

(A− ωI )P(ω)−1j vj = Vm+1h(ω)j

γAP−1j vj − (γ − 1)vj = Vm+1h(ω)j

γVm+1hj − Vm+1 (γ − 1) ej = Vm+1h(ω)j

Vm+1

(γhj − (γ − 1) ej

)= Vm+1h

(ω)j

which yields:

H(ω)m = (Hm − Im) Γm + Im,

with Γm := diag(γ1, ..., γm).

M. Baumann () Krylov methods for shifted linear systems 13 / 20

Page 28: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Flexible multi-shift GMRES

Altogether,

(A− ωI )P(ω)−1j vj = Vm+1h(ω)j

γAP−1j vj − (γ − 1)vj = Vm+1h(ω)j

γVm+1hj − Vm+1 (γ − 1) ej = Vm+1h(ω)j

Vm+1

(γhj − (γ − 1) ej

)= Vm+1h

(ω)j

which yields:

H(ω)m = (Hm − Im) Γm + Im,

with Γm := diag(γ1, ..., γm).

M. Baumann () Krylov methods for shifted linear systems 13 / 20

Page 29: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Flexible multi-shift GMRES

Altogether,

(A− ωI )P(ω)−1j vj = Vm+1h(ω)j

γAP−1j vj − (γ − 1)vj = Vm+1h(ω)j

γVm+1hj − Vm+1 (γ − 1) ej = Vm+1h(ω)j

Vm+1

(γhj − (γ − 1) ej

)= Vm+1h

(ω)j

which yields:

H(ω)m = (Hm − Im) Γm + Im,

with Γm := diag(γ1, ..., γm).

M. Baumann () Krylov methods for shifted linear systems 13 / 20

Page 30: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Flexible multi-shift GMRES

Altogether,

(A− ωI )P(ω)−1j vj = Vm+1h(ω)j

γAP−1j vj − (γ − 1)vj = Vm+1h(ω)j

γVm+1hj − Vm+1 (γ − 1) ej = Vm+1h(ω)j

Vm+1

(γhj − (γ − 1) ej

)= Vm+1h

(ω)j

which yields:

H(ω)m = (Hm − Im) Γm + Im,

with Γm := diag(γ1, ..., γm).

M. Baumann () Krylov methods for shifted linear systems 13 / 20

Page 31: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Flexible multi-shift GMRES

Altogether,

(A− ωI )P(ω)−1j vj = Vm+1h(ω)j

γAP−1j vj − (γ − 1)vj = Vm+1h(ω)j

γVm+1hj − Vm+1 (γ − 1) ej = Vm+1h(ω)j

Vm+1

(γhj − (γ − 1) ej

)= Vm+1h

(ω)j

which yields:

H(ω)m = (Hm − Im) Γm + Im,

with Γm := diag(γ1, ..., γm).

M. Baumann () Krylov methods for shifted linear systems 13 / 20

Page 32: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Geophysical applicationsThe model

The time-harmonic elastic wave equation

For many (angular) frequencies ωk , we solve

−ω2kρ(x)u−∇ · σ(u, cp, cs) = s, x ∈ Ω ⊂ R2,3,

together with absorbing or reflecting boundary conditions.

Inverse (discrete) Fourier transform:

u(x, t) =∑k

u(x, ωk)e iωk t

M. Baumann () Krylov methods for shifted linear systems 14 / 20

Page 33: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Geophysical applicationsDiscretization

The discretized time-harmonic elastic wave equation isquadratic in ωk :

(K + iωkC − ω2kM)u = s,

which can be re-arranged as,[(iM−1C M−1K

I 0

)− ωk

(I 00 I

)](ωk uu

)=

(M−1s

0

).

The latter is of the form:

(A− ωk I )xk = b, k = 1, ...,N.

M. Baumann () Krylov methods for shifted linear systems 15 / 20

Page 34: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Geophysical applicationsDiscretization

The discretized time-harmonic elastic wave equation isquadratic in ωk :

(K + iωkC − ω2kM)u = s,

which can be re-arranged as,[(iM−1C M−1K

I 0

)− ωk

(I 00 I

)](ωk uu

)=

(M−1s

0

).

The latter is of the form:

(A− ωk I )xk = b, k = 1, ...,N.

M. Baumann () Krylov methods for shifted linear systems 15 / 20

Page 35: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

A first example - The setting

Test case from literature:

Ω = [0, 1]× [0, 1]

h = 0.01 implyingn = 10.201 grid points

system size:4n = 40.804

N = 6 frequencies

point source at center

Reference

T. Airaksinen, A. Pennanen, and J. Toivanen, A dampingpreconditioner for time-harmonic wave equations in fluid and elasticmaterial. Journal of Computational Physics, 2009.

M. Baumann () Krylov methods for shifted linear systems 16 / 20

Page 36: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

A first example - Convergence behavior (1/2)

Preconditioned multi-shift GMRES:

0 10 20 30 40 50 60 70 80 90 100 110−9

−8

−7

−6

−5

−4

−3

−2

−1

0

# iterations

Rela

tive r

esid

ual norm

multi−shift GMRES convergence

f = 5,000f = 10,000f = 15,000f = 20,000f = 25,000f = 30,000

We observe:

simultaneoussolve

CPU time:17.71s

M. Baumann () Krylov methods for shifted linear systems 17 / 20

Page 37: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

A first example - Convergence behavior (2/2)

Preconditioned nested FOM-FGMRES:

0 5 10 15 20 25 30−2.5

−2

−1.5

−1

−0.5

0

0.5

1

# iterations

Re

lative

re

sid

ua

l n

orm

Inner msFOM convergence

f = 5,000f = 10,000f = 15,000f = 20,000f = 25,000f = 30,000

0 1 2 3 4 5 6 7−10

−9

−8

−7

−6

−5

−4

−3

−2

−1

0

# iterations

Re

lative

re

sid

ua

l n

orm

Outer msGMRES convergence

f = 5,000f = 10,000f = 15,000f = 20,000f = 25,000f = 30,000

We observe:

30 inner iterations

truncate when innerresidual norm ∼ 0.1

very few outeriterations

CPU time: 9.62s

M. Baumann () Krylov methods for shifted linear systems 18 / 20

Page 38: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Summary

3 Nested Krylov methods for Ax = b are widely used→ extension to shifted linear systems is possible

3 Multiple combinations of inner-outer methods possible,e.g. FOM-FGMRES, IDR-FQMRIDR, ...

3 The shift-and-invert preconditioner (or the polynomialpreconditioner) can be applied on top

? At the moment: Multiple right-hand sides (withK. Soodhalter, U Linz)

M. Baumann () Krylov methods for shifted linear systems 19 / 20

Page 39: SIAM Student Chapter Delft - Shi(f)t happens - - Krylov methods … · 2020-06-17 · Shi(f)t happens - Krylov methods for shifted linear systems - M. Baumann;yand M.B. van Gijzeny

Thank you for your attention!

M. Baumann () Krylov methods for shifted linear systems 20 / 20