Before using PETSc, I tried the simple way: sol = A^-1 * rhs, where sol and rhs are 2D arrays. Then I extract each solution as sol(:, i). However, the solution obtained this way are completely wrong unless rhs has only 1 column. For example, one solution looks like this:
Jade
17
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Parallel implementation of a problem with multiple right hand sides | 7 | 561 | January 17, 2022 | |
| Schwarz algorithm in Parallel | 3 | 105 | February 7, 2025 | |
| Poisson equation with Lagrange multipliers in parallel | 2 | 88 | April 17, 2025 | |
| Question for parallelization in FreeFem | 5 | 491 | February 23, 2023 | |
| Automatic parallel | 4 | 481 | April 28, 2021 |
