From: bangerth Date: Thu, 31 Jul 2008 17:37:36 +0000 (+0000) Subject: Adjust X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f1005f240a20246f21c92345e5191d89804de01;p=dealii-svn.git Adjust git-svn-id: https://svn.dealii.org/trunk@16469 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/lac/sparsity_pattern_common.h b/tests/lac/sparsity_pattern_common.h index e5895fd985..60264d5994 100644 --- a/tests/lac/sparsity_pattern_common.h +++ b/tests/lac/sparsity_pattern_common.h @@ -158,6 +158,26 @@ void copy_with_offdiagonals_1 () +template <> +void copy_with_offdiagonals_1 () +{ + // this sparsity pattern doesn't have this + // function + deallog << "OK" << std::endl; +} + + + +template <> +void copy_with_offdiagonals_1 () +{ + // this sparsity pattern doesn't have this + // function + deallog << "OK" << std::endl; +} + + + template void copy_with_offdiagonals_2 () { @@ -190,6 +210,26 @@ void copy_with_offdiagonals_2 () +template <> +void copy_with_offdiagonals_2 () +{ + // this sparsity pattern doesn't have this + // function + deallog << "OK" << std::endl; +} + + + +template <> +void copy_with_offdiagonals_2 () +{ + // this sparsity pattern doesn't have this + // function + deallog << "OK" << std::endl; +} + + + void do_copy_from (const std::list > > &sparsity, SparsityPattern &sp4) @@ -469,6 +509,15 @@ void matrix_position () } +template <> +void matrix_position () +{ + // this class doesn't have that function + deallog << "OK" << std::endl; +} + + + template void block_read_write () { @@ -491,8 +540,6 @@ void block_read_write () // sparsity_pattern and sp5 deallog << sparsity_pattern.n_rows() - sp5.n_rows() << ' ' << sparsity_pattern.n_cols() - sp5.n_cols() << ' ' - << (sparsity_pattern.is_compressed() ^ sp5.is_compressed()) << ' ' - << (sparsity_pattern.is_compressed() ^ sp5.is_compressed()) << ' ' << std::endl; for (unsigned int i=0; i +void block_read_write () +{ + // not implemented for this sparsity + // pattern + deallog << "OK" << std::endl; +} + +