]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Allow Compressed*SparsityPattern::add() also with const unsigned int *
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Oct 2010 13:18:12 +0000 (13:18 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Oct 2010 13:18:12 +0000 (13:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@22414 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/compressed_simple_sparsity_pattern.cc
deal.II/lac/source/compressed_sparsity_pattern.cc

index 100e7a57bd9f7f8cb6b5569fe54fd953b29824fd..db3404a9e22b97682e043afb2c6c642ea76ef0bd 100644 (file)
@@ -462,6 +462,9 @@ CompressedSimpleSparsityPattern::memory_consumption () const
 template void CompressedSimpleSparsityPattern::Line::add_entries(unsigned int *,
                                                                 unsigned int *,
                                                                 const bool);
+template void CompressedSimpleSparsityPattern::Line::add_entries(const unsigned int *,
+                                                                const unsigned int *,
+                                                                const bool);
 #ifndef DEAL_II_VECTOR_ITERATOR_IS_POINTER
 template void CompressedSimpleSparsityPattern::Line::
 add_entries(std::vector<unsigned int>::iterator,
index 4c1b3b8038fe912d1a7a7169a1dc481d6938ff9f..1883617384dda20cfa15e2b12f65078c06b117e8 100644 (file)
@@ -548,6 +548,9 @@ CompressedSparsityPattern::n_nonzero_elements () const
 template void CompressedSparsityPattern::Line::add_entries(unsigned int *,
                                                           unsigned int *,
                                                           const bool);
+template void CompressedSparsityPattern::Line::add_entries(const unsigned int *,
+                                                          const unsigned int *,
+                                                          const bool);
 #ifndef DEAL_II_VECTOR_ITERATOR_IS_POINTER
 template void CompressedSparsityPattern::Line::
 add_entries(std::vector<unsigned int>::iterator,

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.