From 0e61d878b88c45876a3794fceaaa6e97edd99aee Mon Sep 17 00:00:00 2001 From: maier Date: Wed, 3 Jul 2013 09:01:46 +0000 Subject: [PATCH] Adapt the first three tests in tests/umfpack to test for the transpose as well. git-svn-id: https://svn.dealii.org/trunk@29924 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/umfpack/umfpack_01.cc | 15 ++++++++++++--- tests/umfpack/umfpack_01/cmp/generic | 24 ++++++++++++++++++++++++ tests/umfpack/umfpack_02.cc | 14 +++++++++++--- tests/umfpack/umfpack_02/cmp/generic | 24 ++++++++++++++++++++++++ tests/umfpack/umfpack_03.cc | 15 ++++++++++++--- tests/umfpack/umfpack_03/cmp/generic | 24 ++++++++++++++++++++++++ 6 files changed, 107 insertions(+), 9 deletions(-) diff --git a/tests/umfpack/umfpack_01.cc b/tests/umfpack/umfpack_01.cc index 7aa5b088b7..246ff8044e 100644 --- a/tests/umfpack/umfpack_01.cc +++ b/tests/umfpack/umfpack_01.cc @@ -12,6 +12,7 @@ //---------------------------------------------------------------------- // test the umfpack sparse direct solver on a mass matrix +// test of the transpose as well #include "../tests.h" #include @@ -39,7 +40,7 @@ template -void test () +void test (bool transpose = false) { deallog << dim << 'd' << std::endl; @@ -84,9 +85,13 @@ void test () for (unsigned int j=0; j @@ -39,7 +40,7 @@ template -void test () +void test (bool transpose = false) { deallog << dim << 'd' << std::endl; @@ -101,9 +102,13 @@ void test () for (unsigned int j=0; j