From 888657093ec8e6e96b22ff4a9092e15ad297e18d Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 5 May 2000 15:59:52 +0000 Subject: [PATCH] Update forgotten comment. git-svn-id: https://svn.dealii.org/trunk@2807 0785d39b-7218-0410-832d-ea1e28bc413d --- .../lac/include/lac/block_sparsity_pattern.h | 34 ++++++++++++------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/deal.II/lac/include/lac/block_sparsity_pattern.h b/deal.II/lac/include/lac/block_sparsity_pattern.h index c70a3a50a8..2363c2ec54 100644 --- a/deal.II/lac/include/lac/block_sparsity_pattern.h +++ b/deal.II/lac/include/lac/block_sparsity_pattern.h @@ -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::operator = (const BlockSparsityPattern -inline -SparsityPattern & -BlockSparsityPattern::block (const unsigned int row, - const unsigned int column) -{ - return sub_objects[row][column]; -}; - - - - template void BlockSparsityPattern::collect_sizes () @@ -336,6 +333,17 @@ BlockSparsityPattern::collect_sizes () +template +inline +SparsityPattern & +BlockSparsityPattern::block (const unsigned int row, + const unsigned int column) +{ + return sub_objects[row][column]; +}; + + + template inline const SparsityPattern & -- 2.39.5