From 7fe5b9ba84a73361469cf79bae5f10eb828dc089 Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 17 May 2000 14:10:02 +0000 Subject: [PATCH] Grant access to index objects. git-svn-id: https://svn.dealii.org/trunk@2878 0785d39b-7218-0410-832d-ea1e28bc413d --- .../lac/include/lac/block_sparsity_pattern.h | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/deal.II/lac/include/lac/block_sparsity_pattern.h b/deal.II/lac/include/lac/block_sparsity_pattern.h index 4ffdf16814..7a46e28a07 100644 --- a/deal.II/lac/include/lac/block_sparsity_pattern.h +++ b/deal.II/lac/include/lac/block_sparsity_pattern.h @@ -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 & + get_row_indices () const; + + /** + * Grant access to the object + * describing the distribution of + * column indices to the individual + * blocks. + */ + const BlockIndices & + get_column_indices () const; /** * This function compresses the @@ -305,6 +323,26 @@ BlockSparsityPattern::block (const unsigned int row, +template +inline +const BlockIndices & +BlockSparsityPattern::get_row_indices () const +{ + return row_indices; +}; + + + +template +inline +const BlockIndices & +BlockSparsityPattern::get_column_indices () const +{ + return column_indices; +}; + + + template inline void -- 2.39.5