]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update forgotten comment.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 5 May 2000 15:59:52 +0000 (15:59 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 5 May 2000 15:59:52 +0000 (15:59 +0000)
git-svn-id: https://svn.dealii.org/trunk@2807 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/block_sparsity_pattern.h

index c70a3a50a81dba3854d42870fb0a81c5878e5b6a..2363c2ec54ddf6f8db288b2f639731b6a65f69b7 100644 (file)
@@ -85,7 +85,16 @@ class BlockSparsityPattern : public Subscriptor
     BlockSparsityPattern & operator = (const BlockSparsityPattern &);
 
                                     /**
-                                     *
+                                     * This function collects the
+                                     * sizes of the sub-objects and
+                                     * stores them in internal
+                                     * arrays, in order to be able to
+                                     * relay global indices into the
+                                     * matrix to indices into the
+                                     * subobjects. You *must* call
+                                     * this function each time after
+                                     * you have changed the size of
+                                     * the sub-objects.
                                      */
     void collect_sizes ();
     
@@ -285,18 +294,6 @@ BlockSparsityPattern<rows,columns>::operator = (const BlockSparsityPattern<rows,
   
 
 
-template <int rows, int columns>
-inline
-SparsityPattern &
-BlockSparsityPattern<rows,columns>::block (const unsigned int row,
-                                          const unsigned int column)
-{
-  return sub_objects[row][column];
-};
-
-
-
-
 template <int rows, int columns>
 void
 BlockSparsityPattern<rows,columns>::collect_sizes ()
@@ -336,6 +333,17 @@ BlockSparsityPattern<rows,columns>::collect_sizes ()
 
 
 
+template <int rows, int columns>
+inline
+SparsityPattern &
+BlockSparsityPattern<rows,columns>::block (const unsigned int row,
+                                          const unsigned int column)
+{
+  return sub_objects[row][column];
+};
+
+
+
 template <int rows, int columns>
 inline
 const SparsityPattern &

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.