Please consider reading @dokken solution on this post Conversion from array to PETSc and from PETSc to array.
violetus
5
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Can't define the test and trial functions for RT element | 13 | 664 | June 8, 2023 | |
| Trial and test functions of mixed Nedelec and Lagrange element | 4 | 583 | September 28, 2021 | |
| Mixed Finite element ValueError too many values to unpack | 2 | 318 | October 17, 2022 | |
| Assertion error while using functionspace with MixedElement | 4 | 185 | July 24, 2024 | |
| Problem when combining test and trial functions from different spaces | 4 | 2183 | November 15, 2021 |