]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Merge pull request #7766 from davydden/feature/refactor_sparsity_pattern
authorDenis Davydov <davydden@gmail.com>
Thu, 21 Mar 2019 21:06:48 +0000 (22:06 +0100)
committerGitHub <noreply@github.com>
Thu, 21 Mar 2019 21:06:48 +0000 (22:06 +0100)
split SparsityPattern into a base class and derived class with a spec…

1  2 
source/lac/sparsity_pattern.cc

index 6b4bb1a1f4760935465131612f8dfacbc86d75d9,ee331f9ead2766877db70928f0d92e993cf21791..7a084e8c5b55e612a2de2be5812019f3ddf5034c
@@@ -600,11 -586,11 +585,11 @@@ SparsityPattern::copy_from(const FullMa
  
  
  void
- SparsityPattern::reinit(const size_type                  m,
-                         const size_type                  n,
-                         const std::vector<unsigned int> &row_lengths)
+ SparsityPatternBase::reinit(const size_type                  m,
+                             const size_type                  n,
+                             const std::vector<unsigned int> &row_lengths)
  {
 -  reinit(m, n, make_slice(row_lengths));
 +  reinit(m, n, make_array_view(row_lengths));
  }
  
  

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.