Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python Jupyter Notebook Code Let A be a n n s.p.d. matrix. Given a convergent method based on a matrix M (either l1smoother or the

Python Jupyter Notebook Code

Let A be a n n s.p.d. matrix. Given a convergent method based on a matrix M (either l1smoother or the forward Gauss-Seidel) and consider M^T as well (it will be either the l1-smoother, i.e., M^T = M, or the backward Gauss-Seidel, if M is the forward Gauss-Seidel). We also need the matrix P corresponding to a set of aggregates, i.e., the relation vertex aggregate constructed for the sparsity graph of the sparse matrix A for example by the Lubys algorithm. We also need the coarse matrix Ac = P^T AP . The two-level algorithm requires function that solves equations with Ac (use the LDL^T or LU factorization of the s.p.d. matrix Ac).

image text in transcribed

The symmetric two-level algorithm takes as input a vector r and provides on output r=B-lr, which is defined by the following steps, Solve for y, My=r. Compute coarse r.h.s. r. = PT (r - Ay). Solve the coarse problem for ye, Anye = r. (use LDLT or LU facorization of Ac). . Update y = y + Pye. Solve for correction z, M"z=r - Ay. Update y := y + z. .r=y. The above mapping B-l: r T is referred to as the two-level preconditioner, and B is sometimes denoted Brl. The symmetric two-level algorithm takes as input a vector r and provides on output r=B-lr, which is defined by the following steps, Solve for y, My=r. Compute coarse r.h.s. r. = PT (r - Ay). Solve the coarse problem for ye, Anye = r. (use LDLT or LU facorization of Ac). . Update y = y + Pye. Solve for correction z, M"z=r - Ay. Update y := y + z. .r=y. The above mapping B-l: r T is referred to as the two-level preconditioner, and B is sometimes denoted Brl

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database In Depth Relational Theory For Practitioners

Authors: C.J. Date

1st Edition

0596100124, 978-0596100124

More Books

Students also viewed these Databases questions

Question

1. Signs and symbols of the map Briefly by box ?

Answered: 1 week ago

Question

Types of physical Maps?

Answered: 1 week ago

Question

Explain Intermediate term financing in detail.

Answered: 1 week ago

Question

1. Design an effective socialization program for employees.

Answered: 1 week ago