Skip to content
Snippets Groups Projects
Commit 07b05428 authored by Carsten Gräser's avatar Carsten Gräser
Browse files

Make FastAMG work with non-blocked matrices

The internal operations of `FastAMG` assumed that the entries
of the matrix are vectors are matrices and vectors themselves
by making use of the dune matrix and vector interfaces. As a
consequence `FastAMG` cannot be used with `BCRSMatrix<double>`
in contrast to `BCRSMatrix<FieldMatrix<double,1,1>>`.

This patch introduces `IsNumber`-based switches in the respective
places that use plain arithmetic operators if the matrix/vector
is not blocked thus adds the missing support for e.g. `BCRSMatrix<double>`.
parent 8de016aa
No related branches found
No related tags found
1 merge request!600Make FastAMG work with non-blocked matrices
Pipeline #76046 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment