SlideShare a Scribd company logo
1 of 1
Download to read offline
Add a ""GAUSS-SEIDEL PRECONDITIONER"" to ""ML"" in the following MATLAB Code:
%Compute RHS and ML once for all
ML = zeros(nbv,1);
Fvx = zeros(nbv,1);
Fvy = zeros(nbv,1);
groundedratio = zeros(nbe,1);
isice = false(nbe,1);
for n=1:nbe
%Lumped mass matrix
for i=1:3
for j=1:3
% int_E phi_i * phi_i dE = A/6 and % int_E phi_i * phi_j dE = A/12
if(i==j)
ML(index(n,j)) = ML(index(n,j))+areas(n)/6;
else
ML(index(n,j)) = ML(index(n,j))+areas(n)/12;
end
end
end

More Related Content

More from info245627

Activity Compose a 5-day nutrition log for a normal week�s food int.pdf
Activity Compose a 5-day nutrition log for a normal week�s food int.pdfActivity Compose a 5-day nutrition log for a normal week�s food int.pdf
Activity Compose a 5-day nutrition log for a normal week�s food int.pdfinfo245627
 
Activity 1 The role of government in promoting business ethics Disc.pdf
Activity 1 The role of government in promoting business ethics Disc.pdfActivity 1 The role of government in promoting business ethics Disc.pdf
Activity 1 The role of government in promoting business ethics Disc.pdfinfo245627
 
Ace Inc. has five employees participating in its defined-benefit pen.pdf
Ace Inc. has five employees participating in its defined-benefit pen.pdfAce Inc. has five employees participating in its defined-benefit pen.pdf
Ace Inc. has five employees participating in its defined-benefit pen.pdfinfo245627
 
Accrued liability for utilities. Account #1 correct Account Type cor.pdf
Accrued liability for utilities. Account #1 correct Account Type cor.pdfAccrued liability for utilities. Account #1 correct Account Type cor.pdf
Accrued liability for utilities. Account #1 correct Account Type cor.pdfinfo245627
 
Accounting Elements Label each of the following accounts as an Asset.pdf
Accounting Elements Label each of the following accounts as an Asset.pdfAccounting Elements Label each of the following accounts as an Asset.pdf
Accounting Elements Label each of the following accounts as an Asset.pdfinfo245627
 
Accounts in a company�s general ledger are divided into different ca.pdf
Accounts in a company�s general ledger are divided into different ca.pdfAccounts in a company�s general ledger are divided into different ca.pdf
Accounts in a company�s general ledger are divided into different ca.pdfinfo245627
 
actuarial science statistics required! Let X be a truncated Poisson .pdf
actuarial science statistics required! Let X be a truncated Poisson .pdfactuarial science statistics required! Let X be a truncated Poisson .pdf
actuarial science statistics required! Let X be a truncated Poisson .pdfinfo245627
 
Acuerdo y desacuerdo entre economistas Suponga que Musashi, un eco.pdf
Acuerdo y desacuerdo entre economistas Suponga que Musashi, un eco.pdfAcuerdo y desacuerdo entre economistas Suponga que Musashi, un eco.pdf
Acuerdo y desacuerdo entre economistas Suponga que Musashi, un eco.pdfinfo245627
 
All of the following contributed to a surge in international lending.pdf
All of the following contributed to a surge in international lending.pdfAll of the following contributed to a surge in international lending.pdf
All of the following contributed to a surge in international lending.pdfinfo245627
 
All of these statements are correct EXCEPT for which of the followin.pdf
All of these statements are correct EXCEPT for which of the followin.pdfAll of these statements are correct EXCEPT for which of the followin.pdf
All of these statements are correct EXCEPT for which of the followin.pdfinfo245627
 
All of the following statements accurately describe manager�employee.pdf
All of the following statements accurately describe manager�employee.pdfAll of the following statements accurately describe manager�employee.pdf
All of the following statements accurately describe manager�employee.pdfinfo245627
 
All of the following explain why spending on healthcare in the Unite.pdf
All of the following explain why spending on healthcare in the Unite.pdfAll of the following explain why spending on healthcare in the Unite.pdf
All of the following explain why spending on healthcare in the Unite.pdfinfo245627
 
Alibaba y el comercio electr�nico de China �Open Sesame� se hace re.pdf
Alibaba y el comercio electr�nico de China �Open Sesame� se hace re.pdfAlibaba y el comercio electr�nico de China �Open Sesame� se hace re.pdf
Alibaba y el comercio electr�nico de China �Open Sesame� se hace re.pdfinfo245627
 
Ali has a small construction company. During the year, he paid Will .pdf
Ali has a small construction company. During the year, he paid Will .pdfAli has a small construction company. During the year, he paid Will .pdf
Ali has a small construction company. During the year, he paid Will .pdfinfo245627
 
Algunos pa�ses tienen una larga tradici�n de soborno de funcionarios.pdf
Algunos pa�ses tienen una larga tradici�n de soborno de funcionarios.pdfAlgunos pa�ses tienen una larga tradici�n de soborno de funcionarios.pdf
Algunos pa�ses tienen una larga tradici�n de soborno de funcionarios.pdfinfo245627
 
Alguien podr�a ayudarme con estas preguntas sobre impuestos 1. Ca.pdf
Alguien podr�a ayudarme con estas preguntas sobre impuestos 1. Ca.pdfAlguien podr�a ayudarme con estas preguntas sobre impuestos 1. Ca.pdf
Alguien podr�a ayudarme con estas preguntas sobre impuestos 1. Ca.pdfinfo245627
 
Alexander es un carpintero de 55 a�os que lleg� a nuestra cl�nica qu.pdf
Alexander es un carpintero de 55 a�os que lleg� a nuestra cl�nica qu.pdfAlexander es un carpintero de 55 a�os que lleg� a nuestra cl�nica qu.pdf
Alexander es un carpintero de 55 a�os que lleg� a nuestra cl�nica qu.pdfinfo245627
 
Aggregate demands downward-sloping character reflects three princip.pdf
Aggregate demands downward-sloping character reflects three princip.pdfAggregate demands downward-sloping character reflects three princip.pdf
Aggregate demands downward-sloping character reflects three princip.pdfinfo245627
 
Alfa corporation is an S corporation. Which of the following stateme.pdf
Alfa corporation is an S corporation. Which of the following stateme.pdfAlfa corporation is an S corporation. Which of the following stateme.pdf
Alfa corporation is an S corporation. Which of the following stateme.pdfinfo245627
 
Alex dirige un equipo de varios profesionales. Es consciente de que .pdf
Alex dirige un equipo de varios profesionales. Es consciente de que .pdfAlex dirige un equipo de varios profesionales. Es consciente de que .pdf
Alex dirige un equipo de varios profesionales. Es consciente de que .pdfinfo245627
 

More from info245627 (20)

Activity Compose a 5-day nutrition log for a normal week�s food int.pdf
Activity Compose a 5-day nutrition log for a normal week�s food int.pdfActivity Compose a 5-day nutrition log for a normal week�s food int.pdf
Activity Compose a 5-day nutrition log for a normal week�s food int.pdf
 
Activity 1 The role of government in promoting business ethics Disc.pdf
Activity 1 The role of government in promoting business ethics Disc.pdfActivity 1 The role of government in promoting business ethics Disc.pdf
Activity 1 The role of government in promoting business ethics Disc.pdf
 
Ace Inc. has five employees participating in its defined-benefit pen.pdf
Ace Inc. has five employees participating in its defined-benefit pen.pdfAce Inc. has five employees participating in its defined-benefit pen.pdf
Ace Inc. has five employees participating in its defined-benefit pen.pdf
 
Accrued liability for utilities. Account #1 correct Account Type cor.pdf
Accrued liability for utilities. Account #1 correct Account Type cor.pdfAccrued liability for utilities. Account #1 correct Account Type cor.pdf
Accrued liability for utilities. Account #1 correct Account Type cor.pdf
 
Accounting Elements Label each of the following accounts as an Asset.pdf
Accounting Elements Label each of the following accounts as an Asset.pdfAccounting Elements Label each of the following accounts as an Asset.pdf
Accounting Elements Label each of the following accounts as an Asset.pdf
 
Accounts in a company�s general ledger are divided into different ca.pdf
Accounts in a company�s general ledger are divided into different ca.pdfAccounts in a company�s general ledger are divided into different ca.pdf
Accounts in a company�s general ledger are divided into different ca.pdf
 
actuarial science statistics required! Let X be a truncated Poisson .pdf
actuarial science statistics required! Let X be a truncated Poisson .pdfactuarial science statistics required! Let X be a truncated Poisson .pdf
actuarial science statistics required! Let X be a truncated Poisson .pdf
 
Acuerdo y desacuerdo entre economistas Suponga que Musashi, un eco.pdf
Acuerdo y desacuerdo entre economistas Suponga que Musashi, un eco.pdfAcuerdo y desacuerdo entre economistas Suponga que Musashi, un eco.pdf
Acuerdo y desacuerdo entre economistas Suponga que Musashi, un eco.pdf
 
All of the following contributed to a surge in international lending.pdf
All of the following contributed to a surge in international lending.pdfAll of the following contributed to a surge in international lending.pdf
All of the following contributed to a surge in international lending.pdf
 
All of these statements are correct EXCEPT for which of the followin.pdf
All of these statements are correct EXCEPT for which of the followin.pdfAll of these statements are correct EXCEPT for which of the followin.pdf
All of these statements are correct EXCEPT for which of the followin.pdf
 
All of the following statements accurately describe manager�employee.pdf
All of the following statements accurately describe manager�employee.pdfAll of the following statements accurately describe manager�employee.pdf
All of the following statements accurately describe manager�employee.pdf
 
All of the following explain why spending on healthcare in the Unite.pdf
All of the following explain why spending on healthcare in the Unite.pdfAll of the following explain why spending on healthcare in the Unite.pdf
All of the following explain why spending on healthcare in the Unite.pdf
 
Alibaba y el comercio electr�nico de China �Open Sesame� se hace re.pdf
Alibaba y el comercio electr�nico de China �Open Sesame� se hace re.pdfAlibaba y el comercio electr�nico de China �Open Sesame� se hace re.pdf
Alibaba y el comercio electr�nico de China �Open Sesame� se hace re.pdf
 
Ali has a small construction company. During the year, he paid Will .pdf
Ali has a small construction company. During the year, he paid Will .pdfAli has a small construction company. During the year, he paid Will .pdf
Ali has a small construction company. During the year, he paid Will .pdf
 
Algunos pa�ses tienen una larga tradici�n de soborno de funcionarios.pdf
Algunos pa�ses tienen una larga tradici�n de soborno de funcionarios.pdfAlgunos pa�ses tienen una larga tradici�n de soborno de funcionarios.pdf
Algunos pa�ses tienen una larga tradici�n de soborno de funcionarios.pdf
 
Alguien podr�a ayudarme con estas preguntas sobre impuestos 1. Ca.pdf
Alguien podr�a ayudarme con estas preguntas sobre impuestos 1. Ca.pdfAlguien podr�a ayudarme con estas preguntas sobre impuestos 1. Ca.pdf
Alguien podr�a ayudarme con estas preguntas sobre impuestos 1. Ca.pdf
 
Alexander es un carpintero de 55 a�os que lleg� a nuestra cl�nica qu.pdf
Alexander es un carpintero de 55 a�os que lleg� a nuestra cl�nica qu.pdfAlexander es un carpintero de 55 a�os que lleg� a nuestra cl�nica qu.pdf
Alexander es un carpintero de 55 a�os que lleg� a nuestra cl�nica qu.pdf
 
Aggregate demands downward-sloping character reflects three princip.pdf
Aggregate demands downward-sloping character reflects three princip.pdfAggregate demands downward-sloping character reflects three princip.pdf
Aggregate demands downward-sloping character reflects three princip.pdf
 
Alfa corporation is an S corporation. Which of the following stateme.pdf
Alfa corporation is an S corporation. Which of the following stateme.pdfAlfa corporation is an S corporation. Which of the following stateme.pdf
Alfa corporation is an S corporation. Which of the following stateme.pdf
 
Alex dirige un equipo de varios profesionales. Es consciente de que .pdf
Alex dirige un equipo de varios profesionales. Es consciente de que .pdfAlex dirige un equipo de varios profesionales. Es consciente de que .pdf
Alex dirige un equipo de varios profesionales. Es consciente de que .pdf
 

Recently uploaded

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 

Recently uploaded (20)

Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 

Add a GAUSS-SEIDEL PRECONDITIONER to ML in the following MAT.pdf

  • 1. Add a ""GAUSS-SEIDEL PRECONDITIONER"" to ""ML"" in the following MATLAB Code: %Compute RHS and ML once for all ML = zeros(nbv,1); Fvx = zeros(nbv,1); Fvy = zeros(nbv,1); groundedratio = zeros(nbe,1); isice = false(nbe,1); for n=1:nbe %Lumped mass matrix for i=1:3 for j=1:3 % int_E phi_i * phi_i dE = A/6 and % int_E phi_i * phi_j dE = A/12 if(i==j) ML(index(n,j)) = ML(index(n,j))+areas(n)/6; else ML(index(n,j)) = ML(index(n,j))+areas(n)/12; end end end