Introduction to Scientific Computing II

Slides:



Advertisements
Similar presentations
Numerical Solution of Linear Equations
Advertisements

Parallel Jacobi Algorithm Steven Dong Applied Mathematics.
Linear System Remark: Remark: Remark: Example: Solve:
CSCI-455/552 Introduction to High Performance Computing Lecture 25.
Scientific Computing Lab Results Worksheet 3 Dr. Miriam Mehl Institut für Informatik Scientific Computing in Computer Science.
Linear Systems of Equations
Rayan Alsemmeri Amseena Mansoor. LINEAR SYSTEMS Jacobi method is used to solve linear systems of the form Ax=b, where A is the square and invertible.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 3 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
Special Matrices and Gauss-Siedel
1 Systems of Linear Equations Iterative Methods. 2 B. Iterative Methods 1.Jacobi method and Gauss Seidel 2.Relaxation method for iterative methods.
1 Systems of Linear Equations Iterative Methods. 2 B. Direct Methods 1.Jacobi method and Gauss Seidel 2.Relaxation method for iterative methods.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 20 Solution of Linear System of Equations - Iterative Methods.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 19 Solution of Linear System of Equations - Iterative Methods.
Special Matrices and Gauss-Siedel
1 Iterative Solution Methods Starts with an initial approximation for the solution vector (x 0 ) At each iteration updates the x vector by using the sytem.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 11.
Introduction to Scientific Computing II From Gaussian Elimination to Multigrid – A Recapitulation Dr. Miriam Mehl.
Lecture 7 - Systems of Equations CVEN 302 June 17, 2002.
Elliptic PDEs and the Finite Difference Method
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 3- Chapter 12 Iterative Methods.
Introduction to Scientific Computing II Overview Michael Bader.
Introduction to Scientific Computing II Multigrid Dr. Miriam Mehl Institut für Informatik Scientific Computing In Computer Science.
Introduction to Scientific Computing II Multigrid Dr. Miriam Mehl.
Introduction to Scientific Computing II
Part 3 Chapter 12 Iterative Methods
Scientific Computing Lab Organization Dr. Miriam Mehl Institut für Informatik Scientific Computing in Computer Science.
Linear System expensive p=[0,0.2,0.4,0.45,0.5,0.55,0.6,0.8,1]; t=[1:8; 2:9]; e=[1,9]; n = length(p); % number of nodes m = size(t,2); % number of elements.
Iterative Solution Methods
Part 3 Chapter 12 Iterative Methods
Scientific Computing Lab
Solving Systems of Linear Equations: Iterative Methods
بسم الله الرحمن الرحيم.
Gauss-Siedel Method.
Numerical Analysis Lecture12.
Scientific Computing Lab
Iterative Methods Good for sparse matrices Jacobi Iteration
Introduction to Scientific Computing II
Pressure Poisson Equation
Scientific Computing Lab
Introduction to Scientific Computing II
Matrix Methods Summary
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Stencil Quiz questions
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Stencil Quiz questions
Numerical Analysis Lecture13.
Scientific Computing Lab
Numerical Linear Algebra
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Introduction to Scientific Computing II
Engineering Analysis ENG 3420 Fall 2009
Introduction: Asymptotic Notation
ITERATIVE METHODS Prepared by, Dr. L. Benedict Michael Raj
Chapter 11 Chapter 11.
Numerical Analysis Lecture11.
Linear Algebra Lecture 16.
Numerical Modeling Ramaz Botchorishvili
Home assignment #3 (1) (Total 3 problems) Due: 12 November 2018
Ax = b Methods for Solution of the System of Equations:
Ax = b Methods for Solution of the System of Equations (ReCap):
Presentation transcript:

Introduction to Scientific Computing II From Gaussian Elimination to Relaxation Methods Dr. Miriam Mehl

Typical SLE sparse band structure

Example

Gaussian Elimination

Gaussian Elimination

Gaussian Elimination

Gaussian Elimination

Gaussian Elimination

Gaussian Elimination

Gaussian Elimination

Gaussian Elimination

Gaussian Elimination (LU)

Gaussian Elimination (LU)

Gaussian Elimination (LU)

Gaussian Elimination (LU)

Gaussian Elimination (LU)

Gaussian Elimination (LU)

Gaussian Elimination (LU)

Gaussian Elimination (LU)

Gaussian Elimination (LU)

Gaussian Elimination – Costs

Gaussian Elimination – Costs O(1/h)2

Gaussian Elimination – Costs O(1/h)2*(1/h)2

Gaussian Elimination – Costs O(1/h)2*(1/h)2 + O(1/h)

Gaussian Elimination – Costs O(1/h)2*(1/h)2 + O(1/h)*(1/h)2

Gaussian Elimination – Costs O(1/h)2*(1/h)2 + O(1/h)*(1/h)2 + O(1/h)

Gaussian Elimination – Costs O(1/h)2*(1/h)2 + O(1/h)*(1/h)2 + O(1/h)*(1/h)2

Gaussian Elimination – Costs 2D: O(1/h)4 3D: O(1/h)7

Gaussian Elimination – Costs 2D h runtime (HLRB2, 62 TFlop/s) 2-7 0.02 sec 2-8 0.27 sec 2-9 4.4 sec 2-10 1 min 16 sec 2-11 18 min 55 sec 2-12 5 h 02 min 40 sec 2-13 3 d 8 h 37 min 15 sec hallo

Gaussian Elimination – Costs 3D hallo h runtime (HLRB2, 62 TFlop/s) 2-6 4 min 44 sec 2-7 10 h 05 min 24 sec 2-8 53 d 19 h 21 min 17 sec 2-9 18 a 313 d 21 h 54 min 22 sec

Iterative Solvers – Principle series of approximations costs per iteration? convergence? stopping criterion?

Relaxation Methods – Gauss-Seidel

Relaxation Methods – Jacobi