*/
void reinit (const std::vector< unsigned int > &row_block_sizes,
const std::vector< unsigned int > &col_block_sizes);
-
- /**
- * Allow the use of the reinit
- * functions of the base class as
- * well.
- */
- BlockSparsityPatternBase<CompressedSparsityPattern>::reinit;
};
*/
void reinit (const std::vector< unsigned int > &row_block_sizes,
const std::vector< unsigned int > &col_block_sizes);
-
- /**
- * Allow the use of the reinit
- * functions of the base class as
- * well.
- */
- BlockSparsityPatternBase<CompressedSetSparsityPattern>::reinit;
};
const std::vector< unsigned int > &row_block_sizes,
const std::vector< unsigned int > &col_block_sizes)
{
- this->reinit(row_block_sizes.size(), col_block_sizes.size());
+ BlockSparsityPatternBase<CompressedSparsityPattern>::reinit(row_block_sizes.size(), col_block_sizes.size());
for (unsigned int i=0;i<row_block_sizes.size();++i)
for (unsigned int j=0;j<col_block_sizes.size();++j)
this->block(i,j).reinit(row_block_sizes[i],col_block_sizes[j]);
const std::vector< unsigned int > &row_block_sizes,
const std::vector< unsigned int > &col_block_sizes)
{
- this->reinit(row_block_sizes.size(), col_block_sizes.size());
+ BlockSparsityPatternBase<CompressedSetSparsityPattern>::reinit(row_block_sizes.size(), col_block_sizes.size());
for (unsigned int i=0;i<row_block_sizes.size();++i)
for (unsigned int j=0;j<col_block_sizes.size();++j)
this->block(i,j).reinit(row_block_sizes[i],col_block_sizes[j]);