• Keine Ergebnisse gefunden

How can the eigenvalues of the iteration matrix be bounded? 2

N/A
N/A
Protected

Academic year: 2021

Aktie "How can the eigenvalues of the iteration matrix be bounded? 2"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Parallel Solution of Large Sparse Linear Systems, SS 2015 Exercise sheet 2

Prof. Dr. Peter Bastian, Marian Piatkowski Deadline May 25, 2015

IWR, Universit¨at Heidelberg

EXERCISE3 ADJACENCY MATRIX

LetI be an index set andRĂIˆIa symmetric and reflexive relation with maxi |tj:pi, jq PRu| ďK

Define the associated MatrixEvia

pEqij :“

#

1 pi, jq PR 0 sonst

Show that||E||2ďK. 5 Points

EXERCISE4 OPTIMAL PARAMETER FOR THERICHARDSON ITERATION

LetAbe a symmetric and positive definite Matrix. The Richardson iteration is given by xk`1 “xk`ωpb´Axkq.

Assume that the minimal and maximal eigenvalueλminandλmaxofAare known.

1. How can the eigenvalues of the iteration matrix be bounded?

2. Determine the optimal relaxation parameterωoptand the corresponding spectral radius.

5 Points

EXERCISE5 DEPENDENCE OF LINEAR SOLVER CONVERGENCE ON THE INITIAL DATA

To obtain the latest software version, go to yourdune-parsolvedirectory and type:

$ git stash

$ git pull

$ git stash pop

In this exercise we want to consider the Laplace equation with homogeneous Dirichlet boundary conditions

´∆u“0 inΩ“ p0,1q2 ĂR2,

u“0 aufBΩ.

The solution obviously readsu“0. We are going to make use of it in order to study the convergence behaviour of the linear solvers by specifying different starting vectors‰0.

The code skeleton for the exercise is provided in the fileuebungen/uebung02/uebung02.cc. The program solves the Laplace equation with the starting vectoru1px, yqdefined below doing one Jacobi iteration. The program has been already prepared such that it creates VTK-outputs of the ite- rates calculated by the linear solvers in order to visualize the distribution of the error with ParaView.

(2)

In the filesrc/tutorial/istl.cc of thedune-parsolvemodule you will find some more linear solver and preconditioner objects created. In general, linear iterative methods such as the Jacobi and Gauss-Seidel iteration can be used as stand-alone iterations or as preconditioners. Using them as stand-alone iterations is accomplished by the classLoopSolverwhich simply applies the method in every iteration and checks the convergence criterion.

Modify the fileuebung02.ccsuch that it creates VTK-outputs for the following combination of linear solvers, starting vectors and number of iterations:

• Solvers: Jacobi, Gauss-Seidel, Steepest Descent and Conjugate Gradient

• Starting vectors: Given by the functions u1px, yq “1,

u2px, yq “cosp10xq `sinp10yq, u3px, yq “cosp100xq `sinp100yq

• Number of iterations: 1, 10 or 100 iterations

Examine the convergence rate of the linear solvers. Does the initial data have an influence on the

convergence? 10 Points

Referenzen

ÄHNLICHE DOKUMENTE

These configurations of MiniSAT are denoted by ¬CL (no clause learning), ¬RST (no restarts), ¬2WL (counter-based BCP), and ¬VSIDS) (DLIS branching). Our reference for comparison was

stock prices. It is generally accepted, by both proponents and opponents of shareholder-value ideology, that corporate executives in the United States have

In the case of gapped BLG, since even at B = 0 the normal incident transmission is finite in the studied energy range with finite u, there already exist trajectories which go through

of the second order nite volume schemes based on the approximate evolution operator E bil in.. and estimate the

Measurements have been done on polycrystalline antimony films deposited by thermal evaporation onto potasium bromide discs... This agrees with the

[r]

and Lipscomb, 2008) where adding a pseudo-elastic term reduces the time

The same statistics are reported for the benchmark portfolios based on composite forecasts (i.e., the single assets of which the portfolios are constructed and the equally