]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Get the list of friends of a class right after a recent change.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 4 Feb 2014 22:26:40 +0000 (22:26 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 4 Feb 2014 22:26:40 +0000 (22:26 +0000)
git-svn-id: https://svn.dealii.org/trunk@32410 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/matrix_block.h

index 591f8991803d162a54dc3ba65fca224b264805d4..938b9cf60f6b17f2a144d177862a7e3d309c7f66 100644 (file)
@@ -37,11 +37,13 @@ namespace internal
 {
   template <class MATRIX>
   void
-  reinit(MatrixBlock<MATRIX> &v, const BlockSparsityPattern &p);
+  reinit(MatrixBlock<MATRIX> &v,
+        const BlockSparsityPattern &p);
 
   template <typename number>
   void
-  reinit(MatrixBlock<dealii::SparseMatrix<number> > &, const BlockSparsityPattern &);
+  reinit(MatrixBlock<dealii::SparseMatrix<number> > &v,
+        const BlockSparsityPattern &p);
 }
 
 /**
@@ -369,6 +371,7 @@ public:
    * The matrix itself
    */
   MATRIX matrix;
+
 private:
   /**
    * The rwo BlockIndices of the
@@ -389,7 +392,14 @@ private:
   BlockIndices column_indices;
 
   template <class OTHER_MATRIX>
-  friend void internal::reinit(MatrixBlock<OTHER_MATRIX> &, const BlockSparsityPattern &);
+  friend
+  void dealii::internal::reinit(MatrixBlock<OTHER_MATRIX> &,
+                               const BlockSparsityPattern &);
+
+  template <typename number>
+  friend
+  void internal::reinit(MatrixBlock<dealii::SparseMatrix<number> > &v,
+                         const BlockSparsityPattern &p);
 };
 
 
@@ -691,7 +701,8 @@ namespace internal
 {
   template <class MATRIX>
   void
-  reinit(MatrixBlock<MATRIX> &v, const BlockSparsityPattern &p)
+  reinit(MatrixBlock<MATRIX> &v,
+        const BlockSparsityPattern &p)
   {
     v.row_indices = p.get_row_indices();
     v.column_indices = p.get_column_indices();
@@ -700,7 +711,8 @@ namespace internal
 
   template <typename number>
   void
-  reinit(MatrixBlock<dealii::SparseMatrix<number> > &v, const BlockSparsityPattern &p)
+  reinit(MatrixBlock<dealii::SparseMatrix<number> > &v,
+        const BlockSparsityPattern &p)
   {
     v.row_indices = p.get_row_indices();
     v.column_indices = p.get_column_indices();

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.