From ac3800f8b8e13fba587cb75475f6876bcc9c92af Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 6 Apr 2017 16:15:20 -0500 Subject: [PATCH] Tests: Remove TransposeMatrix test --- tests/lac/pointer_matrix.cc | 16 ++-------------- tests/lac/pointer_matrix.output | 10 ---------- 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/tests/lac/pointer_matrix.cc b/tests/lac/pointer_matrix.cc index f2439c1df4..63d015dd13 100644 --- a/tests/lac/pointer_matrix.cc +++ b/tests/lac/pointer_matrix.cc @@ -14,13 +14,12 @@ // --------------------------------------------------------------------- -// Test vmult and Tvmult of PointerMatrix and TransposeMatrix +// Test vmult and Tvmult of PointerMatrix #include "../tests.h" #include -#include -#include #include +#include #include #include @@ -37,7 +36,6 @@ int main() A(i,j) = ++k; PointerMatrix, Vector > P(&A, "P"); - TransposeMatrix, Vector > T(&A, "T"); Vector x(5); Vector y(5); @@ -53,21 +51,11 @@ int main() diff = y; diff.add(-1., y2); deallog << "P.vmult: diff " << diff.l2_norm() << std::endl; - T.Tvmult(y2,x); - diff = y; - diff.add(-1., y2); - deallog << "T.Tvmult: diff " << diff.l2_norm() << std::endl; A.Tvmult(y,x); P.Tvmult(y2,x); diff = y; diff.add(-1., y2); deallog << "P.Tvmult: diff " << diff.l2_norm() << std::endl; - T.vmult(y2,x); - diff = y; - diff.add(-1., y2); - deallog << "T.vmult: diff " << diff.l2_norm() << std::endl; - - } } diff --git a/tests/lac/pointer_matrix.output b/tests/lac/pointer_matrix.output index 5550dd3a49..ed5f77b2b5 100644 --- a/tests/lac/pointer_matrix.output +++ b/tests/lac/pointer_matrix.output @@ -1,21 +1,11 @@ DEAL::P.vmult: diff 0.00000 -DEAL::T.Tvmult: diff 0.00000 DEAL::P.Tvmult: diff 0.00000 -DEAL::T.vmult: diff 0.00000 DEAL::P.vmult: diff 0.00000 -DEAL::T.Tvmult: diff 0.00000 DEAL::P.Tvmult: diff 0.00000 -DEAL::T.vmult: diff 0.00000 DEAL::P.vmult: diff 0.00000 -DEAL::T.Tvmult: diff 0.00000 DEAL::P.Tvmult: diff 0.00000 -DEAL::T.vmult: diff 0.00000 DEAL::P.vmult: diff 0.00000 -DEAL::T.Tvmult: diff 0.00000 DEAL::P.Tvmult: diff 0.00000 -DEAL::T.vmult: diff 0.00000 DEAL::P.vmult: diff 0.00000 -DEAL::T.Tvmult: diff 0.00000 DEAL::P.Tvmult: diff 0.00000 -DEAL::T.vmult: diff 0.00000 -- 2.39.5