+template <>
+void copy_with_offdiagonals_1<CompressedSparsityPattern> ()
+{
+ // this sparsity pattern doesn't have this
+ // function
+ deallog << "OK" << std::endl;
+}
+
+
+
+template <>
+void copy_with_offdiagonals_1<CompressedSetSparsityPattern> ()
+{
+ // this sparsity pattern doesn't have this
+ // function
+ deallog << "OK" << std::endl;
+}
+
+
+
template <typename SP>
void copy_with_offdiagonals_2 ()
{
+template <>
+void copy_with_offdiagonals_2<CompressedSparsityPattern> ()
+{
+ // this sparsity pattern doesn't have this
+ // function
+ deallog << "OK" << std::endl;
+}
+
+
+
+template <>
+void copy_with_offdiagonals_2<CompressedSetSparsityPattern> ()
+{
+ // this sparsity pattern doesn't have this
+ // function
+ deallog << "OK" << std::endl;
+}
+
+
+
void
do_copy_from (const std::list<std::set<unsigned int,std::greater<unsigned int> > > &sparsity,
SparsityPattern &sp4)
}
+template <>
+void matrix_position<CompressedSparsityPattern> ()
+{
+ // this class doesn't have that function
+ deallog << "OK" << std::endl;
+}
+
+
+
template <typename SP>
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<sparsity_pattern.n_rows(); ++i)
deallog << "OK" << std::endl;
}
-
+
+
+template <>
+void block_read_write<CompressedSparsityPattern> ()
+{
+ // not implemented for this sparsity
+ // pattern
+ deallog << "OK" << std::endl;
+}
+
+