From: Matthias Maier Date: Thu, 6 Apr 2017 20:38:05 +0000 (-0500) Subject: Remove ProductSparseMatrix test X-Git-Tag: v9.0.0-rc1~1724^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9aede594c1b68cb94b6973dbc6076387b886e19a;p=dealii.git Remove ProductSparseMatrix test --- diff --git a/tests/lac/matrix_lib.cc b/tests/lac/matrix_lib.cc deleted file mode 100644 index bab667a1c3..0000000000 --- a/tests/lac/matrix_lib.cc +++ /dev/null @@ -1,101 +0,0 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 2005 - 2015 by the deal.II authors -// -// This file is part of the deal.II library. -// -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE at -// the top level of the deal.II distribution. -// -// --------------------------------------------------------------------- - - - -#include "../tests.h" -#include -#include -#include -#include -#include - -#include -#include -#include - -template -void check_sparse_product(const SparseMatrix &m1, SparseMatrix &m2) -{ - Vector v(m2.n()); - Vector w(m1.m()); - deallog << "Sizes\t" << v.size() << '\t' << w.size() << std::endl; - - for (unsigned int i=0; i > mem; - - ProductSparseMatrix product(m1, m2, mem); - - product.vmult(w,v); - for (unsigned int i=0; i m1(sparsity1); - SparseMatrix m2(sparsity2); - - for (unsigned int i=0; i<2; ++i) - for (unsigned int j=0; j<3; ++j) - { - m1.set(i, j, 1.*i-j); - m2.set(j, i, 1.*i-j); - m2.set(j, 2+i, 1.*j-i); - } - check_sparse_product(m1, m2); -} diff --git a/tests/lac/matrix_lib.output b/tests/lac/matrix_lib.output deleted file mode 100644 index 9409127953..0000000000 --- a/tests/lac/matrix_lib.output +++ /dev/null @@ -1,7 +0,0 @@ - -DEAL::Sizes 4 2 -DEAL:: 1. 2. 3. 4. -DEAL:: -14. -8. -DEAL:: -28. -16. -DEAL:: -172. -88. 172. 88. -DEAL:: -344. -176. 344. 176.