Feature/copy matrix
Converts a Dune:MultitypeBlockMatrix to a plain BCRS matrix with block size 1x1.
Increases convenience. Nested MultitypeBlockMatrices can be handled as well by passing a std::tuple of std::tuples containing references to the individual sub-matrices (similar to how it is done with Dune:MultitypeBlockVector to construct the MultitypeBlockMatrix).
This even seems to increase performance a bit:
| test_donea old | test_donea new |
|---|---|
| 0.372829 | 0.318897 |
| 0.358279 | 0.295304 |
| 0.434373 | 0.289843 |
| 0.3567 | 0.312524 |
| 0.38054525 | 0.304142 |
TODO
-
create something similar for Dune:MultitypeBlockVector -
use in dumux/mixeddimension
Edited by Kilian Weishaupt