From de2be52db3de9260aaee971090979f2fa8c01981 Mon Sep 17 00:00:00 2001 From: "dakshina.ilangova" Date: Sat, 8 Mar 2014 19:40:25 +0000 Subject: [PATCH] Deleted old files product_matrix_01.cc and product_matrix_01.output git-svn-id: https://svn.dealii.org/trunk@32627 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/lac/product_matrix_01.cc | 80 ------------------------------ tests/lac/product_matrix_01.output | 3 -- 2 files changed, 83 deletions(-) delete mode 100644 tests/lac/product_matrix_01.cc delete mode 100644 tests/lac/product_matrix_01.output diff --git a/tests/lac/product_matrix_01.cc b/tests/lac/product_matrix_01.cc deleted file mode 100644 index 271998feb9..0000000000 --- a/tests/lac/product_matrix_01.cc +++ /dev/null @@ -1,80 +0,0 @@ -// --------------------------------------------------------------------- -// $Id$ -// -// Copyright (C) 2014 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. -// -// --------------------------------------------------------------------- - - -// check ProductMatrix::vmult - - -#include "../tests.h" -#include -#include -#include -#include - -#include -#include -#include - -template -void -check() -{ - const double Adata[] = - { - 2, 3, - 4, 5 - }; - - const double Bdata[] = - { - 0, 1, - 2, 3 - }; - - - FullMatrix A(2,2); - FullMatrix B(2,2); - - A.fill(Adata); - B.fill(Bdata); - - GrowingVectorMemory > mem; - - ProductMatrix > AB(A,B,mem); - - Vector u(2); - Vector v(2); - - u(0) = 1.; - u(1) = 2.; - - AB.vmult(v,u); - - deallog << v(0) << '\t' << v(1) << std::endl; -} - - -int main() -{ - std::ofstream logfile("output"); - deallog << std::setprecision(4); - deallog.attach(logfile); - deallog.depth_console(0); - deallog.threshold_double(1.e-10); - - check(); - check(); -} diff --git a/tests/lac/product_matrix_01.output b/tests/lac/product_matrix_01.output deleted file mode 100644 index bb1ca41d09..0000000000 --- a/tests/lac/product_matrix_01.output +++ /dev/null @@ -1,3 +0,0 @@ - -DEAL::28.00 48.00 -DEAL::28.00 48.00 -- 2.39.5