Solve Poisson Problem with Finite Difference using parallelization
Mostrar comentarios más antiguos
Hi, I am trying to solve the poisson problem with finite difference. However, depending on the grid size, the calculation may take time. That's why I want to using parallelism. I already solved this problem using and I would like to do it on matlab. Is there any way in matlab to solve two subproblems in parallel that need to communicate with each other?
Thank you
Respuesta aceptada
Más respuestas (1)
Ahmet Cecen
el 8 de Ag. de 2014
1 voto
Poisson equation boils down to a simple Ax=b problem. If you have the parallel computing toolbox, using mldivide (or the plain \ operator) will automatically exploit all available threads. Otherwise, I would look into 3rd party MP/MPI implementations for MATLAB.
3 comentarios
Kilian Thomas
el 8 de Ag. de 2014
Editada: Kilian Thomas
el 8 de Ag. de 2014
Ahmet Cecen
el 8 de Ag. de 2014
Gauss Seidel is an iterative method to solve LINEAR problems of the exact form Ax=b. Your problem is very much linear. The choice of not using mldivide is I am guessing due to the fact that you are interested in a transient solution rather than steady state, which was not clear in your question.
Kilian Thomas
el 8 de Ag. de 2014
Categorías
Más información sobre Programming en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!