Write parallel programs to solve Laplace’s equation using each of the following three ways: 1. Standard Jacobi iteration 2. Red-black iteration 3. Multigrid Jacobi iteration Use a 256 × 256 mesh of...


Write parallel programs to solve Laplace’s equation using each of the following three ways: 1. Standard Jacobi iteration 2. Red-black iteration 3. Multigrid Jacobi iteration Use a 256 × 256 mesh of points initialized along the four edges to 10.0, 5.0, 10.0, and 5.0. Stop iterations when the differences between iteration values are all less than 0.01. Use 16 processes. For the standard and red-black iteration methods, partition the problem into 16 columns of 16 × 256 points each, one column for each of the 16 processes. For the multigrid iteration, start with a grid size of 16 × 16 and increase the grid size by a factor of 2 every 10 iterations until the maximum grid size is reached. Continue iterations until the solution is obtained. Experiment with other coarse-to-fine strategies.



May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here