From f1d7f34acc34586bb931defd98c488d50539246c Mon Sep 17 00:00:00 2001 From: kronbichler Date: Fri, 3 Apr 2009 12:35:07 +0000 Subject: [PATCH] Add sparsity patterns to is_block_matrix type. git-svn-id: https://svn.dealii.org/trunk@18544 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/lac/block_vector_copy.cc | 1 + tests/lac/is_block_matrix.cc | 15 +++++++++++++++ tests/lac/is_block_matrix/cmp/generic | 4 +++- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/tests/lac/block_vector_copy.cc b/tests/lac/block_vector_copy.cc index 35d7dd453a..c4d437b9a7 100644 --- a/tests/lac/block_vector_copy.cc +++ b/tests/lac/block_vector_copy.cc @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/lac/is_block_matrix.cc b/tests/lac/is_block_matrix.cc index ab0c932af4..5d5998f16c 100644 --- a/tests/lac/is_block_matrix.cc +++ b/tests/lac/is_block_matrix.cc @@ -15,6 +15,11 @@ #include "../tests.h" #include #include +#include +#include +#include +#include +#include #include #include @@ -42,6 +47,16 @@ void test () << IsBlockMatrix >::value << ' ' << IsBlockMatrix >::value << ' ' << IsBlockMatrix >::value << std::endl; + + deallog << IsBlockMatrix::value << ' ' + << IsBlockMatrix::value << ' ' + << IsBlockMatrix::value << ' ' + << IsBlockMatrix::value << std::endl; + + deallog << IsBlockMatrix::value << ' ' + << IsBlockMatrix::value << ' ' + << IsBlockMatrix::value << ' ' + << IsBlockMatrix::value << std::endl; } diff --git a/tests/lac/is_block_matrix/cmp/generic b/tests/lac/is_block_matrix/cmp/generic index 4fb8dd8477..8c8305ceee 100644 --- a/tests/lac/is_block_matrix/cmp/generic +++ b/tests/lac/is_block_matrix/cmp/generic @@ -1,3 +1,5 @@ -JobId unknown Sat Mar 28 23:18:30 2009 + +DEAL::0 0 0 0 +DEAL::1 1 1 1 DEAL::0 0 0 0 DEAL::1 1 1 1 -- 2.39.5