]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Move the declaration of collect_sizes to immediately after reinit(), where it makes...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 1 Aug 2006 15:39:13 +0000 (15:39 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 1 Aug 2006 15:39:13 +0000 (15:39 +0000)
git-svn-id: https://svn.dealii.org/trunk@13570 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/petsc_block_sparse_matrix.h

index 2b511b8e205b1cc0848fa0e1137a5e0fd29b04d3..ac739a64d3264739e050b2450a13ea66af3af9b9 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -166,6 +166,20 @@ namespace PETScWrappers
       void reinit (const unsigned int n_block_rows,
                    const unsigned int n_block_columns);
       
+                                       /**
+                                        * 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 ();
+
                                        /**
                                         * Matrix-vector multiplication:
                                         * let $dst = M*src$ with $M$
@@ -245,20 +259,6 @@ namespace PETScWrappers
       void Tvmult (Vector       &dst,
                    const Vector &src) const;    
 
-                                       /**
-                                        * 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 ();
-
                                        /**
                                         * Make the clear() function in the
                                         * base class visible, though it is

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.