]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Grant access to index objects.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 May 2000 14:10:02 +0000 (14:10 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 May 2000 14:10:02 +0000 (14:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@2878 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 4ffdf16814afff3e86594c8b2078873b1e77a24a..7a46e28a0768b4fa4a347b3282032ca2aa9253b4 100644 (file)
@@ -127,6 +127,24 @@ class BlockSparsityPattern : public Subscriptor
     const SparsityPattern &
     block (const unsigned int row,
           const unsigned int column) const;    
+
+                                    /**
+                                     * Grant access to the object
+                                     * describing the distribution of
+                                     * row indices to the individual
+                                     * blocks.
+                                     */
+    const BlockIndices<rows> &
+    get_row_indices () const;
+
+                                    /**
+                                     * Grant access to the object
+                                     * describing the distribution of
+                                     * column indices to the individual
+                                     * blocks.
+                                     */
+    const BlockIndices<columns> &
+    get_column_indices () const;
     
                                     /**
                                      * This function compresses the
@@ -305,6 +323,26 @@ BlockSparsityPattern<rows,columns>::block (const unsigned int row,
 
 
 
+template <int rows, int columns>
+inline
+const BlockIndices<rows> &
+BlockSparsityPattern<rows,columns>::get_row_indices () const
+{
+  return row_indices;
+};
+
+
+
+template <int rows, int columns>
+inline
+const BlockIndices<columns> &
+BlockSparsityPattern<rows,columns>::get_column_indices () const
+{
+  return column_indices;
+};
+
+
+
 template <int rows, int columns>
 inline
 void

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.