Skip to content
Snippets Groups Projects
Commit 35456167 authored by Dominic Kempf's avatar Dominic Kempf
Browse files

[Testsystem] Change test systems to allow easy use of different allocators

The current ISTL test system relies heavily on test problems generated
with setupAnisotropic2d() from dune/istl/paamg/anisotropic.hh . The code
there was written in a fashion that forbid the use of an allocator different
than std::allocator on the BcrsMatrix.

This patch fixes this issue by giving the matrix type as template parameter
to the matrix setup instead of blocksize and fieldtype. This also makes
code easier to read. All (hopefully) tests in ISTL are adpated to the change.
parent 3f85c53d
No related branches found
No related tags found
No related merge requests found
Showing with 40 additions and 44 deletions
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