-
- Downloads
[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.
Showing
- dune/istl/paamg/construction.hh 5 additions, 5 deletionsdune/istl/paamg/construction.hh
- dune/istl/paamg/test/amgtest.cc 1 addition, 1 deletiondune/istl/paamg/test/amgtest.cc
- dune/istl/paamg/test/anisotropic.hh 14 additions, 18 deletionsdune/istl/paamg/test/anisotropic.hh
- dune/istl/paamg/test/fastamg.cc 1 addition, 1 deletiondune/istl/paamg/test/fastamg.cc
- dune/istl/paamg/test/galerkintest.cc 1 addition, 1 deletiondune/istl/paamg/test/galerkintest.cc
- dune/istl/paamg/test/graphtest.cc 10 additions, 10 deletionsdune/istl/paamg/test/graphtest.cc
- dune/istl/paamg/test/hierarchytest.cc 1 addition, 1 deletiondune/istl/paamg/test/hierarchytest.cc
- dune/istl/paamg/test/kamgtest.cc 1 addition, 1 deletiondune/istl/paamg/test/kamgtest.cc
- dune/istl/paamg/test/parallelamgtest.cc 1 addition, 1 deletiondune/istl/paamg/test/parallelamgtest.cc
- dune/istl/paamg/test/pthreadamgtest.cc 1 addition, 1 deletiondune/istl/paamg/test/pthreadamgtest.cc
- dune/istl/paamg/test/pthreadtwoleveltest.cc 1 addition, 1 deletiondune/istl/paamg/test/pthreadtwoleveltest.cc
- dune/istl/paamg/test/twolevelmethodtest.cc 1 addition, 1 deletiondune/istl/paamg/test/twolevelmethodtest.cc
- dune/istl/test/matrixmarkettest.cc 1 addition, 1 deletiondune/istl/test/matrixmarkettest.cc
- dune/istl/test/matrixredisttest.cc 1 addition, 1 deletiondune/istl/test/matrixredisttest.cc
Loading
Please register or sign in to comment